Be a Supporter!

As2 variable in As3 environment

  • 333 Views
  • 2 Replies
New Topic Respond to this Topic
rerun-matt
rerun-matt
  • Member since: Jul. 25, 2011
  • Offline.
Forum Stats
Member
Level 01
Blank Slate
As2 variable in As3 environment Sep. 29th, 2012 @ 07:36 AM Reply

I have loaded an as2 swf into an as3 project as I need a function only available in as3 and am trying to avoid re-coding the whole lot.

The swf loads and plays perfectly fine.

I now need a variable on the last frame of the loaded as2 swf so that the as3 swf knows when to go to the next frame. Is it possible for an as3 file to get a variable from a loaded swf file?

thanks!

DannyDaNinja
DannyDaNinja
  • Member since: Mar. 14, 2010
  • Offline.
Forum Stats
Member
Level 04
Game Developer
Response to As2 variable in As3 environment Oct. 2nd, 2012 @ 03:33 AM Reply

I don't think you can do that, then again I could be wrong :\
Unless some guy comes in here with a miracle solution you'll just have to recode it all, which shouldn't be a problem if you love coding :D


Trying to post in topics that have no replies. Trust me it's a horrible feeling when nobody replies to your topic :{

MintPaw
MintPaw
  • Member since: Jun. 11, 2006
  • Offline.
Forum Stats
Member
Level 10
Programmer
Response to As2 variable in As3 environment Oct. 2nd, 2012 @ 11:19 AM Reply

It's not easy but you can check out SWFBridge


If ya have something to say, PM me. I have a lot of time to spare.
Also never PM egg82.

BBS Signature