Accessing local swf file

I have an odd problem that doesn't seem to be addressed. I have a web site that uses a combination of js and swf files to load and display thumbnails which then uses flash to resize them and flash player to display them. With the latest flash player and Firefox update, everything works fine when live. It also works fine when opened locally in IE8 and Chrome. However, these files won't load locally in Firefox since the updates, although they work fine when live.
Rolling back flash player might work, but I hesitate since everything is working except for this one thing

Just to clarify..the problem occurs only in the flash section of the page. It will not load this section.
I'm using file://protocol and have no problems with anything else. I don't know the number of the firefox version, but this only occurred with the latest update. I allowed both flash and firefox updates at the same time.
I use relative paths which work everywhere else and open the html in the browser locally by either clicking the html file or File>Open File>Page Source
Flash trusted locations is one of the first things I did. Works fine for all other browsers.
I'm wondering if there is some connection to the new protected mode. Flash site says they are not supporting WindowXP with this, but it also says it will allow old security rules if on trusted location. Totally baffled.
The only other possibility I can think of is the coding. I have some problem there that I haven't addressed yet. But in saying that, it does work when live, so that doesn't seem overly likely.

Similar Messages

  • Cannot access local resource file

    When I run my application on browser these error comes, I have found to change right click on project>properties>flex build path>libary path> framework linkage to "Merge into code"not working,
    I have also changed right click on project> properties>Flex compiler> Additional compiler arguments - -locale en_US to some -network false still its not working
    and undid whatever change i made,
    Help!
    SecurityError: Error #2148: SWF file http://localhost/aamshare-debug/aamshare.swf cannot access local resource file:///C|/wamp/www/aamshare-debug/media/bse.png. Only local-with-filesystem and trusted local SWF files may access local resources.
        at flash.display::Loader/_load()
        at flash.display::Loader/load()
        at mx.controls::SWFLoader/loadContent()[C:\autobuild\3.2.0\frameworks\projects\framework\src \mx\controls\SWFLoader.as:1611]
        at mx.controls::SWFLoader/load()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\con trols\SWFLoader.as:1380]
        at mx.controls::SWFLoader/initializeHandler()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\controls\SWFLoader.as:1971]
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.2.0\frameworks\projects\framework\src \mx\core\UIComponent.as:9298]
        at mx.core::UIComponent/set processedDescriptors()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UICom ponent.as:1217]
        at mx.core::UIComponent/initializationComplete()[C:\autobuild\3.2.0\frameworks\projects\fram ework\src\mx\core\UIComponent.as:5395]
        at mx.core::UIComponent/initialize()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx \core\UIComponent.as:5379]
        at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\autobuild\3.2.0\frameworks\pro jects\framework\src\mx\core\UIComponent.as:5267]
        at mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::childAdded()[C:\autobuild\3.2.0\frameworks\pro jects\framework\src\mx\core\Container.as:3305]
        at mx.core::Container/addChildAt()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\c ore\Container.as:2217]
        at mx.core::Container/addChild()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\cor e\Container.as:2140]
        at mx.core::Container/createComponentFromDescriptor()[C:\autobuild\3.2.0\frameworks\projects \framework\src\mx\core\Container.as:3681]
        at mx.core::Container/createComponentsFromDescriptors()[C:\autobuild\3.2.0\frameworks\projec ts\framework\src\mx\core\Container.as:3493]
        at mx.containers::ViewStack/instantiateSelectedChild()[C:\autobuild\3.2.0\frameworks\project s\framework\src\mx\containers\ViewStack.as:1140]
        at mx.containers::ViewStack/commitProperties()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\containers\ViewStack.as:664]
        at mx.core::UIComponent/validateProperties()[C:\autobuild\3.2.0\frameworks\projects\framewor k\src\mx\core\UIComponent.as:5807]
        at mx.managers::LayoutManager/validateProperties()[C:\autobuild\3.2.0\frameworks\projects\fr amework\src\mx\managers\LayoutManager.as:539]
        at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects \framework\src\mx\managers\LayoutManager.as:659]
        at Function/http://adobe.com/AS3/2006/builtin::apply()
        at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framew ork\src\mx\core\UIComponent.as:8628]
        at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framewo rk\src\mx\core\UIComponent.as:8568]

    Since you are loading your swf over http, it will be placed in a remote sandbox and will not be able to access the local filesystem. You should load your png in the same way as your swf (ie. over http), or embed it into your application.

  • Loading local swf files from Application Dir (ios)

    Hi Guys,
    I would like to load additional local swf files to my ios release build but I am confused a little bit because of the new API changes.
    As far as I know at the moment (from Air 3.7 or newer) it is allowed to load local swf files that contains compiled actionscript both from local folder and from a predefined remote host as well. 
    My assumption based on this article:
    http://blogs.adobe.com/airodynamics/2013/03/08/external-hosting-of-secondary-swfs-for-air- apps-on-ios/
    I created the text file to include all of my local swf file names and created the following node in the application.xml:
    <iPhone>
           <externalSwfs>assets/SampleSWFInfoFile.txt</externalSwfs>
    </iPhone>
    When I compile the release build (ipa) using command line adt, it converts all of my local swfs into the stripped swfs which is perfect, but even though I include all the swfs in the compiler command, it puts only the SampleSWFInfoFile.txt file into the assets folder in the ipa but not the swf files.
    I assume, it thinks I will load these files from an external host, but I would like to include them in the app itself.
    I tried to copy the stripped swf files from the externalStrippedSwfs folder and comment the <externalSwfs>assets/SampleSWFInfoFile.txt</externalSwfs> node in the application.xml and compile it and this way it puts the swf files into the ipa, but when I try to install and launch the app it crashes and when I test it using Flash Builder it shows an error message
    "VerifyError: Error #1042: Not an ABC file."
    Do any of you guys know the  solution for this problem?
    Thank you for your help in advance!

    You're publishing in AOT mode as long as you use one of these:
    The AIR Developer Tool or ADT has targets that lets you package apps either for the AOT mode or Interpreter mode. The targets for packaging in AOT mode are ipa-app-store, ipa-ad-hoc, ipa-test and ipa-debug.
    Flash Pro CS6 and Flash Builder automate this process pretty well so it's invisible but the SWF loads and executes code just fine for me when directly published.
    If I take it to command line I can use this to compile successfully (iPad test app):
    adt -package -target ipa-ad-hoc -storetype pkcs12 -keystore my.p12 -provisioning-profile my.mobileprovision NameOfApp.ipa NameOfApp-app.xml NameOfApp.swf iTunesArtwork iTunesArtwork@2x AppIconsForPublish swfs/swfs.txt swfs/GenerateText.swf
    I at least include generic icons in there but I made a 'swfs' folder and placed 'swfs.txt' and 'GenerateText.swf' in there. The SWF uses code to randomly generate text and changes every second using a Timer. I load it in using the same code you do with the ApplicationDomain.currentDomain context. I see the SWF appear and text start randomly changing.
    As I compile there's a folder generated called 'externalStrippedSwfs' with the stripped SWF in there.
    One thing to note is I do not supply <externalSwfs>swfs/swfs.txt</externalSwfs> in my iPhone settings. If I do that it doesn't work. I supply the path to the text file containing the SWF I want to be stripped to adt itself along with the SWFs I want stripped and it takes care of the rest.

  • Embedding local .swf file in AIR app

    Hi all,
    I want to include a small Google Maps .swf file as part of my overall HTML based AIR application and I was wondering whether anyone here has had any success in achieving this. Currently, my set up looks like this:
    AIR xml file:
    <?xml version="1.0" encoding="utf-8" ?>
    <application xmlns="http://ns.adobe.com/air/application/1.5">
        <id>gmaps</id>
        <filename>gmaps</filename>
        <version>0.1</version>
        <initialWindow>
            <title>gmaps2</title>
            <content>gmaps2.html</content>
            <systemChrome>standard</systemChrome>
            <transparent>false</transparent>
            <visible>true</visible>
            <width>1200</width>
            <height>1000</height>
            <x>20</x>
            <y>20</y>
            <minimizable>true</minimizable>
            <maximizable>true</maximizable>
            <minSize>850 636</minSize>
            <resizable>true</resizable>
        </initialWindow>
    My gmaps2.html file:
    <html xmlns="http://www.w3.org/1999/xhtml">
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
            <title>GMAPS</title>
        </head>
        <body>
            <div id="map_canvas" name="map_canvas">
                <object
                  classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
                  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
                  width="800px"
                  height="600px">
                      <param name="movie" value="app:/flex/GMapsController.swf">
                      <param name="quality" value="high">
                      <param name="flashVars" value="key=CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CC">
                      <embed
                        width="800px"
                        height="600px"
                        src="app:/flex/GMapsController.swf"
                        quality="high"
                        flashVars="key=CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCC"
                        pluginspage="http://www.macromedia.com/go/getflashplayer"
                        type="application/x-shockwave-flash">
                </object>
              </div>
        </body>
    </html>
    My GMapsController.mxml file:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <maps:Map xmlns:maps="com.google.maps.*" id="map" mapevent_mapready="onMapReady(event)" width="100%" height="100%"
        url="http://my.domain.com" key="CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC"/>
        <mx:Script>
            <![CDATA[
                import com.google.maps.LatLng;
                import com.google.maps.Map;
                import com.google.maps.MapEvent;
                import com.google.maps.MapType;
                private function onMapReady(event:Event):void {
                    this.map.setCenter(new LatLng(40.736072,-73.992062), 14, MapType.NORMAL_MAP_TYPE);
                public function setLocation(lat:Number, long:Number):void {
            ]]>
        </mx:Script>
    </mx:WindowedApplication>
    When I open my air app, I don't get any error messages and it appears that the swf is not loaded at all.
    When I switch my AIR .xml file to point to the GMapsController.swf file instead of the gmaps2.html file, it works perfectly - this gives me the impression that there's either:
    1. Something wrong with including a WindowedApplication in a HTML file.
    2. Something wrong with including a local .swf file in HTML based application.
    I've tried referencing the .swf file in the html file from a remote server with the following:
      <div id="map_canvas" name="map_canvas">
                 <object
                   classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
                   codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
                   width="800px"
                   height="600px">
                       <param name="movie" value="app:/flex/GMapsController.swf">
                       <param name="quality" value="high">
                       <param name="flashVars" value="key=CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CC">
                       <embed
                         width="800px"
                         height="600px"
                         src="http://my.server.com/GMapsController.swf"
                         quality="high"
                         flashVars="key=CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCC"
                         pluginspage="http://www.macromedia.com/go/getflashplayer"
                         type="application/x-shockwave-flash">
                 </object>
               </div>
    but no luck with that.
    Any help would be greatly appreciated.
    Thanks
    Sean

    Brandon,
    Thanks for the link - I wasn't aware about the HTML Loader class and how it relates to loading Google Maps. I'm not using the HTML loader class though, so I'm not sure how it relates to the issue I'm having.
    I'm currently following the advice outlined at http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS4B441C24-BAE3-4110-91FD-A4E5EEFB2467.htm l where the SWF object is loaded through JavaScript, but I haven't had any luck with it yet. I'm pretty new to Flex/Flash/AIR applications - I'm starting to think it could be something simple wrong with my .mxml file:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <maps:Map xmlns:maps="com.google.maps.*" id="map" mapevent_mapready="onMapReady(event)" width="100%" height="100%"
        url="http://my.server.com" key="CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC"/>
        <mx:Script>
            <![CDATA[
                import com.google.maps.LatLng;
                import com.google.maps.Map;
                import com.google.maps.MapEvent;
                import com.google.maps.MapType;
                private function onMapReady(event:Event):void {
                    this.map.setCenter(new LatLng(40.736072,-73.992062), 14, MapType.NORMAL_MAP_TYPE);
                public function setLocation(lat:Number, long:Number):void {
            ]]>
        </mx:Script>
    </mx:WindowedApplication>
    I've tried creating a different .mxml file from the code outlined http://www.mikechambers.com/blog/2007/11/07/air-example-native-drag-and-drop/ (just as an example), just to make sure that the problems I'm having are not related in any way to the Google Maps API for Flash. Even with this second .mxml file, I still haven't had any luck in getting the swf content to load locally from the HTML file. However, if I set the content element in the AIR .xml file to look like this:
    <content>DragAndDropExample.swf</content>
    ... it works as expected.
    So, this has started me thinking that you cannot include a .swf file which has a base tag of WindowedApplication in a HTML based application? Can anyone confirm that this thinking is correct?
    Has anyone here managed to load .swf content in a HTML based application using the code outlined at http://help.adobe.com/en_US/AIR/1.5/devappshtml/WS4B441C24-BAE3-4110-91FD-A4E5EEFB2467.htm l?
    Thanks
    Sean

  • Problems running local swf files

    I recently developed problems running local swf files in
    Internet Explorer. This was working previously but recently it
    stopped working. Any ideas why the local files no longer work and
    how I can correct it?

    Hi Aquasue and welcome to our community
    In addition to the usual suspect fellow Adobe Community
    Expert Steve pointed out, the Flash player itself may be to blame.
    If you recently upgraded to the latest version (8 I believe) it
    imposes security particularly when using .SWFs locally.
    Click here to read a
    TechNote about it
    Cheers... Rick

  • Differences between the 2 ways to play local swf files in flash player

    There are 2 ways to allow the flash player to play local swf files:
    Add the directory/file of the swf to the Global Flash Player Trust directory. http://help.adobe.com/en_US/ActionScript/3.0_ProgrammingAS3/WS5b3ccc516d4fbf351e63e3d118a9 b90204-7c95.html
    Add the directory/file of the swf to the Trusted Location Settings in the Local Settings Manager.http://help.adobe.com/en_US/FlashPlayer/LSM/WS6aa5ec234ff3f285139dc56112e3786b68c-7ff0.htm l#WS6aa5ec234ff3f285139dc56112e3786b68c-7fea
    Adobe doesn't mentioned in the document what's the differences between these 2 methods, and they look has the same effect. But when I'm doing it on OS X, Safari 6.1, the first method doesn't work (It was working when I was using Safari 6.0). And then I tried method 2, it works…
    So I'd like to ask what are the differences between these 2 methods to play local swf files?

    For playing local SWF files, Download the Macintosh Flash Player 11.9 Projector
    It's a standalone app. Just copy it to your Applications folder. Launch it, and drag the SWF to the Dock icon. It'll play.

  • Local SWF File locked after loading.

    I have 2 swf files... the main.swf loads the secondary.swf
    main.swf is and will run on my local computer in the
    standalone flash player.
    When main.swf loads secondary.swf all is well except
    secondary.swf is locked on my local file system, I cannot rename,
    delete, or overwrite it as long as main.swf is running.
    I would like main.swf to load secondary.swf and then close
    the file, seems simple!! however I have had no luck in
    succeeding....
    I am using the standard methods for loading URLRequest and
    Loader.
    Any ideas!? Thanks!

    SOLVED
    Eventually, I found out the reason of the error. It seems due to security reasons pathes including ".." (up directory) are considered as unsafe!
    http://www.adobe.com/devnet/air/articles/introduction_to_air_security.html
    Unfortunately, it's not mentioned explicitly that the usage of such notation causes the security error.
    The solution is to process pathes before pass them to URLRequest e.g. by using the following routine:
    private function canonicalize_path(fn: String): String
         var f: File = new File(fn);
         f.canonicalize();
         return f.nativePath;

  • FB4 Beta 2: Variables accessed across swf-files are null.

    I’ve been working on an ActionScript project and just recently switched from FB4 Beta1 to Beta2. The project is made up of multiple swf-files that are loaded into shell.swf. When compiled with FB4 Beta1 variables are accessible across the loaded swfs and shell.swf but they just turn up as being null when compiled with FB4 Beta2. What causes this behavior and how do I go about it?

    If you are using Marshall Plan functionality, it is no longer available by default.  You have to add the MXMLC option
    -includes=mx.managers.systemClasses.MarshallingSupport
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Accessing a swf file inside a UILoader

    In my game currently I have a series of UILoaders which can be set to load a specific swf file inside the larger one.   What Im trying to do is manipulate the 'child' swf file from the parent- in particular use the goToAndPlay() function.  Im pretty sure Ive seen the solution before but I cant find it now.
    How make the connection from the UILoader class to its contents as a movieClip?
    Thanks

    Ok using the Content value of the UILoader class is the answer it seems.

  • How to access local data file in running applet?

    An applet resides in a remote website. However, when I use this homepage and this applet try to load data file in my computer, an error occurs. In console panel, an error for java.security.AccessController.doPrivileged (native method) occurred. Pls tell me the solution for this problem. Thanks!

    Use a [signed applet|http://java.sun.com/developer/onlineTraining/Programming/JDCBook/signed.html] or
    update the [java policy|http://java.sun.com/j2se/1.4.2/docs/guide/security/PolicyFiles.html] on the target PC.

  • Trusted Local Flex swf files access to internet?

    Hi All,
    We're developing a desktop game client using Flex and require
    a local swf file to make loader calls to the Internet. I know about
    the sandbox issues but have read that placing a text file such as
    myflexapp.cfg into the
    C:\windows\system32\Macromed\Flash\FlashPlayerTrust directory can
    let the Flash player know about swf files that are trusted. The
    file myflexapp.cfg has the absolute path to the directory location
    of my Flex generated swf file - which is the debug directory of my
    Flex project. I also tried targeting the swf file explicitly rather
    than the entire directory.
    When I test, the swf file continues to just quietly fail to
    load any resources from the internet. Also, I do not get any
    warning dialogs telling me that a swf file is trying to access the
    internet and if I wish to allow it. Have I missed something? has
    anyone had any success with using the Global Flash Player Trust
    directory to allow a local Flex generated swf file access to the
    internet? Also I cannot see the mms.cfg file in the
    C:\windows\system32\Macromed\Flash directory as is described in the
    Adobe Flex 3 Help chapter "Overview of permission controls".
    Any thoughts would be greatly appreciated! Thanks in advance
    Regards
    Tom

    hi - does this always work? i have the same question as wanderz. i live in ethiopia where the internet connection is unreliable and want a robust local wirless network that will allow my devices to communicate with each other and some file sharing. ive used a router in the past but, for instance, when the internet connection goes down my ipad no longer works as a remote control for my mac mini
    really grateful for any suggestions

  • HTMLLoader loading local content (SWF files) problem

    Hello guys,
    I'm just finishing my application but I facing a problem.
    I'm currently developing a desktop application using AIR.
    I'm using HTMLLoader to load local SWF files when te user tries to access specific content on the application.
    I successfully accomplished this, but the loaded SWF also loads other files (assets and xml files with translations) and that is not working.
    When a SWF is loaded he just stops on his own loading screen (when loading the XML files).
    All this stuff is happening on my CustomNativeWindow:
    (my CustomNativeWindow "overlays" the main application)
    public function CustomNativeWindow()
             var nativeWindowInitOptions:NativeWindowInitOptions = new NativeWindowInitOptions();
             nativeWindowInitOptions.systemChrome = NativeWindowSystemChrome.NONE;
             nativeWindowInitOptions.renderMode = NativeWindowRenderMode.DIRECT;
             nativeWindowInitOptions.resizable = false;
             nativeWindowInitOptions.maximizable = false;
             nativeWindowInitOptions.minimizable = false;
             super(nativeWindowInitOptions);
             alwaysInFront = true;
             this.activate();
    public function setProperties(contentName:String, contentURL:String, posX:Number, posY:Number, stageWidth:Number, stageHeight:Number):void
              this.stageHeight = stageHeight;
              this.stageWidth = stageWidth;
              this.contentURL = contentURL;
              this.contentName = contentName;
              this.x = posX;
              this.y = posY;
              this.width = stageWidth;
              this.height = stageHeight;
              this.title = contentName;
              this.addEventListener(Event.RESIZE, onWindowResize);
              SWFHTMLLoader();
    private function SWFHTMLLoader():void
              //REQUEST LOAD URL
              var request:URLRequest = new URLRequest(contentURL);
              //HTML LOADER SWF
              htmlLoader  = new HTMLLoader();
              htmlLoader.width = stageWidth;
              htmlLoader.height = stageHeight;
              htmlLoader.addEventListener(Event.COMPLETE, onHtmlLoaderComplete);
              htmlLoader.load(request);
              stage.addChild(htmlLoader);
    private function onHtmlLoaderComplete(e:Event):void
              trace("NATIVE WINDOW HTMLLoader complete");
              onWindowResize();
    private function onWindowResize(e:Event = null):void
              if (htmlLoader)
                        htmlLoader.width = stage.stageWidth;
                        htmlLoader.height = stage.stageHeight;
    Probably something related to security?
    How can I fix this?
    Is kinda urgente... deadline is coming...
    Thank you!

    Thank you kglad for your fast response...
    The reference to the content comes from a XML loaded on the main application.
    var xml:XML =      <Content  en="game" >
                                      <ImageSource>assets/images/gallery/resources/gameone.png</ImageSource>
                                      <ContentSource>content/gameone/gameone.swf</ContentSource>
                                </Content>;
    contentURL = xml.ContentSource;
    So contentURL is: content/gameone/gameone.swf
    Am I in trouble?

  • SWF file contains ref. to local dir structure

    Newbie here; sorry.
    Flash CS4 Professional, ver. 10
    Am creating a simple flash video to get my feet wet. In the
    process, I am drowning.
    I created the video with Flash (ActionScript 3.0) by
    inserting a player object, and specifying a f4v source that I had
    created using the CS4 Media Encoder to convert a wmv file; nothing
    to it.
    Publish Preview worked fine. Publish Settings/Publish created
    the necessary files, just as decribed in a Flash 411 tutorial:
    http://tv.adobe.com/?trackingid=EBYHH&pss=fl_10.0.0_win_en_full__PF_20040226#vi+f1527v1000 .
    Video works fine on my local PC (XP, SP2). But when I load it
    to my server, it does not work. In IE 7, the page loads; source
    code is there, but the window is blank:
    http://www.bbhq.us/pva1.html
    Adding mime type to .htaccess file did not solve the problem.
    Changing permissions to the files did not, either.
    It apparently is not a server problem. A simple swf file
    created by Mr. Gates and simple HTM coding works:
    http://www.bbhq.us/flash3.htm
    What does Mr. Gates know that I do not?
    Well, where do I begin???
    However, when I loaded my file --
    http://www.bbhq.us/pva1.html
    -- in FireFox 2.0, I got a blank window, but also this revealing
    error message:
    SecurityError: Error #2148: SWF file
    http://www.bbhq.us/pva1.swf
    cannot access
    local resource F:\pva1\pva0117a.f4v. Only
    local-with-filesystem and
    trusted local SWF files may access local resources.
    at flash.net::NetStream/play()
    at fl.video::VideoPlayer/
    http://www.adobe.com/2007/flash/flvplayback/internal::_play()
    at fl.video::VideoPlayer/
    http://www.adobe.com/2007/flash/flvplayback/internal::_setUpStream()
    at fl.video::VideoPlayer/
    http://www.adobe.com/2007/flash/flvplayback/internal::_load()
    at fl.video::VideoPlayer/load()
    at fl.video::FLVPlayback/doContentPathConnect()
    That tells me that the swf file has my original directory
    location and file name(s) -- F:\pva1\... -- embedded in it. No
    wonder!
    However, I cannot see where in Flash I specify a directory
    structure for my video, other than, of course, when I originally
    specified the video to add to the player component. But somehow,
    the swf file picks up the directory structure as part of the file
    names. That boat does not float.
    Adobe help did not throw me a life preserver; it tossed me a
    lead weight, instead.
    Must be a settings issue somewhere, or I am missing something
    obvious that I just cannot see.
    Goin' down here for the 3d time. A little help here, please.
    Thanks.

    Thanks for your quick response. But it left me still treading
    water.
    Yep; got to the content inspector; The parameters that I see
    are as follows:
    align
    autoplay
    cuepoints
    islove
    preview
    scalemode
    skin
    skinautohide
    skinbackgroundalpha
    skinbackgrundcolor
    source
    volume
    There is no contentpath parameter/property.
    This help page references the contentpath that you
    referenced:
    http://help.adobe.com/en_US/Flash/10.0_UsingFlash/WS0ED77F00-2006-49aa-8399-92B6D5D8CE00.h tml#WS9A834D6F-8206-4e07-B840-456EF90C03CB
    It describes the contentpath as you suggested:
    "contentPath (AS2 files) String that specifies the URL to an
    FLV"
    The reference to AS2 in parens suggests that this parameter
    applies only to AS2 files. Or, perhaps this parameter is not
    applicable in CS4, version 10. I donno, but I sure do not see it in
    my version of Flash.
    However, you and the the help page did throw me a lifeline.
    WIth the f4v file already loaded on my server, I modified my
    project, specifying, as the source parameter, the name of my fv4
    file as it is loaded on the server -- http:www.myserver...fv4 --
    not the file on my local PC. So when Flash published the project,
    it uses that name, with no reference to my local directory..
    Of course, the f4v file must exist on the server for it to
    publish properly.
    That did it.
    It makes sense, but it is certainly not obvious and it is not
    explained in any documentation I have found.
    Am I the only one to whom this was not obvious?
    Thanks; you led me to a solution.
    jjt

  • Cannot open .swf files what so ever

    Hi, I downloaded a few swf files and can't open it after trying everything.
    I've installed multiple versions of Flash on my computer and tried opening it in all latest versions of Firefox, Chrome and IE. I've downloaded multiple standalone versions of flash but as soon as I browse for the swf file, then press open it just closes the program. I've tried turning my firewall off just incase it could of been that and once again all the issues just repeated.
    In Firefox and Chrome I get a white screen and when I right click it says "Movie not loaded". In IE, I get a black screen and when I right click it says "Movie not loaded".

    Local SWF files will play with the standalone Flash Player (Projector).  You can download it from http://www.adobe.com/support/flashplayer/downloads.html
    Note that the download is the player, not an installer, so you will have to make the file association manually.

  • Using .swf files in FCP

    I need to access an swf file so that I can edit it in FCP. Is it possible to convert it to a Quicktime movie as I can't open it in its current format?
    Trish

    Ian:
    You need to access to a computer (PC or Mac) with Flash app installed and export it as QT movie. It only works if the Flash animation is build frame by frame in Flash timeline; if the Flash animation uses action cripts the QT movie will not see those parts of the animation. You could need a thrid party software to do the conversion in that case.
    Hope that helps !
      Alberto

Maybe you are looking for

  • How Can I do this - User Authenticate

    Hi, Is there a way to accomplish the following. We are using Citrix MetaframeXP, after the user logs onto the Citrix box, I don't want to have them enter there userid/password again to access my oracle jsp pages. (Website created with jsp from report

  • Why do my imported files or created titles always go to some random bin and not the one I want?

    Everytime I import a file via right clicking > Import. It will always go to some random bin that I don't want it to. Each project it's a different bin. Even if I right click > import on the bin I want it to import into, the file will still go to some

  • ArrayCollection and data retrieval

    I have been looking as to how to extract data from an ArrayCollection. I know this is done via the IViewCursor, but the only examples shown in the help files use simple arrays in the ArrayCollection class (one dimentional). As 99% of my ArrayCollecti

  • Incorrect Warranty Period

    Hi I bought a new HP Stream Signature tablet from the online Microsoft Store on the 1st April. I registered it with HP shortly after I received it. Now the online HP Warranty checker states that it was registered on 10th Nov 2014 and the warranty exp

  • Lightroom or Bridge, which is best to change 20m photo names

    I would like to completely change the naming structure of approximately 20,000 images and would like to hear opinions on which program, Lightroom or Bridge, to use and if there are any precautions with either program that I should be aware of.