.swf end of movie

Hello guys,
First of all I'm not a flash or flex coder, so please pardon
my lack of knowledge about it.
Here is our story ...
We have about 50 flash presentations (each less than a
minute) on a web server. The web service written in .NET is getting
the list of all .swf files (these files were made in Flash8, and I
believe it's ActionScript 2.0) and passing it on to a Flex front
end application.
What we want to do on the flex side is, play these
presentations randomly, one after the other (may be add a minute or
half a minute delay between each presentation).
I was talking to the guy who is working on Flex side and he
said, basically, Flex is ActionScript 3.0 and Flash movies are
ActionScript 2.0, so Flex would not know when the first movie ended
for it to start another one.
My question is, is it at all possible to do what we are
trying to do in Flex? If it is then how do we go about it?
If you could only point us in the right direction, that would
be great too (Of course, if you guys have more detailed answers
they are very welcome)
Thanks,

Flash does not dispatch any events when it reaches its last
frame. I'm going to assume that the SWFs cannot be rewritten. What
I suggest is writing one more Flash 8 SWF. This one would use
LocalConnection to communicate with Flex (there's an article about
this on my blog, just search for LocalConnection). This new SWF
would also load all of the other SWFs and monitor their running.
When it completes, use LocalConnection to tell the Flex SWF that
the movie had completed. Flex could then communicate back when it
was time to load another SWF.
I'm sure there are some other ways to do this, but that's
what comes off the top of my head.

Similar Messages

  • End of movie detection?

    Hello All,
    Is there any way to detect if an imported .swf movie has
    ended playing?
    Thanks in advance,
    Doug

    if the swf is setup so the main timeline plays from frame1 to
    its last frame and the swf ends when the playhead plays that last
    frame, yes. otherwse, the answer is maybe.

  • How can I load an external SWF into a movie clip that's inside other movie clip?

    Hi.
    I creating my first flash (actionscript 3.0) website but I'm
    stuck with a visual effect I want to create.
    I have a window on my website called contentWindow. Every
    time you click a button this window is supposed to leave the stage,
    load the requested content and return to the stage.
    The sliding window is a movie clip with 83 frames, 21 to
    enter the stage, 21 to leave the stage again, 20 for nothing (its
    just to simulate the loading time) and 21 to return to the stage.
    Now my goal is, when the user clicks on a navigation button,
    the window exits the stage, loads an external SWF with the content,
    and then returns to the stage.
    I've the "window" movie clip with an instance name of
    "contentWindow". Inside there is another movie clip with an
    instance name of "contentLoader". The content that the user
    requested should appear inside the "contentLoader".
    Now, when the contentWindow leaves the stage, I get this
    error message:
    quote:
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at rwd_fla::MainTimeline/trigger()
    If I switch
    "contentWindow.contentLoader.addChild(navLoader);" for
    "contentWindow.addChild(navLoader);" it works fine, but the
    external SWF doesn't move with the window.
    How can I load an external SWF into a movie clip that's
    inside other movie clip?

    Hi,
    Recently, I have been putting together a flash presentation.
    And I am just wondering if the following might help you, in your
    communication with the said swf file:
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE,
    onComplete);
    function onComplete(event:Event):void
    event.target.content.thinggy_mc.y -= 100;
    Not the best example, but this allows you to target a mc
    within an external swf file. I think if you look up this code, you
    will have an answer ;)
    Kind Regards,
    Boxing Boom

  • How can I not "fade to Black" at end of Movie?

    Hi experienced iMovie people,
    Been searching for a while and still can't find an answer. I'm trying to end the movie with a "Title" and it still fades to back. I've tried cut, etc. which worked great on the opening "Title" where I wanted the screen to show the text but doesn't work at the end. You're welcome to see the movie at: http://AudioGirlProductions.com to see what I mean. It's right there on the Home Page.
    Thanks,
    Lori Rae

    That can happen if the audio is longer than the movie. You need to crop the audio (not just fade it).

  • Jump to Slideshow at end of Movie?

    Hi,
    How do I do this with a chapter marker? i just simply want a DVDSP slideshow to play if a user presses a chapter forward button before the movie finishes.
    TIA,
    James

    Figured it out. Just added a chapter marker to end of movie track and set track end jump to slideshow. Not at all difficult.

  • How to I add credits and slogans at end of movie

    how to I add credits and slogans at end of movie?   also an intro   please

    The title browser "T" under the imovie browser screen. Scrolling credits.

  • Ending a movie in Premiere Elements 7

    Premiere Elements 7:
    How do I end my movie without the extra 10 minutes of blackspace that shows up everytime I render it?
    My movie has video clips, slides, and transitions. I never put a formal ending on it, I just stopped dragging material into the sceneline. Once I render a 30 minute video, roughly 15 extra minutes of black space show up. How do I tell Premiere Elements 7 to end the movie?
    Thanks,
    Ben

    I am stumped, as well, especially as PE doesn't allow one to "lock" a Track, or anything similar. It should be an easy process to select, and then delete the offending Clips. If the Lasso does not work, try Rt-clicking the Clip and choosing Clear (I think that is the proper syntax for deleting in PE and not storing the Clip in the Clipboard). If not Clear (the term in P-Pro, then look for Delete).
    One observation that I have made, as to a possible cause for these tiny Clips, is that if one drags a Clip to abut to another Clip, with Snap On, and you drag too far (basically banging the moved Clip against the previous Clip), you can locate the moved Clip INTO the previous one, cutting of a frame, or two. These will then automatically go to the end of the Timeline, without any warning, or notification. Then, as you tighten things up on the Timeline they remain orphaned and can be quite a ways from the actual Clips, depending on how much editing one does. The trick is to drag the Clip (the one being moved) until you see the thick black line. It now butts up to the previous Clip. Let it go now and do not drag it into the previous Clip, or you'll get those orphans. Now, they *should* be easy to delete, if you remember to go looking for them. Always check the Time Code of your (intended) Clip with the Time Code for the Duration of your Timeline. They should match frame for frame. Otherwise, you've got an orphan problem.
    Hunt

  • Lost sound when end of movie reached

    Hi All.
    Have a slight dilemma here - Occasional - my apple TV will quit outputting any sound when I reach the end of a movie (either through fast forward / chapter scan forward / or normal play to end of movie).
    I can tell there is no sound output because the receiver changes the display to tell me what channels are being passed to it - and the receiver says there are zero channels of sound. I also have the menu clicks turned on.
    I've had the apple TV for about two months now - with the latest update installed. I am using composite video cables and optical audio to my Yamaha AV receiver (863) - then passing video only to the TV (Old 28" Sony Wega) via composite cables. The apple TV sits in a well ventilated position in my AV furniture (open to the air with no components above or below it).
    This occurs for only some video - some video works fine. All video streaming has been encoded with HandBrake 0.9.3. All Video has the same audio / video settings, all video has chapters embedded.
    I have made a change in my streaming recently - I moved itunes + all content to a Windows Home Server (HP EX-490) - this is the only change from my previous streaming (which never showed this problem).
    Once the sound issue appears and the apple tv quits outputting sound to the receiver - no sound is available - however - I can continue to stream video / audio and everything appears to play fine - with the exception of no sound. To rectify the problem - I have to unplug the apple tv for 5-10 seconds - plug it back in - and sound output has returned (I haven't tried the Menu + Back trick yet to see if that works as well).
    I'm leaning away from the change in servers being my issue since it still streams and just losses sound. Anyone else ever see anything like this? Could it be an Apple TV issue / heat issue / encode issue?

    I think it's an audio conversion issue with certain streams.
    If I run some HD captures from my CAnon camera through handbrake direct I lose several seconds of audio at the end, so I think it's a problem processing audio/video streams in some circumstances.

  • How to display an .swf frame when movie is off?

    I'm wondering how to dispaly either an image or a frame from an swf when the movie is not playing. Any info appreciated. Thanks!

    An swf is never really off if it is being displayed. But if you want something to display when there is nothing happening in the file, then just have it sit in a frame with whatever content you intend displaying.

  • Converting SWF file to MOV file

    Need help, how can I convert a swf file to mov file for use with keynote?

    http://www.versiontracker.com/dyn/moreinfo/macosx/33564
    and more if you just google 'swf to mov'

  • Lost sound in some film clips when finishing project.  Using iMovie 11, after adding music to photo section, could not get sound back in 2 film clips at end of movie.  Beginning clips ok. How do I restore sound? Thx.

    Lost sound in some film clips when finishing project.  Using iMovie 11, after adding music to photo section, could not get sound back in 2 film clips at end of movie.  Beginning clips ok. How do I restore sound? Thx.

    Everything in your project will be exported when you use the share menu.
    If you want to export only half, I suggest that you
    1) Select the project in the Project Library.
    2) Click FILE/DUPLICATE PROJECT
    3) Give the duplicate a name, like Project A snippet.
    4) Open the duplicate project in the Project editor and delete the segments that you do not need.
    5) Then Share.
    You mentioned surrounding a portion of the clip you were editing in Yellow. Once you do this, you should right-click and then select either DELETE SELECTION, TRIM TO SELECTION, or one of the other options available. That is a key tool in editing.
    You mentioned MPEG Streamclip. I agree that MPEG Streamclip is a great tool.

  • Automatic play reverts back to main menu at end of movie.

    I want the DVD to autoplay, without having to make a menu. But automatic play always reverts back to the main menu at end of movie. How do I make an autoplay with no menu at all?

    Hi
    a. Not possibly
    b. By faking a "Non-menu" one can get that impression.
    • Black background slide
    • No animation
    • No audio
    c. You can select loop. Then it doesn't end on a menu but keeps on playing.
    d. I think that if You use the OneStep-DVD You'll get a non-menu at the start
    (auto-starting) and no menu at end.
    I would do. Copy movie back to a miniDV tape (Camera) and use OneStep-DVD from this.
    There might be other ways to do this.
    Yours Bengt W

  • Help needed to detect end of movie

    I am using loadMovie to play an external SWF file in my main
    movie. How can I detect when the loaded movie has ended so I can
    move onto the next frame?
    Thx

    Hi Krishna,
    From any Transaction, use menupath System > Status... The click on the "magnifying glass" icon just below the "Component Version" field - that will open another dialog screen with the Support Package Level for Installed Software Components.
    Find the entry for component SLL-LEG - that's the GTS system.  Up to 8, the versioning is quite obvious, but release 900 is actually GTS 10.0, and 901 is GTS 10.1.
    Hope that works ok for you.
    Regards,
    Dave

  • Closing swfs in captivate movie

    I am frantically trying to figure out how not to get a
    javascript erro rwhen my animation ends inside my captivate movie.
    how to I close the swf adn still elt the user navigate to the next
    captivate screen?
    Please help!
    thanks,
    francie

    Hi francie
    I have no clue as to how what terrence wood is suggesting
    will help here. From what I surmise based off what you posted, you
    have inserted an animation or possibly even another Captivate movie
    on a slide in an existing movie? And somehow you want to know how
    to close the .SWF that is sitting on the slide? If I'm correct in
    what I understand you are trying to do, my guess is that it isn't
    possible. Why? Well, if you were able to close the .SWF on the
    slide, you would probably also close the whole movie. My guess is
    that this is why you are seeing JavaScript errors.
    I'm thinking that you should probably configure the end
    option to simply stop. For the movies that are on the slides, that
    is. This also assumes you are placing other Captivate movies on the
    slides. If you are instead placing other animation, I haven't a
    clue what to advise, other than to possibly adjust timing.
    Hopefully this helped in some way... Rick

  • Help End of Movie

    Hi all
    Im hoping someone will be able to help me.
    I have 8 seperate movies to publish to html and flash. They
    are called from 'menu.html'
    After the movie has finished - I want it to go back to the
    menu.
    This is easy with absolute paths, but the final resting place
    of my files will be on a production server, and possible moved
    again after that.
    So is there a way I can call the menu.html from the end of
    the movie using relative path.
    The menu.htmlis in the same folder as the movie.html and
    flash.swf files.
    I would like to be able to pick up the folder and place it
    anywhere with all links still working?
    Thanks for any suggestions.
    Kind regards
    Tim

    Just want to add that we've tried using cue points which set
    when importing in the Flash 8 encoder but can't get them to work in
    the media player component. Any advice would be much
    appreciated.

