Can an AS1/2 swf loaded via Loader class tell the main movie (AS3) that it has run to the end of its timeline?

If I load an external swf:
my_loader.load(new URLRequest("abc.swf"));
addChild(my_loader);
abc.swf starts playing - how do I get it to tell the main movie that it reached the end of its timeline and finished playing?  Added bonus: the loaded swf is AS1 and the main movie is AS3.  I'm not sure if I could convert the loaded swf to AS3.
Thanks,
Sean

I have not used this component but it may work for you:
http://www.jumpeyecomponents.com/Flash-Components/Various/ActionScript-Bridge-91/

Similar Messages

  • How does a loaded swf talk back to the main movie?

    Hi,
    I'm new to as3 and have troubles finding the right path for
    swfs to "talk" to one another.
    In my movie, I load an swf "news.swf" into a mc called
    container_mc.
    At one point I want to swap the "news.swf" to "ueberuns.swf"
    via button click in my main movie, but not directly: "news.swf" has
    a frame labeled "out", which builds down some elements over appr.
    20 frames. In the last frame of "news.swf", I want "news.swf" to
    either load the next "ueberuns.swf" into that same container_mc of
    my main movie or have my main movie find out that "news.swf" is
    through with it's last frame and then throw out "news.swf" and put
    "ueberuns.swf" in that container_mc.
    I already found out that I address "news.swf" by the
    following code:
    if (newsLaden.content != null) {
    newsLaden.content.gotoAndPlay("out");
    where newsLaden is the Loaders name. But how do I get
    "news.swf" to reply?
    Anyone can help? Thanks a lot!
    Cheers, Karl

    This is one of the biggest problems of AS3 as communication
    between swfs, levels, and nested MCs has taken a completely
    different path than the previous 9 versions of Flash. Both Erick's
    and TheWabbit's suggestions will work but I sort of follow Erick's
    approach as LocalConnection is the perfect fit for .swfs
    communicating in the same HTML page not for nested. The key is
    defining the timelines of MovieClips in each class when you want to
    tell them to do something.
    Try tera's example and see if that helps but if you
    understand Erick's approach keep going. I just wanted to add that
    you have to start thinking about defining the MCs you want to
    communicate with in each Object Class file such as:
    var _root:MovieClip = new MovieClip(parent);
    and then you can always sort of define who you want to talk
    to a bit easier.
    THIS REALLY REALLY SUCKS for those of us who have been with
    Flash since version 2 because they took away one of the best and
    easiest things to do (but I'm glad telltarget is gone!! lol). Now I
    fear people are going to start throwing everything back into one
    LARGE SWF again thereby undoing all the work we in the Flash
    community did in the first ten years to define 'best practices'
    and_levels definitely was one of them along with an 'actions'
    layer. I think Adobe's programmers who joined the Macromedia guys
    led the product somewhere it didn't necessarily need to go. The
    problem is many didn't know how to use the Flash Community's Best
    practices. They were new to Flash.

  • Calling a function in the main movie from a loaded swf

    I realize this is probably a very basic question, but I have
    loaded a SWF file into another movie. I now want to call a function
    in the main SWF. Is there a way to do that? Alternatively, I have a
    custom class where I could put the function, but I haven't been
    able to figure out how to call it from the loaded SWF either. Do I
    somehow need to associate the class with the main movie,
    or...?

    Never mind - I was doing something very stupid and wasn't
    calling the function as a method of a movie clip. I was simply
    calling checkTarget(event) rather than
    event.currentTarget.checkTarget(event); which seems to work.

  • ITunes randomly stops playing purchases that have previously viewed on the same hardware. It has an error message about HD. How can this issue be resolved?  What information is available besides the "learn more" option that does not deal with the problem?

    iTunes randomly stops playing purchases that have previously viewed on the same hardware. It has an error message about HD. How can this issue be resolved?  What information is available besides the "learn more" option that does not deal with the problem?
    Many people have the same problem. However, there is little or nothing readily available to users. This problem has existed for two or more years. Does anyone have anything to offer about this disturbing problem?

    Thanks for the suggestion kcell. I've tried both versions
    9.0.115 and 9.0.124 and both fail with the policy permission error.
    I also tried with and without your crossdomain.xml file but
    with the same result. It looks like this file is intended for URL
    policy, instead of socket policy. Recently Adobe separated the two.
    When I run with the files installed on my dev PC, it does
    work, which makes sense because the flash player isn't loaded from
    an unknown domain.
    I did get one step closer. If a crossdomain.xml in the server
    root exists and the socketpolicy file is loaded from the app folder
    then the first two warnings disappear. The logs now show:
    OK: Root-level SWF loaded:
    https://192.168.2.5/trunk/myapp.swf
    OK: Policy file accepted: https://192.168.2.5/crossdomain.xml
    OK: Policy file accepted:
    https://192.168.2.5/trunk/socketpolicy.xml
    Warning: Timeout on xmlsocket://192.168.2.5:843 (at 3
    seconds) while waiting for socket policy file. This should not
    cause any problems, but see
    http://www.adobe.com/go/strict_policy_files
    for an explanation.
    Warning: [strict] Ignoring policy file with incorrect syntax:
    xmlsocket://192.168.2.5:993
    Error: Request for resource at xmlsocket://192.168.2.5:993 by
    requestor from https://192.168.2.5/trunk/myapp.swf is denied due to
    lack of policy file permissions.
    Which basically says, everything is okay, but you stay out
    anyway.
    PS: I found the XML schema files here:
    http://www.adobe.com/devnet/flashplayer/articles/fplayer9_security_02.html
    and the socket policy schema:
    http://www.adobe.com/xml/schemas/PolicyFileSocket.xsd.
    UPDATE: When serving up the policy file on port 843 using the
    example perl script then the socket connection seems to be accepted
    and the connect succeeds. After that flex hangs trying to logon to
    the IMAP server.

  • Firefox just started to do this if on one user account someone has firefox running another user account on the same computer can not connect to the internet through firefox while firefox is running in the first user account

    Windows XP/Windows 7
    2 user accounts on the computer. If each acct is logged into the computer and tries to have firefox running only one can connect to the internet at a time. Have Verizon FIOS for ISP and this just started to occur. Firefox version 8 but also happening in firefox 6.0.2. How can we run firefox in two computer accts at the same time? Thank you

    I am having exactly the same problem. This worked on all versions of Firefox up until mid last week. It started failing on Wednesday, coincident with the installation of Firefox 8.0 (see attached gif showing the automatic update on that date).
    To fix the problem, you have to shut down Firefox 8.0 on one account, switch to the other account and then you can run it there.
    If Firefox 8.0 is running on on account, the other account will run Firefox, but when you enter an URL it waits for quite a while then reports "The connection was reset. The connection was reset while the page was loading".
    We also use Thunderbird 8.0 and it does not exhibit this problem, and works at the same time as Firefox 8.0. I suspect they might share some components.
    I'd be happy to supply more details if needed.
    Thanks,
    Ed

  • Can not receive Mac mail -error Outlook cannot find the server. Verify the server information is entered correctly in the Account Settings, and that your DNS settings in the Network pane of System Preferences are correct.  Account name: "MacMail"

    Can not receive Mac mail -error Outlook cannot find the server. Verify the server information is entered correctly in the Account Settings, and that your DNS settings in the Network pane of System Preferences are correct.  Account name: "MacMail"
    What are the correct mail account settings and more importantly the correct DNS settings
    Thank you for any help you may be able to provide
    Cheers
    Chris (iMac i7)

    Do not delete the old account yet. sign up for an iCloud account if you haven't.
    I understand .mac mail will still come through. Do not delete the old account yet.
    You cannot use .mac or MobileMe as type of Account, you have to choose IMAP when setting up, otherwise Mail is hard coded to change imap.mail.me.com to mail.me.com & smtp.mail.me.com to smtp.me.com, no matter what you try to enter.
    iCloud Mail setup, do not choose .mac or MobileMe as type, but choose IMAP...
    On second step where it asks "Description", it has to be a unique name, but you can still use your email address.
    IMAP (Incoming Mail Server) information:
              •          Server name: imap.mail.me.com
              •          SSL Required: Yes
              •          Port: 993
              •          Username: [email protected] (use your @me.com address from your iCloud account)
              •          Password: Your iCloud password
    SMTP (outgoing mail server) information:
              •          Server name: smtp.mail.me.com
              •          SSL Required: Yes
              •          Port: 587
              •          SMTP Authentication Required: Yes
              •          Username: [email protected] (use your @me.com address from your iCloud account)
              •          Password: Your iCloud password
    Also, you must upgrade your password to meet the new criteria:  8 characters, including upper and lower case and numbers.  If you have an older password that does not meet these criteria, when you try to setup mail on your mac, using all of the IMAP criteria listed above, it will still give a server error message.  Go to   http://appleid.apple.com         then follow directions to change your password, then go back to setting up your mail using the IMAP instructions above.
    Thanks to dpepper...
    https://discussions.apple.com/thread/3867171?tstart=0

  • HT5858 I can't update apps on my iphone 5. theirs an old apple ID. That I don't have the pass word. I've created a new apple ID. but the old one keeps popping up. I have it on the Itunes on the phone but the old one keeps comming up and asking for a pass

    I can't update apps on my iphone 5. theirs an old apple ID. That I don't have the pass word. I've created a new apple ID. but the old one keeps popping up. I have it on the Itunes on the phone but the old one keeps comming up and asking for a pass word. 

    Apps are permanently tied to the Apple ID used to purchase them. You will have to delete the apps from the phone and re-purchase them using your Apple ID.

  • How can I make a intro page for my website, then after the intro has run make the page automatically change to my we site home screen

    how can I make a intro page for my website, then after the intro has run make the page automatically change to my website's home screen

    You can do this using a meta refresh but the problem is you have to add it to the html file for the page very time you publish changes.
    A better way is to create a splash page and upload it to the server outside of the folder produced by iWeb. Example HERE.
    The meta refresh is added to the head section of the html file...
    <meta http-equiv="refresh" content="32;url=http://www.domain.about.com/Page-Name.html">
    The delay time in seconds is marked in blue and the URL to the redirect page is in red.

  • Can I do a clean install of Lion, onto my Mac Book Pro4,1, that is currently running 10.5.8? I have seen U-tube videos on how to do a clean install to Snow Leopard, and another from SL to Lion, but can zero out my HD, and do a clean install to Lion?

    Can I do a clean install of Lion, onto my Mac Book Pro4,1, that is currently running 10.5.8? I have seen U-tube videos on how to do a clean install to Snow Leopard, and another from SL to Lion, but can zero out my HD, and do a clean install to Lion?

    See this article.

  • If i got an iphone 5 and synced it with my computer, can i get the contract from my iphone 4 to a iphone 5 without upgrading the contract? (So that i will still have the same contract)

    If i got an iphone 5 and synced it with my computer,
    can i get the contract from my iphone 4 to a iphone 5 without upgrading the contract?
    (So that i will still have the same contract) (I have verizon.)

    Ask Verizon.
    You will have to activate the phone through them.

  • In iPhoto (09) I can add a description to a photo which will display when running the slideshow, however when I sync the Album to my iPad and I run slideshow the description does not display, WHY?

    In iPhoto (09) I can add a description to a photo which will display when running the slideshow, however when I sync the Album to my iPad and I run slideshow the description does not display, WHY?

    I'd ask that on the iPad forum.

  • Just bought the ipad4 and can't log into facebook. Times out and tells me to check my network connection. Anyone having the same problem or any ideas?

    Just bought the ipad4 and can't log into facebook. Times out and tells me to check my network connection. Anyone having the same problem or any ideas?

    Hey barnsieno10,
    Thanks for using Apple Support Communities.
    Looks like sign in issue, This article is a great resource for the message you are receiving.
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/ts3970
    Have a nice day,
    Mario

  • I was in the middle of using my iPhone 4 running on the latest iOS before iOS 6 and the screen went black but you can see it is still on because the color of the screen is blueish blackish like when your phone is turning off. Any suggestions?

    I was in the middle of using my iPhone 4 running on the latest iOS before iOS 6 and the screen went black but you can see it is still on because the color of the screen is blueish blackish like when your phone is turning off. Any suggestions?

    Reset the device by pressing and holding the home and power buttons for 15-20 seconds until the white Apple logo appears.

  • Bought a movie but all it plays is the main movie menu, I can't get the actual movie to play.

    I bought Scary Movie 5 the other day and it downloaded fine, it runs but it will only take me to the main movie menu where it gives me the options to play, select chapters or go to the bonus features. When you click play nothing happens. Seriously frustrated with this. Any one else have this issue?
    I'm trying to watch it on my windows computer on itunes.

    Hello mecha_girl,
    Sorry to hear that Scream 5 is not playing after purchasing it from iTunes.
    If the movie has completely downloaded, I recommend deleting the video and downloading the show again from your list of purchases. You can find the steps to do this under the section titled "Apps, Books, Music, Movies, or TV shows on a computer" in the following article:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    http://support.apple.com/kb/ht2519
    If you are still not able to play the movie, you can report an issue with this purchase using the steps in this article:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
    http://support.apple.com/kb/ht1933
    Best,
    Sheila M.

  • Can anybody tell me where the export current frame option is in the new final cut update? It used to be under the share menu but that menu has now been removed.

    Can anybody tell me where the export current frame option is in the new final cut update? It used to be under the share menu but that menu has been removed now.

    When I click File> Share> There is no save current frame option. Also Cmd E isn't working either.

Maybe you are looking for

  • IHC_Payment order processing

    Hi I am trying to find out how are settings in table IHC_DB_CL_ACCTS used to determine the account for Transactio and Business Partenr ? I have executed IHC1EP ( EXternmal Paymnet order )  with trace on for both Park and Save processing, but this tab

  • Weird behaviour - TC not backing up any more

    Just spotted that my TC isn't backing up any more. It just wasn't connecting wirelessly. I repaired permissions, and rebooted the machine to see if that would help. Now it gets as far as 'Calculating changes' - which I thought was a good sign, but it

  • Apple Mobile Device Problems

    Hi guys.  I just need help on figuring this out.  My iPod was fine before but now its saying that the Apple Mobile Device is not working.  I looked up how to fix it and did what it said except I can't change it from disabled.  Please help and thank y

  • How to STOP and START the BO EXPLORER/POLESTAR - LINUX

    Dear friends, Could you please let me know on How to STOP and START the BO EXPLORER/POLESTAR on LINUX platform? Thank you, Nikee

  • My pc says iTunes is incompatible  with Windows 7

    I recently bought a new computer running Windows 7 and now it says iTunes is not compatible. My old pc ran the same OS, but it worked fine, what's the deal? I've tried uninstalling, deleting Bonjour, cleaning out the registry using my System Mechanic