Problem Loading .swf buttons on dreamweaver?

I animated 4 flash buttons in one .fla file. When you rollover each button, an animation should play. However, when I preview the .swf in Dreamweaver, the rollover buttons only work HALF the time. I tried putting a preloader on the .fla file as well as toggling the quality to low in the original .fla, but it still only works half the time??

How have you designed the buttons/animations?  What code is used?

Similar Messages

  • Problem loading swf which reads data in a local file

    Hi,
    Using flex with a online project, I have to load a swf file, which reads data in a xml file (it works fine if I open it with flash player)
    I do a very simple test :
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
                    layout="absolute"
                    minWidth="955" minHeight="600"
                    >
        <mx:SWFLoader id="swfloader" source="data/player.swf"/>
    </mx:Application>
    The result is that player.swf can't read the xml file (error : Error #2044: ioError non pris en charge : text=Error #2032: Erreur de flux. URL: enonce.xml).
    I do the same test with an AIR project, and it works fine !!!!
    It works also if I put the xml file directly at the same level as my compiled application (in bin-debug for instance).
    I think that it's a path problem, but I don't know how to set it.
    Is there any way to solve the problem ???
    Thanks a lot !
    Olivier

    Hi,
    Thanks for your answer, but I am not sure to understand it.
    What code I have to adjust :
    - the code of the swf I load ? It's a problem because I don't have access to the source code : my customer provides me only a swf file (with the xml file), and I have a lot of others swf files that work the same way, I can't ask him to modify everything.
    - the code of my application ? I don't really see how to use LoaderUtil.createAbsoluteURL, because when I debug, I see in the SWFLoader code that when this method is called, the returned url is good !
    Thanks for your help.
    Olivier

  • Problem loading swf file in flash player 9.0.47.0

    Hi all!
    I have a really strange problem and couldn't find any information over the internet.
    The problem only occurs in flash player 9.0.47.0. It works in all the others players, newer and older..
    I try to load a swf file to my web application and get the following error: "This content requires Adobe Flash Player 10.2. Would you like to install it now?"
    the log file shows:
    *** Security Sandbox Violation ***
    SecurityDomain 'http://10.1.1.84:8080/app/jsp/flex/bin-release/LP_FLEX_project.html' tried to access incompatible context 'http://fpdownload.macromedia.com/pub/flashplayer/update/current/swf/autoUpdater.swf?0.5087 71003223956'
    Warning: Reference to undeclared variable, 'out'
    Warning: Reference to undeclared variable, 'out'
    Warning: 'out' has no property 'text'
    Warning: Reference to undeclared variable, 'cameraSettings'
    Warning: 'System' has no property '_visible'
    Warning: Reference to undeclared variable, 'microphoneSettings'
    Warning: 'System' has no property '_visible'
    Warning: Reference to undeclared variable, 'privacy'
    Warning: checkPort is not a function
    Warning: Reference to undeclared variable, 'xOffset'
    Warning: Reference to undeclared variable, 'yOffset'
    Warning: Reference to undeclared variable, 'cameraSettings'
    Warning: 'System' has no property '_visible'
    Warning: Reference to undeclared variable, 'microphoneSettings'
    Warning: 'System' has no property '_visible'
    Warning: Reference to undeclared variable, 'privacy'
    Warning: checkPort is not a function
    Warning: Reference to undeclared variable, 'cameraSettings'
    Warning: 'System' has no property '_visible'
    Warning: Reference to undeclared variable, 'microphoneSettings'
    Warning: 'System' has no property '_visible'
    Warning: Reference to undeclared variable, 'privacy'
    Does anybody has a solution??
    Thanks alot!
    Assaf

    Maybe FP9 does not support your application / swf file?  How did you develop it?

  • Problem loading SWF

    Hi there,
    The following code is in my main FLA....
    quote:
    // Request the content
    var req:URLRequest = new URLRequest("PhotoViewer.swf");
    // Create a loader object
    var loader:Loader = new Loader();
    // Load the content
    loader.load(req);
    // Add loader into the Display List
    addChild(loader);
    // Check loading progress
    loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,
    checkProgress);
    // Update progress bar
    function checkProgress(e:ProgressEvent):void
    var percent:int = (e.currentTarget.bytesLoaded /
    e.currentTarget.bytesTotal) * 100;
    loadingBar.text = String(percent + '%');
    mcLoadingBar.width = percent;
    // Check when content is loaded
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE,
    contentLoaded);
    // Remove the progress bar objects
    function contentLoaded(e:Event):void
    removeChild(loadingBar);
    removeChild(mcLoadingBar);
    removeChild(loadingBarBorder);
    The SWF "PhotoViewer.swf" is a file that another Flash
    developer built and released as an open-source tutorial and the
    file uses a Document Class to create a Photo Gallery from an XML
    file. The PhotoViewer SWF works fine on it's own, but when I try to
    load it within my main SWF I get the following error message....
    quote:
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at PhotoViewer()
    TypeError: Error #1009: Cannot access a property or method of
    a null object reference.
    at PhotoViewer/init()
    at PhotoViewer/frame1()
    I can post the code for the PhotoViewer.fla and
    PhotoViewer.as if it will help locate the problem as to why I'm
    getting the above error.
    NOTE: The PhotoViewer.fla and PhotoViewer.as file has been
    updated by myself. Originally the PhotoViewer.as file's constructor
    would call a function called "init();" and the init function would
    specify the url of the XML file to load, but I have removed this
    init() function call from the constructor and instead I have placed
    this in the first frame of the PhotoViewer.fla and also updated the
    function call so it specifies the XML file to load (e.g.
    init("Portfolio-Identity.xml");).
    I thought it might be some problem with my ActionScript code
    loading the PhotoViewer.swf file, but I changed the loading url to
    another SWF that I built myself and it loaded the file fine.
    I'm not sure why I'm getting this error?
    Any help really appreciated!
    Kind regards,
    Mark

    My main FLA that is loading in the PhotoViewer.swf file has
    the following code....
    quote:
    // Request the content
    var req:URLRequest = new URLRequest("PhotoViewer.swf");
    // Create a loader object
    var loader:Loader = new Loader();
    // Load the content
    loader.load(req);
    // Add loader into the Display List
    addChild(loader);
    // Check loading progress
    loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,
    checkProgress);
    // Update progress bar
    function checkProgress(e:ProgressEvent):void
    var percent:int = (e.currentTarget.bytesLoaded /
    e.currentTarget.bytesTotal) * 100;
    loadingBar.text = String(percent + '%');
    mcLoadingBar.width = percent;
    // Check when content is loaded
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE,
    contentLoaded);
    // Remove the progress bar objects
    function contentLoaded(e:Event):void
    removeChild(loadingBar);
    removeChild(mcLoadingBar);
    removeChild(loadingBarBorder);
    The PhotoViewer.fla file has the following code....
    quote:
    init("Portfolio-Identity.xml");
    And the PhotoViewer.as file has the following code (see
    attached below)
    Hope this helps.
    Ta,
    M.

  • Problem loading SWF file in FlashIsland

    Hey,
    I am trying to use FlashIsland for ABAP WebDynpro.
    Unfortunately the SWF File is not loading. When I type the URL to the SWF File directly to the browser, the SWF file loads correctly.
    In the header I have posted the statement: initialize="initApp()". My initApp I have implemented, too (see below).
                   import sap.FlashIsland;
                   public function initApp():void
                        FlashIsland.register(this);
    What can be the problem there?
    First I thougt it might be a problem of my Internet Explorer configuration or the customizing of the SAP System. But when I execute the WDR_TEST_FLASH_ISLAND application everything works fine there.
    Thanks in advance for your help.
    Kind Regards,
    Thomas Weber

    So,
    I installed Flex Builder 3 with the Standard SDK 3.2.
    Now i implemented a very simple Flex Project again:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" initialize="initApp()">
         <mx:Script>
              <![CDATA[
                   import sap.FlashIsland;
                   public function initApp():void
                        FlashIsland.register(this);
              ]]>
         </mx:Script>
         <mx:Label x="166" y="115" text="TEEEEESSSSSSSSSTTTTTT" width="399" height="161" id="LBL_TEST" enabled="true"/>
    </mx:Application>
    I get the same behavior like explained before. The Flash is not loading at all!
    And again I cant do any right click on the page. I get an empty page loaded...
    Please help me! What can be the problem?
    Nice regards,
    Thomas

  • Problem - loading .swf's

    I have a main movie published as a projector file (.exe) from
    Flash. This file needs to load other .swf-movies into it and it
    works flawlessly on my computer.
    However, when I copy the files and place them on other
    computers the main file works fine but the sub-.swf's will not load
    into the main movie.
    Does anyone have experience with this type of problem and how
    to solve it?
    Thanks.

    My problem has been solved - this discussion provided the
    solution:
    http://www.jetfly.no/flash/archives/000068.html
    It turns out that if you want to run a Flash presentation on
    your hard drive the external applications (in my case a bunch of
    .SWF's) must be placed inside of a directory THAT DOES NOT CONTAIN
    ANY SPECIAL CHARACTERS OR SPACES!!! A Flash Player 8 bug I
    suppose.

  • Problem loading swfs.

    Hello, I got a problem with actionscript, I am not that good at it, but I know many programing languages so I guess its not that hard to understand
    what it does, however.
    What I want is, I have 2 swfs exported from Adobe After Effects, the one is continiously looping and the other is simply running just once,
    and I want these 2 swfs to play the one after the other.
    I try to load them as seperated frames so that the last frame loops again and again. But it seems I can't. I tried many techniques. So tell me urs.

    Danis0 wrote:
    Hello, I got a problem with actionscript
    Then why not post in the ActionScript forum?

  • Problem Loading swf with MCL class

    Hey, I am relatively new to actionscripting and am having a
    bear of a time trying to figure out why this won't
    load.....basically i am trying to use the movieClipLoader class to
    call up a swf..... so basic i know..This is my script
    any help here?

    does container exit on the timeline that contains your code?
    is master.swf in the same directory with your flash swf and
    html?

  • Problem loading .swf embedded with HTML

    Hi All,
    I have embedded .swf file with HTML. It is working fine with
    win xp and win 2003. But not working on win 2000 server.
    I have set the MIME in IIS for .swf.
    Please let me know what setting I should configure.
    Thanks,
    Aung

    does container exit on the timeline that contains your code?
    is master.swf in the same directory with your flash swf and
    html?

  • Problem inserting .swf in dreamweaver 8.Help!!

    Hi everybody.I have a problem since a lot of time jaja.I habe
    problems inserting .swf files in dreamweaver 8.I can insert, when I
    press f12 to see in Internet Explorer you see the movie, but when
    you put mouse over the banner I design.This has a bad behavior, it
    transform to hand, because the banner is a buttom, and again
    transform in default mode and it doesn`t stay in buttom form.When I
    did the flash, I saw the .sfw file in HTML, that generated the same
    Flash, and it look good, and had a hood behavior, but when I insert
    in dreamweaver 8 it doesn`t work correctly.I download the
    Dreamweaver 8 Update 2. Now I have Dreamveaver 8.0.2 or something
    like that.
    I think that the problems is in the form that Dreamweaver
    Insert the .swf file.
    My way is Insertar - Media - Flash.
    Somebody can help me? this problem I can´t resolved and
    I new whit this.
    English is not mi first Language, sorry if I had mistakes.

    ok....
    i installed php 5.2.10
    and downloaded php-5.2.10 zip file i found .dll
    its ok
    but in next help topic (testing PHP installation (Windows) )
    [http://livedocs.adobe.com/dreamweaver/8/using/gs_18_q7.htm]
    i didnt gt the result...
    what may be the problem?
    plz advice
    thanks in advacne

  • Loaded SWF file CANNOT be made into button DIRECTLY?

    I'm experiencing a problem which may have no solution, but I
    would like to know why I cannot do what I want to do.
    PROBLEM:
    I am attempting to load in an external SWF file and once it
    is loaded, I wish to directly make the new Sprite/MovieClip into a
    button. However, the newly loaded Sprite/MovieClip seems to be
    resistant to be made into a button DIRECTLY. I would like to know
    why this is.
    WORKAROUNDS:
    Here are a couple of workarounds, but again I wish to know
    why I cannot do what I want to do.
    1) I place the new Sprite/MovieClip into an empty Sprite on
    stage and make the once empty sprite into a button.
    2) Construct the external SWF in such a way so i can refer to
    a MovieClip within the SWF file and make that MovieClip into a
    button.
    CODE EXAMPLE:
    I am loading a SWF file thru a Loader and then taking the
    loaded SWF file and adding it to an existing sprite on the stage. I
    then attempt to make a button out of the newly loaded swf file, but
    it fails to be clickable.
    The following is some quick code to illustrate my problem. I
    already have workarounds in place, so please let me know WHY the
    following code is impossible. thanks!
    ==============================================================================

    There should be no problem with what you are trying to do. If
    you want someone to look at what you've done, you have to be
    careful to show that and not possibly errant code because that is
    the substance of your post and what you requested be looked at--we
    cannot guess what you may have done wrong in setting things up or
    for code that you do not show.
    I tried your code before posting my response and it worked
    fine except for your error with the COMPLETE aspect. I did not
    utilize any objects for loading things into, so I suggest you look
    there.

  • Problem loading external swf's

    Hi
    I'm creating an application where the user uses the ARROW KEYS to navigate around the menus and SPACEBAR to continue.
    On the first screen is the main menu that launches external swf's. (I have it as an exe)
    When I play the external swfs individually in the Flash Player.......the navigation is perfect and runs smoothly.
    But when I launch the external swf's through the first screen (menu).....the loaded swf becomes very slow/sluggish to react when I hit the ARROW KEYS.
    (eg. have to hit the arrow key 3/4 times before it moves)
    The frame rate in each fla is the exact same.
    I use the levels to launch the external swf..............I have also used the "load into an empty movieclip" and the outcome is still the same.
    I'm using CS5.
    What could be the problem???
    Thanks for your help.

    In the 3 external swfs, I have in each around 10 scenes. In each scene I have 6 frames with a stop() command in each frame.
    On the selected button in each frame I have the following code: (using actionscript2)
    on (keyPress "<Up>") {
         gotoAndStop(3);
    on (keyPress "<Down>") {
         gotoAndStop(1);
    on (keyPress "<Space>") {
         gotoAndStop("scene02", "firstframeLabel");
    This code is consistant through the 10 scenes.
    On the menu swf; I have a menu system that launches the 3 external swf.
    One scene, using 3 frames with a stop() command in each frame.
    On the selected button in each frame I have the following code: (using actionscript2)
    on (keyPress "<Up>") {
         gotoAndStop(3);
    on (keyPress "<Down>") {
         gotoAndStop(1);
    on (keyPress "<Space>") {
        loadMovie ("application01.swf", 30);

  • I.E./Active X problem loading movie with multiple .swf

    I have a webpage that loads .swf's into a main "container"
    swf, and I've found a fix for the I.E./Active X (this is a good
    bookmark:
    http://www.kirupa.com/developer/flash8/flash_fix.htm
    ). But the container seems to get stuck on the preloader now? Any
    ideas?
    PROBLEM PAGE HERE
    WORKING PAGE HERE

    FRAME 1:
    System.useCodepage = true;
    main="";
    pageNum=1;
    if (_framesloaded > 50){
    //if (_framesloaded == _totalframes){
    gotoAndStop (8);
    } else {
    gotoAndPlay(1);
    FRAME 7:
    gotoAndPlay(1);
    FRAME 8:
    if (whichFrame == "return"){
    gotoAndStop (20);
    less6.gotoAndStop(2);
    } else {
    gotoAndStop("splash");
    FRAME 20:
    if (_framesloaded == _totalframes){
    gotoAndStop ("p14");
    } else {
    gotoAndPlay(10);
    }

  • Problem using swf loader

    When i try to run the mxml individually, It run correctly. As soon as i include it in another mxml using SWFLoader , the components stop working properly. It reflects the data sometime while sometime it doesnt. If i press browser refresh button , the components starts working
    again.
    here is the code snippet for the mxml where i load another swf file using swf loader.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    xmlns:views="com.views.*" viewSourceURL="srcview/index.html" styleName="AppBack" height="100%" width="100%" initialize="init()" layout="vertical">
    <mx:Style source="assets/css/Main.css" />
         <mx:TabNavigator id="tn" height="100%" width="100%" top="-1" right="0" left="0" paddingTop="0" >
         <mx:Canvas label="Home" paddingTop="0" paddingLeft="0" paddingRight="0" paddingBottom="0">
             <mx:SWFLoader id="loader0" source="AddDeleteAccess.swf" height="100%" width="100%" x="0" y="-15"/>
         </mx:Canvas>
         </mx:TabNavigator>
    </mx:Application>
    The Home.swf contains a conbo box and a datagrid.
    The combo box stops working sometime and after the browser refresh is click it starts working.
    if required i can also paste the code of the file which is being loaded.

    scale your loader so it fits the way you want.  ie, if your loaded swf is 800x600 (with nothing on the back-stage) and you're loading into a 350x375 swf, after loading is complete, use:
    loader.width *= 350/800;
    loader.height *= 375/600;

  • Can button in loaded SWF file unload or close the file ?

    Hi,
    I am loading 2 SWF files A and B, I have a button on each.
    When I press button on SWF A it loads SWF B. However I cannot get
    the button to close / unload the SWF A.
    Is this possible ?
    To Load I am using:
    Thanks,
    Paul

    No.I am using Loader since I dont need to pass one URL for fetching swf content.I need to get the displayobject from ByteArray which should be free from all the security issues.I heard that we cannot set 'securityDomain' property of loaderContext (using in Loader) in AIR.So please give a solution for getting bytes.

Maybe you are looking for

  • How can i unlock my iPhone, how can i unlock my iPhone

    i have an iPhone with IMEI number. i want to unlock this iPhone. someone can help me with? <Edited by Host>

  • HP Network Printer periodically prints a page from a web crawler

    I support a HP Color LaserJet CP2025dn which ocassionally prints a page that says: GET http://www.baidu.com/ HTTP/1.1 Host: www.baidu.com Accept: */* Pragma: no-cache User-Agent: Sometimes the GET HTTP/1.1 statement is from  http://www.sciencedirect.

  • Cant view dowloanded movie on windows PC but have been charged.

    I purchased a movie and received email notification of card being charged - I  cannot locate the downloaded movie anywhere it doesnt show in itunes under purchased [ i use a windows PC not mac]. It doesnt shopw up on iph4 either.

  • Dummy business place

    hi experts, I`m looking for inputs on use of dummy business place with respect to WHT (TDS & TCS) configuration for India. Under the current scenario, we have multiple business place and one section code to be setup. But I need inputs on whether we n

  • Can't start the console!

    Hi,All I recently install iPDS on the Linux,the first time is not successful,couldn't find the domain name,then I deploy the DNS,and install successfully,but when I "startconsole", it appears: sh: -c: line 1: syntax error near unexpected token `http: