311 Posts in 83 Topics by 149 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1418 Views |
-
Where to place my action script files and XMLs

16 May 2010 at 3:03pm
Hi,
I've got a flash file called "menu.swf", and it calls an external ActionScript file "linkButton.as". I uploaded the menu.swf through the upload functionality, so now it's sitting in assets/upload. I then insert it into one of the pages, but when I preview the published page, the files shows blank.
It appears that the menu.swf is loaded, but it can't locate the linkButton.as. Where should I be placing the linkButton.as? I tried putting it in mysite folder, asset/upload (same level as menu.swf) and just the root folder with no avail, can someone help?
Regards
Rolf
-
Re: Where to place my action script files and XMLs

17 May 2010 at 6:45am
hi,
assets/upload should work, does firebug give any errors when getting the file?
i'm not sure but isn't the as file being used when compiling your swf file only or
is it needed to run the swf? -
Re: Where to place my action script files and XMLs

17 May 2010 at 10:12am
Hi,
The as file is required externally to run some other classes. I've had a few more goes with this, and I think the problem might be the URL rewrite, like when I insert an image, I noticed that new images were created in the "_resampled" folder, if I place my swf manually under that folder it'll work, but otherwise it won't. Anywayz, I'll give it a few more goes, thank you so much for helping out.
-
Re: Where to place my action script files and XMLs

20 July 2010 at 1:44am
hay im trying to do the same thing with a flv movie did you have any luck
| 1418 Views | ||
|
Page:
1
|
Go to Top |


