LoadMovie working in Flash Player, but not when posted online

I have built a website
utilizing Dreamweaver and Flash. This page:
http://www.tonystubbs.com/print.html
has a link under "print" called "catalog". It is supposed to load a swf file when clicked. It works when I view it in Flash Player, but when I import it into Dreamweaver and post it, it isn't working.

It is likely an issue with file location/targeting since you appear to be loading the swf into the html page from a separate folder.  When you do that, any files that the swf file loads need to be targeted as if that swf is in the same folder as the html file.  So if your other swf is also in the images folder, then when you specify to load it in the Flash file you need to include the images folder in the path.

Similar Messages

  • .swf working when opened with Flash Player but not when opened with Mozilla

    I'm having a problem with the .swf I created.
    It works fine when I open it on my computer with Flash Player.
    When I attempt to open it with Mozilla:
    - it wont play or allow a button to navigate to Frame 3.
    -it will allow another button to fullscreen the .swf and bring it back to small screen.
    This also happens when Flash Professional creates the HTML. (Autoplay = true)
    Is there some restrictions on AS3 when used on a webpage that don't apply when Flash Player is used independently?
    I've been trawling through the forums without any luck
    Any help would be very much appreciated
    Thanks

    Hey,
    Yes there are some links but when using the right click menu to play the swf the links are there and working.
    Thanks Ned for your intrest and attempt to help! It gave me courage to dig deeper.
    After a rest and feeling less presure - I discovered the problem.
    When in webpages you can't automatically Fullscreen - its fine if on a button though. I had to take out the line below
    stage.displayState=StageDisplayState.FULL_SCREEN;
    Cheers

  • Works in Flash player but not from Browser

    I know this has shown up in the forum before but I must be using the wrong search terms because I can't find it.
    I've created a Flash file that reads from several different xml files and displays them when requested. When I run the Flash player, (by pressing Command-Space within Flash), it all works flawlessly. But when I open it within a browser, only one of the xml files loads, the other two just spin away on the preloader.
    I have another Flash file that is doing the same thing. A click on a scrolling new list should take you to another web page. In Flash Player it works fine, but from a Browser nothing happens.
    Anyone know why this is?
    thanks

    As odd as it may seem, the tip-off to the problem may be:
    " When I run the Flash player, (by pressing Command-Space within Flash), it all works flawlessly"
    If any of your Flash assets are in a different folder than the HTML Web page... then testing the .swf directly like that should NOT work!
    It's most likely a pathing issue:
    Pathing issues
    Almost always when it works on the local machine and not the server, it's a pathing problem.
    You can put your Flash related files in whatever folders you want, they do NOT have to be in the root, they do NOT all have to be in the same folder. But if you have a problem and if sticking them all in the root folder works, then you know that the issue was a pathing problem.
    Just remember that paths used in the .swf become relative to the Web page on which the .swf is placed, NOT it’s physical location.  So for example, if your .swf is in the flash/data folder and you use that .swf on a Web page in the root folder, you are in effect, removing that .swf from flash/data and putting it in root. So if the .swf is loading any related files (xml, images, video, etc), the path used inside the .swf to load the .xml file has to be relative to it's new location in root and then back down into flash/data. This is true even though when testing the .swf by itself, it can be inside flash/data and work just fine, since relative to it's location, the path is just fine, they are in the same folder. But if that same path is used when the .swf is placed on a page two folder levels up, the relative path has changed, the old "same folder" path will not work.
    In fact if you are placing the .swf on a web page in a different folder than the .swf is stored in, and that .swf calls external assets, then direct clicking and opening of the .swf in it’s folder should NOT work! That’s because the paths to the external assets should be relative to the Web page and not the physical location of the .swf.
    So just be sure that you use addresses relative to the final Web page locations (not physical file locations) and you can put the Flash related files in what ever folders you want.
    Best wishes,
    Eye for Video
    www.cidigitalmedia.com
    Best wishes,
    Adninjastrator

  • Flash works in Flash editor but not when puiblished

    Hi
    I have got my flash working fine in the editor but when I
    publish it, neither opening it in IE from the hard drive, nor from
    the internet works.
    The animation works fine, but there should be images loaded
    onto the animated squares and there's not.
    Any thoughts?
    Thanks

    LLuis12 wrote:
    > Hi
    >
    > I have got my flash working fine in the editor but when
    I publish it, neither
    > opening it in IE from the hard drive, nor from the
    internet works.
    >
    > The animation works fine, but there should be images
    loaded onto the animated
    > squares and there's not.
    My guess is your paths are wrong to the loaded content. Done
    for local view
    not for html. Make sure the paths to files are a ok.
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Spartan support Flash Player but not silverlight!.

    why spartan(0.11.10061.0), support Flash player but not silverlight?

    Chrome supports flash natively.
    I guess they don't want consumers to move to Chrome because some web sites work on Chrome and not Spartan.
    Spartan is supposed to be a cut down super lightweight super fast browser.
    Running Silverlight/ActiveX in the browser is considered low priority by Microsoft.
    I think the idea is you use IE11 if you want Silverlight.
    http://blogs.msdn.com/b/ie/archive/2015/01/22/project-spartan-and-the-windows-10-january-preview-build.aspx
    Should you work in one of those enterprise companies.
    Or want to use Netflix, SkyGo etc etc.
    Hope that helps.
    Technet articles: Uneventful MVVM;
    All my Technet Articles

  • Flex mobile 4.6 app works inside flash builder but not in android emulator

    Originally posted on stackoverflow: http://stackoverflow.com/questions/8663892/flex-mobile-4-6-app-works-inside-flash-builder- but-not-in-android-emulator
    I have a basic flex mobile 4.6 app and it works fully fine in the flash builder built-in emulator using an android device profile like aria...
    It also launches fine in the android emulator but one particular view shows blank (and this view works fine in flash builder).
    Before I get in to many details of the view are there any categorical gotchas that can be causing this?
    I can't seem to get the trace statements from the app to show in 'adb logcat'. It seems I need to compile a debug version of the apk but I don't know how to do this. I use the 'Export Release Build' from the Project menu in flash builder and it doesn't seem to have an option for debug=true.
    The problematic/blank view basically uses the stagewebview and iotashan's oauth library to call linkedin rest apis... A different (and working) view can make restful web service calls in the emulator fine, so it doesn't seem to be an internet permission.
    The source code contained in the problematic/blank view is almost identical to the tutorial found at:http://www.riagora.com/2011/01/air-and-linkedin/
    The differences are: a) The root tag is a View b) I use StageWebView instead of HtmlContainer c) I use my own linkedin key and tokens.
    I would appreciate it if someone can provide me with some pointers on how to troubleshoot this situation. Perhaps someone can tell me how to debug the app while running in the emulator (I think I need the correct adt command arguments for this which matches the 'Export Release Build' menu but adds the debug param?)
    Thanks for your help in advance.
    Comment Added:
    I suspect that this has to do with connections to https:// api.linkedin.com and https:// www.linkedin.com. The only reason I can think of that the same code is not having issues inside of Flex Builder but indeed having issues in the Android emulator is something to do with certificates. Any ideas?

    Thanks er453r,
    I have created a project that clearly reproduces the bug.  Here are the steps:
    1) Create a UrlLoader and point it to https://www.google.com (HTTPS is important because http works but HTTPS does not)
    2) Load it
    3) Run in Flash Builder 4.6/Air 3.1 and then run in Android emulator.  The former works with an http status 200.  The latter gives you an ioerror 2032.  I am assuming what works in Flash Builder is supposed to work in the Android Emulator and what what works in the emulator is supposed to work in a physical device (plus or minus boundary conditions).
    I see a certificate exception in adb logcat but not sure if it's related...
    Here is the self contained View code which works with a TabbedViewNavigatorApplication:
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark"
                        xmlns:mx="library://ns.adobe.com/flex/mx"
                        xmlns:ns1="*"
                        xmlns:local="*"
                        creationComplete="windowedapplication1_creationCompleteHandler(event) "
                        actionBarVisible="true" tabBarVisible="true">
              <fx:Script>
                        <![CDATA[
                                  import mx.events.FlexEvent;
                                  protected var requestTokenUrl:String = "https://www.google.com";
                                  protected function windowedapplication1_creationCompleteHandler(event:FlexEvent):void
                                            var loader:URLLoader = new URLLoader();
                                            loader.addEventListener(ErrorEvent.ERROR, onError);
                                            loader.addEventListener(AsyncErrorEvent.ASYNC_ERROR, onAsyncError);
                                            loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
                                            loader.addEventListener(HTTPStatusEvent.HTTP_RESPONSE_STATUS, httpResponseStatusHandler);
                                            loader.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
                                            var urlRequest:URLRequest = new URLRequest(requestTokenUrl);
                                            loader.load(urlRequest);
                                  protected function requestTokenHandler(event:Event):void
                                  protected function httpResponse(event:HTTPStatusEvent):void
                                            label.text += event.status;
                                            // TODO Auto-generated method stub
                                  private function completeHandler(event:Event):void {
                                            label.text += event.toString();
                                            trace("completeHandler data: " + event.currentTarget.data);
                                  private function openHandler(event:Event):void {
                                            label.text +=  event.toString();
                                            trace("openHandler: " + event);
                                  private function onError(event:ErrorEvent):void {
                                            label.text +=  event.toString();
                                            trace("onError: " + event.type);
                                  private function onAsyncError(event:AsyncErrorEvent):void {
                                            label.text += event.toString();
                                            trace("onAsyncError: " + event);
                                  private function onNetStatus(event:NetStatusEvent):void {
                                            label.text += event.toString();
                                            trace("onNetStatus: " + event);
                                  private function progressHandler(event:ProgressEvent):void {
                                            label.text += event.toString();
                                            trace("progressHandler loaded:" + event.bytesLoaded + " total: " + event.bytesTotal);
                                  private function securityErrorHandler(event:SecurityErrorEvent):void {
                                            label.text +=  event.toString();
                                            trace("securityErrorHandler: " + event);
                                  private function httpStatusHandler(event:HTTPStatusEvent):void {
                                            label.text += event.toString();
                                            //label.text += event.responseHeaders.toString();
                                            trace("httpStatusHandler: " + event);
                                  private function httpResponseStatusHandler(event:HTTPStatusEvent):void {
                                            label.text +=  event.toString();
                                            trace("httpStatusHandler: " + event);
                                  private function ioErrorHandler(event:IOErrorEvent):void {
                                            label.text +=  event.toString();
                                            label.text += event.text;
                                            trace("ioErrorHandler: " + event);
                        ]]>
              </fx:Script>
              <fx:Declarations>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
              </fx:Declarations>
              <s:Label id="label" y="185" width="100%" color="#0A0909" horizontalCenter="0" text=""/>
    </s:View>

  • Fixed headers while scrolling works fine in bids but not when deployed to reportserver

    Hi, I am using SQL Server 2008 R2 & deploying a report to reportserver with fixed headers while scrolling, this works fine in bids but not when deployed to reportserver. We are IE 9.
    Thanks in advance...............
    Ione

    Hi ione721,
    Since you have identified the 2 xml files are identical, according to my knowledge, there maybe a compatibility issue with IE 9 and SSRS 2008 R2, so I suggest that you could run the report in compatibility mode. Please make sure you have turned on Compatibility
    View in Internet Explorer 9 by following steps:
    When Internet Explorer recognizes that a webpage is not compatible, you will see the Compatibility View button on the Address bar. Try clicking it.
    When Compatibility View is turned on, the button changes from an outline to a solid color when you view the page.
    The following screenshots are for your reference:
    If you have any questions, please feel free to let me know.
    Best Regards,
    Wendy Fu

  • Swf works in Flash App but not online!

    Hi Guys,
    I am sitting with a situation I cannot figure out.
    In The Flash Application, my gallery is working as it is meant to. Yet, when I upload the swf to the live site, the first image, text and movie of my gallery works but it refuses to scroll to the next item in my XML.
    I have given it an absolute path to that server which works in Flash but not when it is online.
    Has someone come across this anomaly before? I don't even know where to begin debugging.
    Thanks!

    Hi,
    Better u check the XML image names and the image path are correct.
    becoz case sensitive in online..
    Saransoft

  • Load swf works in Publish Preview but not when published

    Hi Folks,
    I having a problem where im trying to load two 1mb SWF movies into my Flash piece. It works fine in Publish Preview but not when I finally publish. I get this error in IE:
    SecurityError: Error #2000: No active security context.
    I have googled around and there is some talk online of a hack where by you get a timeout to overcome this. However im not so technical do I dont really know how to do this to my code in AS3. My code at the moment is below.
    Any help would be much appreciated and rewarded with Karma
    movieClip_12.addEventListener(MouseEvent.CLICK, fl_ClickToLoadUnloadSWF_9);
    var fl_Loader_9:Loader;
    //This variable keeps track of whether you want to load or unload the SWF
    var fl_ToLoad_9:Boolean = true;
    function fl_ClickToLoadUnloadSWF_9(event:MouseEvent):void
    if(fl_ToLoad_9)
      fl_Loader_9 = new Loader();
      fl_Loader_9.load(new URLRequest("search.swf"));
      addChild(fl_Loader_9);
    else
      fl_Loader_9.unload();
      removeChild(fl_Loader_9);
      fl_Loader_9 = null;
    // Toggle whether you want to load or unload the SWF
    fl_ToLoad_9 = !fl_ToLoad_9;
    movieClip_14.addEventListener(MouseEvent.CLICK, fl_ClickToLoadUnloadSWF_10);
    var fl_Loader_10:Loader;
    //This variable keeps track of whether you want to load or unload the SWF
    var fl_ToLoad_10:Boolean = true;
    function fl_ClickToLoadUnloadSWF_10(event:MouseEvent):void
    if(fl_ToLoad_10)
      fl_Loader_10 = new Loader();
    fl_Loader_10.load(new URLRequest("refunds.swf"));
      addChild(fl_Loader_10);
    else
      fl_Loader_10.unload();
      removeChild(fl_Loader_10);
      fl_Loader_10 = null;
    // Toggle whether you want to load or unload the SWF
    fl_ToLoad_10 = !fl_ToLoad_10;

    I think this is either a problem with my site preLoader or my external .swf Loader. I was checking out the bandwith profiler and saw something weird and I wondered if anyone could explain...I've added a picture. I have a blank frame on only my actions layer to export classes to and it seems that frame 2 is "bleeding" into frame 1. Could this be my problem? Why would this happen? Thanks

  • Podcast - works on iTunes page but not when subscribed

    Hi, I produced my podcast, submitted the feed through iTunes store and was validated. However, it happens so that people can listen to the podcast on iTunes page but not when they subscribe to it and try to download. error points to URL issues apparently. Help.

    It works perfectly well for me. On subscribing I saw all three episodes and downloaded and played Episode 2 without any problems. The only explanations I can suggest are that either some of your subscribers are having some sort of technical issue at their end: or that your server is intermittently sulking and failing to respond to requests. Try playing the episode from this link a few times on spaced-out occasions and see whether you ever get a failure:
    http://thecricketcouch.com/CouchTalk/CouchTalk-AntSims-SanaKazmi-062611.mp3

  • Installed Flash Player but not working

    I've installed the Flash Player Version 9 and when I try to
    use an application that requires this software I get a pop up box
    asking me to install Macromedia Flash Player, even though it is
    installed. I have read through your forums, check registry
    settings, uninstalled and reinstalled, run the microsoft subinacl
    patch all to no avail.
    Why doesn't it play?

    I was having the exact same problems mentioned in this topic.
    Uninstalled/installed Flash and Shockwave. Used the appropriate
    uninstaller, searched for rogue .dll extension files, cleaned out
    the C:\Windows\System32\Macromedia\Flash files, looked at the
    manage add-ons, posted on this forum, e-mailed Adobe, spoke with
    them on the phone and even uninstalled IE7 and went back to IE 6.
    None of that helped.
    Reading through some of the responses on various posts, I
    found the following:
    Uninstall flash with the latest Adobe stand alone uninstaller
    Download Complete Standalone installer Flash Player 9 earlier
    version from
    http://www.softwarepatch.com/internet/flash.html
    Uninstall shockwave with the latest Adobe stand alone
    uninstaller
    Download Stand-alone installers for Shockwave Player:
    previous versions only
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_18629
    Note: Users of Windows XP operating system must use the 8.5.1
    Shockwave player or higher. For more information, please
    seeInstalling the Shockwave Player on Microsoft Windows XP
    (TechNote tn_15924).
    Windows Shockwave Player 9.0.0.434
    I tried this last night - one and then the other one - and
    they both are running fine.
    Hope this helps someone else.

  • Works in Flash preview, but not on webpage?

    I'm using this code to externally load a .swf into my site. I made sure all the files were uploaded. I'm sure, because I can even find the .swf on the site, it just won't show up on the main page. (for example, I can find it at www.mysite.com/flashfolder/animation.swf, but not in it's place at www.mysite.com)
    Here's the code I'm using:
    createEmptyMovieClip("anim", 0);
    anim.loadMovie("animation.swf");
    anim._x = 156;
    anim._y = 515;
    It's inserted into the actions panel of a new layer in the main Scene 1 timeline in my .fla project. It works when I preview it (ctrl+enter), but when I upload everything to the site, it doesn't show up?
    Anyone know what may cause/why this is happening?
    Thanks for your help in advance!

    Is the file that is loading animation.swf also in the same folder?

  • Scroll script works in Flash 6, but not in 9

    I have a simple scroller script that works fine for scrolling
    a movieclip in Flash 6, but when I publish in anything later, it no
    longer scrolls. Both are set to AS2. Is there an obvious reason
    that anyone can see of why this should be? When I test the script
    syntax in the actions panel, it says there are no errors in the
    script. By tracing I can see that there's no trouble with targeting
    the up and down buttons or scroll slider, and the slider still
    drags, but the content MC doesn't move as it should. Thank you very
    much for your help, in advance. Here's the script, in case the
    answer isn't obvious from the description:

    You were right! It works now, even as posted above. I just
    remembered I had fixed an upper/lower case inconsistency just for
    neatness since I last tested, never thinking that would fix the
    problem! I just tested again and to my surprise, it works great. I
    guess neatness does count!!! Thanks again, kglad!

  • Works fine in debug but not when published

    So I have simple navigation code setup to step through frames (I'm using Flash instead PowerPoint--too many pictures that are PSDs and illustrations that are AIs to do the conversions over to something PowerPoint understands).
    The code:
    stop();
    stage.addEventListener(KeyboardEvent.KEY_DOWN, slideNav);
    function slideNav(event:KeyboardEvent):void
    switch (event.keyCode)
      case Keyboard.DOWN:
       nextFrame();
       break;
      case Keyboard.UP:
       prevFrame();
       break;
      case Keyboard.HOME:
       gotoAndStop(1);
       break;
      case Keyboard.END:
       gotoAndStop(this.totalFrames);
       break;
    When I test it using the debug (Ctrl+Shift+Enter) it works fine.  When I publish it, the up and down arrows work but the Home and End keys do not work.  They do nothing, no error messages, nothing.
    Using Flash CS4 Pro 10.0.2.  ActionScript 3.  Windows 7 64-bit.
    Any suggestions?
    Thanks.

    Nevermind.  That was stupid of me.  Have to disable the keyboard shortcuts or it doesn't work.

  • Report works in Crystal Reports, but not when scheduled in Crystal Server

    Hi,
    I have a pretty simple report designed in Crystal Reports 2008. Basically it shows a list of call notes (memo field) from customer activities in our CRM system. The report works fine in Crystal reports, but when run or scheduled in Crystal Server 2008 the output is always blank. Furthermore, the page format etc. is "lost" in crystal server, so that the output is PDF of a quadratic blank sheet (not my standard A4 format)... Exporting to other formats - excel, Word etc. all gives the same result.
    I have tried to strip out various formulas, formatting etc from the report, but nothing helps. Which leads me to thinking that the real problem is that the report contains a memo field? Anyone else had this problem?
    wkr
    Claus
    Edited by: Claus Poulsen on Nov 9, 2010 3:34 PM

    Hi Claus,
    I've had issues between what Crystal does and what the Report Server does.  To resolve this, we found out Crystal Reports 2008 latest service pack has some things that will fix Server 2008 and they aren't in the latest Server update. 
    We updated Crystal Reports 2008 on our machines.  Installed the latest update for Crystal Server and then installed Crystal 2008 on the Report Server and installed the Crystal Reports 2008 update.  A lot of our compatibility issues went away after that. 
    Good luck,
    Brian

Maybe you are looking for

  • Importing of Open sale order through DTW

    Hi Experts,          Please explain how to upload open sale quotation,sale order,delivery,A/R Invoice.And what are the templates names for this. Regards' silpa

  • [Athlon64] whats wrong with my MB?

    i have 768mb of ram in my pc. runs fine. then i installed one more 256 mb of ram and my pc goes crazy. when i turn on the pc i always get error. says that it has uncover an error and had to shut down. i have a k8t neo with amd 64bit processor. anybod

  • JDK 1.3.1_07 Hotspot Internal Error on Sparc Solaris 8 (10/01)

    OS: Solaris 8 - version 10/01 on sparc architecture JDK: 1_3_1_07 Error is: # HotSpot Virtual Machine Error, Internal Error # Please report this error at # http://java.sun.com/cgi-bin/bugreport.cgi # Error ID: 52554E54494D450E4350500624 01 # Problema

  • Notes are gone on Macbook Pro after updating to OS X Mavericks

    Right after my mac restarted itself for the OS X Mavericks update, I looked in my notes and literally everything was gone. I unfortunately didn't have them backed up to anything, so they're most likely gone unless Apple can help me with that. But, ne

  • Xi integration testing

    Hi All, what are the main things we do in integartion testing... Can some one brief me...