Hijack a SWF File

Using MovieClipLoader I am loading a powerpoint presentation
that was turned into a swf via OpenOffice into my flash file. The
generated swf file goes to the next frame when the user clicks and
I want to disable that and control it with actionscript.
Any help is appreciated.

A Flex app is a SWF and is not translated to Javascript.  Many Flex apps do
use Javascript to handle history management and startup focus.

Similar Messages

  • Unable to play audio stream in a swf file

    Making a swf file that reacts like a button: it plays sound
    when you pass over it. Or should play. When the button keyframes
    sound options are set to "start" or "event", there is no problem,
    it works well. But it doesn't work if I set to "stream". My
    original file is an mp3. Is there something special avout it? Help
    tutorials didn't help me so far...

    With "stream" you have to make sure there are enough frames
    in the movie to play the whole sound file. Try adding some frames
    and see if it plays then.

  • IE running under XP can't handle multiple SWF files, Why?

    I noticed that IE 8 running under Windows XP cannot handle multiple swf files in one page.
    Up to about 10 files is no problem they are loaded and we can play them ( buttons that start a small audio file).
    But more of these files in one page will stop IE.
    Firefox ( 3.6.28) runs them fine.
    And also IE 8 and/or Firefox under Windows 7 handles them perfectly.
    Has anyone any idea what can cause this and how to resolve this?
    Thanks,
    Onno Tomson
    The Netherlands

    Sorry...I still don't get it. What is it about Windows FUS that keeps iTunes from running running the process twice? It can run many other non-Apple windows apps in multiple user sessions (commercial apps, open source apps, audio/video apps, networked apps). I can even run two different virtual machines at the same time under two different user sessions.
    Why can iTunesHelper.exe run twice but iTunes.exe cannot? Why can I run Safari at the same time? Quicktime Player runs fine under multiple user sessions.
    Blaming it on Windows and/or FUS sounds like FUD. Can anyone give a valid technical reason? Semaphores? Mutexes? An admission (and explanation) that the Windows version is purposely crippled?

  • How do I edit a .swf file in edge animate? How do I save it as a swf file?

    Hello, I need to edit the actionscript in a swf animation file. How do you do that with Edge animate?

    There is no such workflow for swf files.
    Edge animate only understands html, javascript. SWF files are alien to it.
    You should be using Flash Professional CC, for generating the swf files.
    hth,
    Vivekuma

  • How do I script SWF files instead of JPG files in XML loader?

    I have a SWF loader (greensock.com platform) and a thumbnail image scroll underneath it made of small image buttons. Each image button has a link which loads a new SWF file into the SWF loader above. Here is the code for each button which loads the bigger SWF file into the loader above:
    Button3.addEventListener(MouseEvent.CLICK, Button3_PlayPopUp);
    function Button3_PlayPopUp(event:MouseEvent): void {
        //setting the sourceVar
        sourceVar="3.swf";
        //making the SWFLoader load
        //as setting the soureVar after the SWFLoader is created won't do anything unlesss
        //I also re-create the SWFLoader with the new sourceVar when the button is clicked
        loader_howToLoader2.url = sourceVar;
        loader_howToLoader2.load(true);
    Then I decided to load all button via XML loader. I followed the tutorial on XML loaders which deals with loading jpg images and assigning URL links to them in the following manner first in XML file:
    <image src="appThmb_imgs/appThmb_imgs117x175/A-illuminatorUpLit_117x175.jpg" title="UpDownGlowingVase" url="http://www.888acolyte.com"/>
    and then in AS3 like this:
    var xmlLoader:URLLoader = new URLLoader();
    thisOne.link = imageList[item].attribute("url");
    function clickScrollerItem(e:MouseEvent):void {
    //trace("clicked item " + e.currentTarget.itemNum + " - visit url: " + e.currentTarget.link);
    var urlRequest:URLRequest = new URLRequest(e.currentTarget.link);
    try {
    navigateToURL(urlRequest);
    catch (e:Error) {
    // handle error here
    trace(e);
    My question is: How do I apply the code to each individual small thumbnail button to load a bigger image into the SWF loader above? Do I have to add something to XML file or this way it will never work with jpg images? Can url in XML file set the source var (//setting the sourceVar), since they are all individual and then somehow apply the making SWL loader to load part (//making the SWFLoader load) as a standard somewhere in the AS3 code?

    O.K. Here is my COMPLETE function.
    xmlLoader.addEventListener(Event.COMPLETE, LoadXML);
    function LoadXML(e:Event):void {
        trace("xml load complete");
        xmlData = new XML(e.target.data);
        //trace(xmlData.image); //we'll see each image xml element listed in the output panel with this xmlList
        buildScroller(xmlData.image); //rather than trace the xmlList, we send it to our buildScroller function
    //build scroller from xml
    function buildScroller(imageList:XMLList):void{
        trace("build Scroller");
        //var scroller_x:int=0;
        for (var item:uint = 0; item<imageList.length();item++) {
            var thisOne:MovieClip = new MovieClip();
            //thisOne.img_width=imageList[item].attribute("width");
            //outline
            var blackBox:Sprite = new Sprite();
            blackBox.graphics.beginFill(0xFFFFFF);
            blackBox.graphics.drawRect(-1, -1, 86, 128);//-1,-1 places rectangle 1px left and up.86, 128 draws rectangle 1px wider on all sides of placed image dimenstions of 84x126
            thisOne.addChild(blackBox);
            //scroller_x += thisOne.img_width + 20;
            //var currentX = currentImageWidth+spaceBetween;//modified line to adjust variable thumb widths
            thisOne.x = (84 + padding) *item;//84 is the width of the loaded images and 15 (which was before paddign var) is the padding
            //thisOne.x = scroller_x;//modified line to adjust variable thumb widths
            thisOne.itemNum = item;
            thisOne.title = imageList[item].attribute("title");
            thisOne.link = imageList[item].attribute("url");
            thisOne.src = imageList[item].attribute("src");
            thisOne.alpha = 0;//makes all thumb images at alpha=0 before they are fully loaded
            //trace(thisOne.itemNum, thisOne.title, thisOne.link, thisOne.src);
            //Loading and Adding the Images
            //image container
            var thisThumb:MovieClip = new MovieClip();
            //add image
            var ldr:Loader = new Loader();
            //var url:String = imageList[item].attribute("src");
            var urlReq:URLRequest = new URLRequest(thisOne.src);
            trace("loading thumbnail "+item+" into Scroller: " + thisOne.src);//url
            ldr.load(urlReq);
            //assign event listeners for Loader
            ldr.contentLoaderInfo.addEventListener(Event.COMPLETE,completeHandler);//tells us when the loading is complete
            ldr.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);//tells us if there are any typo errors when the loading is complete
            thisThumb.addChild(ldr);
            thisOne.addChild(thisThumb);
            //create listeners for this thumb
            thisOne.buttonMode = true;//makes boxes act as buttons
            thisOne.addEventListener(MouseEvent.CLICK, clickScrollerItem);//makes boxes act as buttons
            thisOne.addEventListener(MouseEvent.MOUSE_OVER, overScrollerItem);//traces the title when the mouse is over the bounding box in the Output Panel
            thisOne.addEventListener(MouseEvent.MOUSE_OUT, outScrollerItem);//traces the title when the mouse is out the bounding box in the Output Panel
            //add item
            scroller.addChild(thisOne);
    But I am not sure if I expressed myself clearly. All what you have indicated happens. Images are being loaded and url strings are working. I can not figure out how to tweek the code so instead of url specified in xml file I can load swf image into the SWF loader on the same screen?

  • Flash .exe or swf files will not play on Vista

    I decided to learn how to create captions for flash video,
    using CS3. I tested this project and it worked fine. I could just
    double-click on the app or the swf and the captioned video played
    fine on my Mac. I only had Flash (CS3) on my Mac, so I created the
    files there.
    I then published an exe to move over to my Vista machine.
    When I double-clicked on the file, it brought up Flash Media Player
    version 9, but only showed a blank white box. Very frustrating.
    After some research, I read that Windows Vista was not
    compatible with Flash Media Player 9. Only 10.02xxx or later (I
    forget the exact version - it was long) was supposed to work with
    Vista. Since CS3 uses version 9 to pack into the executable (PC) or
    app (Mac) projector files, I thought maybe this was the problem.
    So I downloaded the demo of Flash CS4, thinking this version
    would pack version 10 into the projector and this would solve my
    problem.
    While the CS3 version of my saved flash video project would
    open in Flash CS4, it would not play when I tested the movie inside
    Flash CS4. It would just show a skin at the bottom of the video
    player only (with a play/pause button), and it had moving blue bars
    on the skin like it couldn't really load either.
    I then decided to create the whole flash video with captions
    from scratch under Flash CS4. This time when I tested the movie in
    Vista, it worked fine. When I published either the projector exe or
    the html/swf combination, it worked fine. So proudly (and finally!)
    I sent the exe over to my boss. But..... you guessed it. The Flash
    Media Player 10 that started up when the file was double-clicked
    just showed a blank white screen again!
    So then I moved the exe over to another partition to test to
    see if there was some dependent directory pathway saved as part of
    the flash video file. The exe wouldn't play on the other partition!
    So I thought I was onto something. I then tried moving files that I
    thought the exe might be dependent on (although isn't the point of
    a projector to be stand alone?) to the same directory on this
    partition as the flash exe projector file.
    I ended up moving the captions.xml file, the swf files (flash
    video player skins included), and the html file that the swf file
    is supposed to be embedded in. NOTHING worked.
    I even read that someone with this problem saved his Flash
    CS4 file as a Flash CS3 file before he published it, and that
    worked for him. So I tried that too, but with no joy.
    So I am totally stumped. Does anyone out there have advice or
    even a solution?
    Much Thanks,
    Chuck

    HI
    You can use FlashJester Jugglor to create one EXE file by
    adding the FLV in
    the Additional Files section.
    Try it
    http://www.jugglor.com
    Let us know if you have any further questions.
    Regards
    FlashJester Support Team
    e. - [email protected]
    w. - www.flashjester.com
    DISCLAIMER:
    This email message is intended only for the addressee(s) and
    contains
    information that may be confidential and/or copyrighted. If
    you are not the
    intended recipient please notify the sender by reply email
    and immediately
    delete this email. Use, disclosure or reproduction of this
    email by anyone
    other than the intended recipient(s) is strictly prohibited.
    All measures
    have been taken to ensure this email is virus free - however
    no warranty is
    made that this email or any attachments are free of viruses.
    Virus scanning
    is recommended and is the responsibility of the recipient.

  • Can Captivate 7's playback controls control Flash swf files?

    Hi folks,
    I have created a swf file using Adobe Flash and I have imported it as an animation slide in Captivate 7. I have turned on the playback controls to just have the play button and the progress bar. When I export the presentation, the playback controls do not work. The scrubber moves as the presentation is playing, but I can't pause the presentation. When I stop the scrubber or even move it left or right, it does not affect the presentation and it just keeps playing. Am I doing something wrong? I don't want to have to create a custom nav bar in Flash as it would just be easier to use Captivate's playback bar.

    I don't think it can be expained quickly as it can be very complicated. But...
    Select New Project/Widget in Flash and choose static widget. You need to be very adept in AS3 to actually get them to work.

  • Dreamweaver CS5 wont loop .swf file???

    Hi there,
    I am having a problem where i am trying to get a swf file to loop. I read on another thread that there is a bug in dreamweaver and although it automatically selects the loop button in the property inspector it does not add the code. But when i correct the code it still doesn't work! here is the code i am using:
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="550" height="400" id="FlashID" title="openingsequence">
        <param name="movie" value="1.swf" />
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="6.0.65.0" />
        <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <param name="LOOP" value="true" />
        <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
        <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="1.swf" width="550" height="400">
          <!--<![endif]-->
          <param name="quality" value="high" />
          <param name="wmode" value="opaque" />
          <param name="swfversion" value="6.0.65.0" />
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <param name="LOOP" value="true" />
          <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
          <div>
            <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
          </div>
          <!--[if !IE]>-->
        </object>
        <!--<![endif]-->
      </object>
    I have also read that it could be because the code for the .fla file has a <stop/> value at the end instead of the code to make it loop. I made the swf file from an mp4 in flash so ive never had the original .fla file. I have tried using a swf decompiler to get the fla file but it doesnt seem to have worked but this is a side issue...
    I really just want to figure out how to get dreamweaver to loop my swf file.
    Can someone please help me, ive spent all day trying to solve this!
    thanks,
    Matt

    Hi
    You wrote -
    I made the swf file from an mp4 in flash so ive never had the original
    .fla file. I have tried using a swf decompiler to get the fla file but
    it doesnt seem to have worked but this is a side issue...
    First welcome to the forum.
    Unfortunately without being able to edit the stop() function out of the fla file, your swf will not loop.
    You could use the html5 video element for your mp4 and if you have the original video file convert it to other formats for use in the html5 video, and then use the swf file as the fall back, this would allow your video to loop in those browsers that support this.
    There are also 3rd party players available that will allow the swf to loop without editing but these will only work on windows.
    PZ

  • Why does the audio in my .SWF file not play in a Browser?

    I created an .swf file using ffmpeg, containing H.264 video and MP3 audio. The file plays perfectly in VLC but  not in a Browser (Chrome/IE). I tried analyzing the file using a trial version of Flash decompiler. Again, only the video plays. The strange thing is that if I extract the MP3 from the file, it plays perfectly using any of th eplayers. It seems to be a muxing issue which VLC apparently handles, but not the player in the browser! Why? Thanks for any pointers.

    Yeah. Sorry to say this but many people buy the various brands of format converters, which are everywhere on the Web and which also spam these boards – and often find they are not only out the purchase price but that the app created as many problems as it solved.
    Russ

  • File size of .swf files exported from Indesign CS5

    I have made a basic file (728 x 90 px) in Indesign, which is the size of banner ads we produce. I have not put on any effect or animation yet. When I export it as a swf file, the file size is 139kb. This is way too large for any banner advertising on websites where the highest is normally 100px and the smallest is 30kb.
    I have tried exporting at a lower resolution, but it has no effect on the file size, rendering this useless as a flash export option for me.
    Is there something I'm missing or is Indesign just not the right tool for flash banner ads.
    Thanks

    Mr Met
    {swf file that's 13MB. What are your images, 200MB each?}
    As I said, I resampled the images to be 500px wide so each PShop image is about 1.4mb (single layer). There are 12 images used.
    Here it is if you care to see i t- 11mb so it will take time to load
    http://wgdesigngroup.com/10/elaine/elaine.html
    Jongware
    {The Right Tool for the Right Job ...}
    No doubt you are a 100% right here.
    But I think it is a bit disingenious to blame the InDesign user for the feature. It would be like Abobe putting Drop Shadows and transparences into ID and then saying you should use PhotoShop to for that feature!
    Brian

  • Problem with FLVPlayer in Flash CS3 (need to save out as Actionscript 3.0 SWf file)

    I am using Flash CS3 and am trying to publish a SWf file that
    makes use of the "FLVPlayback" component. I need for this SWF file
    to be published as an Actionscript 3.0 file, so I have set my
    publish settings to Flash Player 9.0 and Actionscript 3.0, but keep
    getting an error as follows:
    "WARNING: The component 'FLVPlayback' requires ActionScript
    2.0."
    Has anyone encountered this?? I am doing something wrong? I'm
    pretty comfortable within Actionscript/Flash 2.0, but am only
    beginning my first steps into the relam of CS3 and AS3.
    I have also attached a screenshot of the files that represent
    my FLVPlayback component (or so I assume). (see this link for
    attachments
    http://www.actionscript.org/forums/showthread.php3?t=140886)
    Thanks all,
    Mark
    http://www.actionscript.org/forums/showthread.php3?t=140886

    Mark,
    > I have set my publish settings to Flash Player 9.0 and
    Actionscript
    > 3.0, but keep getting an error as follows:
    >
    > "WARNING: The component 'FLVPlayback' requires
    ActionScript 2.0."
    Gotcha. You must have started the document in AS2, then
    changed the
    publish settings. Each version of the language has its own
    version of the
    FLVPlayback Component (written in the relevant language).
    Start over and
    compare two compleley new FLA documents: make one for AS3 and
    one for AS2.
    Open the Components panel and note the differences between
    the two. There
    are a different set of Components depending on the language
    chosen for the
    document. Drag the FLVPlayback Component from the Components
    panel in an
    AS3 document, and you'll have the AS3 version.
    David Stiller
    Co-author, Foundation Flash CS3 for Designers
    http://tinyurl.com/2k29mj
    "Luck is the residue of good design."

  • Problem with link in SWF file

    good day to you all in this great forum
    my name is james and i want to see if i can find help here in the forum for my problem.
    I'm building a site for my friend. (the site is in hebrew so sorry....)
    for the site building I'm using the software iweb - on mac.
    the site is almost complete but i have 1 big problem.
    this is the link to the site - [URL="http://www.skip-up.com"]skip-up[/URL]
    I'm using a head menu in flash
    i have this flash from some template i downloaded from the internet and all i had to do is change the buttons names and to change the links of the buttons to point to my html pages.
    and now to the problem :
    to get to the problem in general - the flash head links don't work
    if i press it in the site on godaddy nothing happens i just don't see the flash head and instead i dee a page that says something like "the page can not be found"
    if i go to my desktop to my site directory and press the links the only thing that happened is that the button is changing the color like I'm in the right page but I'm still in the original page.
    and the strange thing is that by if i only open up the SWF file and press the links are working
    and it's open up my browser and to the right page
    1. you can see the structure of the site here in this page :
    [IMG]http://farm4.static.flickr.com/3442/3962332346_432d004df2.jpg[/IMG]
    what i have is the master index.html and 2 directories : - the first one
    called flash and have 1 flash file (this file is o.k with no problem)
    and the other directory had all my site files
    2. like i said i got the original FLA file and all i did is changing the buttons
    names and changing the links of the buttons
    the links i changed in the actions menu - i just searched for the original
    url and change the names to much my website html pages names
    3. here is the original FLA actions menu - you can see that I'm standing on
    one of the links :
    [IMG]http://farm4.static.flickr.com/3483/3961893129_2b8fc4ecd9.jpg[/IMG]
    and here is my fla after the changes - as you can see i just changed the
    name:
    [IMG]http://farm3.static.flickr.com/2544/3962668872_8693f399ba.jpg[/IMG]
    4. i uploaded all my site (it's small zip file) if someone wants to see more
    i tried to describe everything in details because it's very important for
    me to find a solution [URL="http://rapidshare.com/files/286059228/skipupsite.zip.html"]skip-up site download[/URL]
    I'm really hopping there's somebody that will be kind to help me out
    thank you very much

    Hi. It looks like your code is not finding the mp3. At least,
    I can reproduce your error code by removing the mp3 from the
    directory, or renaming it.
    Btw, if you test with FF instead of IE, you'd see the error:
    Error #2044: Unhandled IOErrorEvent:. text=Error #2032:
    Stream Error.
    at KZFlash_fla::Sound_2/KZFlash_fla::frame1()
    Hope that helps.

  • STRANGE problem with sound in SWF files...Please help if you know how...

    Hello,
         Okay, so, I recently learned how to use Adobe InDesign to create a book.  there is a lot a still don't know.  When I export my document as a SWF file, it works great and has sound and animations where it should.  However, if I move that SWF to a new location, such as my desktop or uploading it to an e-mail, it looses all the sound information.  To add sound to each page, I added a hidden object to each page that was the sound file so that I could attach it to a button.  It seems that it is loosing that sound file if I move it to a new location.  Any ideas or solutions?

    UPDATE:  I have learned that my problem is related to a "resourse folder" which must go wherever the file goes in order for it to have sound.  This is a bit inconvinient for me, as my client is computer illiterate.  I really want to find a way to just embed the sound into a file that you can just open and play.  To the best of my knowlege, SWF format is the only format that allows for the page turning animation.  Does anyone know a way to embed the sound into the SWF file or am I SOL here?

  • DVD from multiple flash files shows "loading" across 8/600 swf files

    I got tossed into the middle of editing  a training dvd that is composed of several swf files.  I've made minor edits to content (spelling, grammer, etc), when I re-burn the dvd there are 8 files that display "loading" in blue upon opening (all files do this throughout the dvd) but with these particular files it never goes away.  It remains on the screen and visible underneath or behind the text.  Nearly 2 months ago, a round of edits was necessary and these same 8 files behaved normally.  Three of the eight files were not edited in either round, were fine on the last burn, and are now displaying the "loading" constantly. Would anyone have any suggestions to fix this?

    The DVD is throwing a bit of a twist into it. I'm assuming you mean data DVD first off and this is all executable projector based content?
    The best thing you can do to start is play the content in the Flash IDE so the debugger has a chance to show you any errors. Load the project and then run the debugger (CTRL/CMD + SHIFT + ENTER) and let us know if you see any errors show up. Chances are you're hitting a snag and it's no longer running code properly.

  • Importing swf file with skin and closed captioning problems

    I created a flv file in Preimere and I pulled it into flash to create close captioning.  When I publish it, it creates a swf file that I can open up on its own and it has the skin with the button to push to show the closed caption.  When I try to bring that file into captivate, it doesnt bring in the skin and it just automatically shows the captions.  How do I get it to bring the skin in with it?

    Are you seeing this problem when you preview you project. or only after you publish it? If it is when you publish, is it in both the local version and/or in the web version?
    Also, which version of Flash Catalyst? 1.0 or 5.5.?
    Chris

Maybe you are looking for

  • Delete emails from server after retrieving with IMAP protocol?

    Hi, I am using Mail as my email program and have set up my account with IMAP. When I use the POP protocol, I get the option to 'Remove copy from server after retrieving message'. When I set up Mail with the IMAP protocol, there is no such an option.

  • Print Color Issues Upgrading to CS 4 from PSE 5

    I am using the trial version of CS 4 Extended and have been finding that my pictures print much darker than they appear on my monitor. When I print the same image using PS Elements 5 the image comes out as expected. I played with one image and had to

  • Combo box in multi level block

    Hi, I am facing one pbm with combo box. I will explain my scenario. Pl help me. In new-form-instance-trigger, opening cursor for fetching item1, item2 from table1; - C1 opening cursor for fetching item3 from table1 based on item1--C2 begin open the l

  • MIS Report Issue (Report Painter)

    Hi SAP gurus, USERS have been processing critical Management Reports which are developed through Report Painter. In the recent past when ever the USERS are processing the Reports they are getting different figures even though the parameters are same.

  • Trackpad is very finicky..??

    I have a Satellite C55-B5246 running Windows 8.1 and I'm really not enjoying the track pad on this thing.  I'm hoping for some help to figure out what's going on. I have the icon on my task bar set to display the animated icon so that I can see when