markblue777
10-03-2008, 09:17 AM
Hi all,
I have a problem with the [Embed(source = "")] function (in as3 developing in flex 3)
When i embed i do [Embed(source = "/../img/Havana.swf")]
So i am therefore goin back a directory and looking in an img folder. obviously i dont want this to happen as i want it to be [Embed(source = "img/Havana.swf")] so it looks in the current directory it is in. But when i do this it just does not find the files to embed (even though the files and folder is there) and it just crashes. Any thoughts?
Regards
Mark
I have a problem with the [Embed(source = "")] function (in as3 developing in flex 3)
When i embed i do [Embed(source = "/../img/Havana.swf")]
So i am therefore goin back a directory and looking in an img folder. obviously i dont want this to happen as i want it to be [Embed(source = "img/Havana.swf")] so it looks in the current directory it is in. But when i do this it just does not find the files to embed (even though the files and folder is there) and it just crashes. Any thoughts?
Regards
Mark