[web] Help with swfupload.
The flash button that the samples use does not match my layout, I want to use a standard input button to trigger the open file window then upload the image and display it but how do I trigger it from an input button?
Are you trying to give an upload ability in your Flash swf or just from a webpage?
If in Flash, you can draw your button however you want and use the File object to do your uploading.
If on a webpage, use the file upload control.
Happy coding.
If in Flash, you can draw your button however you want and use the File object to do your uploading.
If on a webpage, use the file upload control.
Happy coding.
Actually I would prefer to directly call the File Open Dialog, is there a way to do this with java script?
Then I can just use an OnClick event, completely by pass swfupload, only display a given type of file and by pass the need for flash.
Then I can just use an OnClick event, completely by pass swfupload, only display a given type of file and by pass the need for flash.
Outside of Flash, I'm pretty sure you're limited to using the FileUpload control for prompting users with the file open dialog. Even within Flash you must utilize a particular control to allow an upload to occur.
In the web environment, the developer is not allowed to have access to the user's harddrive without their knowledge.
I'm sure you understand the security considerations.
Happy coding!
In the web environment, the developer is not allowed to have access to the user's harddrive without their knowledge.
I'm sure you understand the security considerations.
Happy coding!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement