glidealong
02-07-2008, 05:48 PM
Hello all,
I am not sure if my post fits a flex forum. but then if it doesn't fit here it wont fit any place either.
I am working on an AIR application which integrates works of different people in our team. The different types of work consits of HTML pages, javascript code, flex movies(swf). There are two things in which I am stuck.
1. I want to embed my swf into the html page and invoke certain methods registered with ExternalInterface.adCallback api. I tried the normal <object> and <embed> tags and the script method to put the swf into the html. I can' detect the swf object to invoke the method callbacks.
2.This is a bit more confusing. I'll try to explain myself clear. I build an AIR application by importing a flex application as an swc, into an AIR project using flex builder. Once my swf is ready in the bin folder i take this swf into my master air project in aptana, since i want a combination of html,javascript,swf in the final application. But the issue is that i cannot see the component i imported into the air application in flex builder. But if i embed an swf movie created as a flex project, it works fine.
Is there anything wrong in my work flow? . it seems i am over engineering things. but i dont see any other obvious way of getting what i want.
Thanks in advance
Added: Thank you for moving the post to the appropriate forum. i missed this forum in the first place.
I am not sure if my post fits a flex forum. but then if it doesn't fit here it wont fit any place either.
I am working on an AIR application which integrates works of different people in our team. The different types of work consits of HTML pages, javascript code, flex movies(swf). There are two things in which I am stuck.
1. I want to embed my swf into the html page and invoke certain methods registered with ExternalInterface.adCallback api. I tried the normal <object> and <embed> tags and the script method to put the swf into the html. I can' detect the swf object to invoke the method callbacks.
2.This is a bit more confusing. I'll try to explain myself clear. I build an AIR application by importing a flex application as an swc, into an AIR project using flex builder. Once my swf is ready in the bin folder i take this swf into my master air project in aptana, since i want a combination of html,javascript,swf in the final application. But the issue is that i cannot see the component i imported into the air application in flex builder. But if i embed an swf movie created as a flex project, it works fine.
Is there anything wrong in my work flow? . it seems i am over engineering things. but i dont see any other obvious way of getting what i want.
Thanks in advance
Added: Thank you for moving the post to the appropriate forum. i missed this forum in the first place.