It is possible to play an external SWF file in your application with Flash Haxx, or at least it should be. I can give it a try.
Printable View
It is possible to play an external SWF file in your application with Flash Haxx, or at least it should be. I can give it a try.
It needs to be internal really, but thanks anyways Looki.
All i've been doing for sponsors is stripping out the sounds and images from the .fla files they give me and replicating it all in MMF. Hasn't been a problem so far as the two i've done haven't been too complicated.
Assuming that a few of us start getting sponsored regularly it may be worth starting up a little repository with sponsors preloaders in a .mfa file.
Steve
I could also read it from the embedded binary data, if that's what you want.
EDIT: :blush: Sounds like you don't! Never mind then.
aren't any of the sponsors mad that their links always get blocked by popup blockers? or is there a way around this now?
(normally in flash you can actively click something and get a popup, but when its passive code it usually gets blocked, and the way mmf code works its always passive.. if that made any sense)
There seems to be a solution , but it doesn't work at the moment, at least for me :(
I found it as well in the flash haxx thread, it works perfectly for me :D
i used the exact code from this example: openurl.mfa
just replace the push parameter from string url and change the mouse pointer is over active to whatever active you need to click or a 'mouse within zone' event.
I don't have a problem with the code, MMF can't build the SWF, it just states that a problem occured. My MMF doesn't like the FlashHaxx Object itself.
I'll be releasing an update to FlashHaxx before too long.
you actually need this file too: http://jamie.aquadasoft.com/flex-config.xml
It's a replacement for the one in Data\Runtime\Flash\Flex\frameworks
(from jamie)
then you can build your .swf :)
I always use the Flash object to open a page in a new window and it always works without fail. If I open in the current window it doesn't work though.