This only applies for AS2..
Okay, so you've followed the instructions for setting a dynamically created mask on a dynamically created movie clip, bus alas, the mask failed to work. If your aim is to load an external swf or image into the "maskee" movie clip, and use a "masker" movie clip to mask the "maskee", then I'm sorry, that would never ever work.
The workaround for this is to create a container movie clip to hold the loader, and apply the mask onto the container. Try it, it'll work!
Showing posts with label Adobe Flash Tips. Show all posts
Showing posts with label Adobe Flash Tips. Show all posts
Wednesday, December 08, 2010
Tuesday, November 09, 2010
Security Error when uploading files using AS3
If you've tried to use absolute pathing and are flabbergasted as to why your uploads still don't work, most probably you are getting security error.
"But I've checked that my path is correct!", you might say... Take a quick look at the URL that you have in the browser, and the URL that u put in the file reference for upload. Do you see an extra "www" in one of the URLs? There you go...
Make sure you do a redirection to the correct page first before loading the flash upload app! Or to make things simpler, use relative paths... (Then again, that has another whole set of problems that you might encounter..)
"But I've checked that my path is correct!", you might say... Take a quick look at the URL that you have in the browser, and the URL that u put in the file reference for upload. Do you see an extra "www" in one of the URLs? There you go...
Make sure you do a redirection to the correct page first before loading the flash upload app! Or to make things simpler, use relative paths... (Then again, that has another whole set of problems that you might encounter..)
Tags:
Adobe Flash Tips
Subscribe to:
Posts
(
Atom
)