Maybe you are looking for

  • HT4623 Please help ! My Iphone 5 is restarting during a call or internet browsing, o just simply browsing the meniu. I can not us it any more !

    Please help ! My Iphone 5 is restarting during a call or internet browsing, o just simply browsing the meniu. I can not us it any more ! It is functioning max 5 minutes. I have tried to restore it via Itunes but it sitais to less opened.

  • Folio preview do not work

    The preview of my folio only works on iPad when i submit it per USB cable. The content viewer on my mac works too. When i submit the folio online, the submitting stops with this error: When i click "try again" it seems to work, bit the article on the

  • Strange prepopulated username credentials on a shared alias?

    If we create an alias on a shared Windows server, then copy it to a local mac, intermittently, the username field is populated by the original alias creator, and not the local user. Is there somewhere in the alias properties that you would adjust thi

  • How can I draw using the Brush tool and a touch screen?

    I need to be able to use the touch screen on my Lenovo Yoga (running Windows 8) to draw using the Brush tool in Photoshop CS6. I'm able to do that in other programs, including Microsoft OneNote and Paint. For some reason, Photoshop will only interpre

  • Third Party Scenario but FOC

    Dear Gurus, I've done 3rd Party PO's but we have this requirement here to have 3rd party but FOC. 1. My design for 3rd party scenario is complete , I'm using item category TAB for charge and ZANN which is copied from TANN with special stock indicator