Flex Generated Swf Donot load in Flash On Publishing.

Hello!
I am facing one problem,I made a calendar.swf in flex.
and I am trying to load that calendar.swf file in flash file get-calendar using Loader Class.
calendar.swf is coming fine when I press cntrl+Enter
i mean during compiling swf.
But when I publish that using F12 then that flex swf donot load.
What is the reason,,I dont understand it.
Pls help!
Thanks

calendar.swf is compiled to run in the local-with-networking sandbox, while get-calendar.swf runs in local-with-filesystem. Loading one into the other causes a security error. Simplest solution is to change get-calendar.fla to local-with-networking:
Publish Settings (Flash tab). Select Access network only in Local playback security.

Similar Messages

  • Loading a Flash 8 swf that loads another Flash 8 swf

    I'm trying to get a Flex swfloader component to load a Flash
    8 swf file at runtime, this works fine although the swf file...
    main.swf loads other swf files into levels e.g.
    main.swf contains:
    loadmovienum("menubar.swf",2);
    Everything works as expected unless I put main.swf in a Flex
    swf, where the menubar doesn't load up. Everything is in the same
    local directory and works fine if I run main.swf outside of Flex.
    Please help! I have run out of ideas.
    kimb

    Hey! It seems that when you load a Flash 8 (or AVM1) swf into
    a Flex application (or any AVM2 swf), it is unable to utilize its
    _levels correctly. To circumvent this issue, try creating an empty
    movieclip called level2, and that should work.
    Let me know if this work, because another issue can arise if
    you try to load multiple swfs on that same movieclip.

  • Flex 2 SWF not loading on the web browser when Flash Player 8 is running

    I got a Flex 2 application that is not loading on the web
    browser when the users workstations got Macromedia Flash Player 8
    installed. Please advice on what could be the issue, i got security
    calls included i.e. securty.allowInsucureDomain, crossdomain.xml,
    etc.
    The application shows no issues on web browsers with Flash
    Player 9 installed.

    if you have read developersGuide it says that there somewhere
    http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/js/html/wwhelp.htm?href=Part2_DevAp ps_048_1.html
    here is workaround
    http://kb.adobe.com/selfservice/viewContent.do?externalId=749eaa47&sliceId=1
    flex 9 is complete rewrite (almost) and its lot mor fast and
    effecient) you should't want to use flash 8 if you can anyways, but
    somethimes I guess there is not other way out..

  • How to control swf file loaded in flash builder project?

    Condition :
    1. I have a swf file presentation.
    2. A flex mobile project using flash builder 4.6 with its default SDK.
    What i want :
    1. Include those swf file into my flex mobile project and interact with those swf like i run it on flash player for PC. Shown here >>
    http://prntscr.com/1pmio
    What i've tried :
    1. Call swf file using swfloader and it work(on my pc). Here is my code >>
    http://prntscr.com/1pmjdl
    Problem :
    1. I cant interacted with swf file presentation. If i click on screen, it get error code >> "Error #2025: The supplied DisplayObject must be a child of the caller" and another error. Here is error warning >>
    http://prntscr.com/1pmkcr
    I dont want to upload the swf file into a web and load it remotely because i want the swf file available offline. Im newbie in flex, please tell me clearly. i have downloaded Flex in a week video training but gets nothing. searching for another problem which may same, but i didnt get any answer.
    Please Help.
    Message was edited by: blackquipment for image fix

    Some loaded SWFs may not be compatible with Flex.  Try making a simpler SWF (like one that just draws a circle where you click) and see if it can be loaded and interacted with.
    -Alex

  • Made a form in Flex 3, can't get it to load in Flash.

    Hi,
    sorry, I really am a novice at this.
    I am building a Flash site, and have some image galleries that run with a component. To load a gallery into the main page I have, for example, the following code: (this works just fine)
    stop();
    loadMovie ("../gallery_Engagements/content.swf","loader_engagements");
    However, I made a contact form in Flex 3, and I am trying to load in exactly the same way, using this code:
    stop();
    loadMovie ("../contact/ContactForm.swf","loaderContact_mc");
    Is there something different that I need to do to get the Flex swf to load into my page? Everything is set up in the same way, it just wont work with the Flex file. Any help would be appreciated.  :-)
    Thanks.
    Hugh

    Wow, a full week and no replies.  Am I doing something that is that far wrong?  :-)
    Anyone?
    Hugh

  • How to import a in InDesign generated swf file into flash pro

    My Flash Pro does not allow to import the in InDesign CS 5.5 generated swf file.
    Any suggestions?

    Like this?
    movieholder.addEventListener(MouseEvent.CLICK, fl_ClickToLoadUnloadSWF);
    import fl.display.ProLoader;
    var fl_ProLoader:ProLoader; 
    //Mit dieser Variable wird verfolgt, ob Sie die SWF-Datei laden oder entladen möchten
    var fl_ToLoad:Boolean = true; 
    function fl_ClickToLoadUnloadSWF(event:MouseEvent):void
        if(fl_ToLoad)
            fl_ProLoader = new ProLoader();
            fl_ProLoader.load(new URLRequest("http://www.helpexamples.com/flash/images/image1.jpg"));
            addChild(fl_ProLoader);
        else
            fl_ProLoader.unload();
            removeChild(fl_ProLoader);
            fl_ProLoader = null;
        // Umschalten, ob die SFW-Datei geladen oder entladen werden soll
        fl_ToLoad = !fl_ToLoad;

  • Can we use flash lite 3.0 generated SWF in html as normal SWF?

    Hi all
    I would like to us the flash lite generated swf in a html page as normal flash file do.
    I would like to pass the flash vars to SWF(flash lite) and load the swf with the parameters
    is it necessary to have a flashlite 3 player in the mobile?
    any work around?
    thanks in advance.

    My problem is
    I have a html page which displays the list of videos when the user select the video from the mobile browser
    I need to load the SWF in the mobile with the selected video with options play and back
    as you said we cant pass FlashVars to SWF (not supported) is there any other option which full fill my requirement?
    thanks in advance.

  • Problems loading Adobe Flash SWF file

    Our users are experienceing problems loading Adobe Flash SWF
    files.
    One example of a problem file is:
    http://www.adobe.com/enterprise/accessibility/popup_acr8_accessibility.html
    User traffic is flowing through a Cisco ASA firewall - these
    problems do not seem to occur from home networks or a Netscreen
    firewall. The Cisco ASA does NOT have http deep packet inspection
    turned on, and any traffic initiated by clients inside the firewall
    should be allowed. The symptom is that Internet Explorer will begin
    to download the video, but will hang at some point along the way
    (for this particular URL it hangs at about 7%). No error messages
    are displayed, but the video never displays on the screen either. I
    would appreciate hearing from anyone who may have run into this
    before, or if someone can explain what is different about this type
    of file from regular Adobe Flash, that might help figure out what
    the ASA is objecting to. The ASA does not appear to generate any
    log messages about denying this type of traffic either.
    Thanks in advance for any help you can provide...

    Thanks, but I use publish/export settings with GPU hardware acceleration and flash version 11.2 (and 11.8) but nothing happening.
    And why gif file is not all transparenty then I insert on lightblue background? It can't export good quality? Also I use Photoshop, After Effects, Adobe Edge Animate. And nothing happening. Egde animate file .oam is not good for old website navigation. It can't be inserted in freeshop site from navigation... I use logo file .oam just for example here - http://e-shoptagras.graphicsrim.eu
    In reality I want swf file, but we don't find why logo flickering? here http://tagraseshop.graphicsrim.eu
    All file's are transparenty - https://mega.co.nz/#!f8B2CD5R!J8uCJt9Sdq4Suz4HLhTHz8bzJcSWXMBIKcKZgkD3z8c
    I need help! Please!

  • Calling a function in a flex app from a loaded SWF

    How can I call a function in a flex application from a loaded
    swf file?

    Two ways:
    Application.application returns a reference to the top-level
    application scope. You can access any public member, var, function,
    component, etc through that reference.
    Dispatch an event event form the loaded swf and use a event
    handler in the main app. All the gurus advise this as best
    practice, to ensure "loose coupling" It is also pretty easy,
    especially if you use a bubbling event.
    Tracy

  • My windows 7 machine does not recognise .swf files. I have down loaded the flash player but I think.

    My windows 7 machine does not recognise .swf files. I have down loaded the flash player but I think but it is linked as a plug in with chrome and IE.  How can I get my windows to recognise the .swf files to play them.

    The downloaded file is the projector, not an installer; you need to make the file association manually:
    move the downloaded exe file to a location you can remember, e.g. C:\Windows\SysWOW64\Macromed\Flash
    right-click on a swf file and select Open with > Choose default program
    navigate to the folder you saved the player and select flashplayer_13_sa.exe

  • Flash won't run the flex application (swf)

    I'm Italian so my english isn't perfect....
    I try to run a flex application (swf) on a pc without flash
    player 9 (8.5) (on firefox and IE)....the flex application ask
    correctly if i want to install the flash player....but anyway,
    after the installation....the flex application doesn't run....
    also, i try to restart the pc....but....swf doesn't
    run.....anybody have the same problem ??

    Hung program: command-option-esc
    Shut down: hold down power button for 5-10 seconds.

  • Generating PDF with Flex App (swf) embedded

    Hi,
    Does anyone has the experience in developing a Flex Application that is to be
    embedded into a PDF and open in the Reader/Acrobat for data capturing?
    How to embed the Flex Application (swf) into a PDF in a Livecycle process?
    With the XML data prepopulated into the PDF (embedded with a schema) and
    accessible by the Flex Application when open in Reader/Acrobat.
    Users will still be able to save the data filled in the Flex Application into the PDF
    and also to generate a XML data (with data capturing in the Flex App) to be
    submitted back to the server.
    How can these be achieve? Any example?
    Thanks alot.

    Just wondering, am I in the correct section of the forum? it seems like most of the discussions listed here are related to form designing rather than form rendering.
    I know this is FORMS ES section, just that i come across something that might related to the topic.
    Has anyone try out Adobe LiveCycle PDF Generator ES2 new features?
    Based on Adobe Upgrade Center http://www.adobe.com/products/livecycle/upgrade/pdfgenerator.html, it mentioned that PDF Generator ES2 has the ability to embed SWF files in PDF.
    But is this also applicable to Flex Application compiled SWF file?
    Does the generated PDF function as a normal interactive form?
    Able to retain its embedded schema and objects (scripts)?
    I will try to install LC ES2 to try out but need sometime to setup the system, really appreciate if someone can give me a head start.
    Thanks.

  • How to load multiple swfs to my main flash file??

    I am using the following code
    In actions for Frame 1:
    var myrequest:URLRequest=new URLRequest("A.swf");     
    var myloader:Loader=new Loader();
    myloader.load(myrequest);
    img1.addEventListener(MouseEvent.CLICK, clickButton);
    function clickButton(event:MouseEvent):void{               
        stage.addChild(myloader);
    img1.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_5);
    function fl_ClickToGoToAndStopAtFrame_5(event:MouseEvent):void
         gotoAndStop(13);
    In action for Frame 13:   (img2 is another button)
    img2.addEventListener(MouseEvent.CLICK, unloadFunction);
    function unloadFunction(event:Event):void{
         stage.removeChild(myloader);
    This code works perfectly fine. My only problem is, How do I get multiple swf loaded. When I tried to copy and paste the same code for the other swf, but the following errors appear. I'm pretty sure theres a way to have multiple swfs (btw the multiple swfs will be linked from different frames).
    Scene 1, Layer 'PAGES!', Frame 2, Line 7 1021: Duplicate function definition.
    Scene 1, Layer 'PAGES!', Frame 2, Line 2 1151: A conflict exists with definition myloader in namespace internal.
    Scene 1, Layer 'PAGES!', Frame 2, Line 1 1151: A conflict exists with definition myrequest in namespace internal.
    Can someone please help me with this. Thanks

    You define the same variable or function names more than once in a file.  But you can reuse them in other frames.  Try something more like the following in frame 2....
    myrequest=new URLRequest("A.swf");     
    myloader.load(myrequest);
    leave all of the rest out for starters... the same function from frame 1 can be re-used without rewriting them.  I don't know what the deal is with img1, but if you need to change what it does, then add that back in.

  • Problem loading one SWF into another in Flash AS3

    I am trying to load an SWF file in another SWF file. The child SWF file works fine when run standalone like if I set visibility of an item to true or false, it works fine. But when the SWF is loaded into a parent SWF, I am not able to execute such commands, neither I get any errors...

    are both swfs as3 swfs?
    is the code in the loaded swf and is that code referencing objects in the loaded swf?

  • Output generation options in InDesign server... generate SWF without bytecode

    Hi,
    We have a server-side InDesign application to generate SWF and JPEG and PDF assets based on a number of IDD files - generated and manually built.
    The issue is, we are trying to move to an iOS supported product where SWF loading is restricted and default, generated SWF from InDesign contains a rake of unused and unwanted ActionScript that has no relevance to our application but which is also likely to complicate or block app approval.
    So... I need to find some options here.
    Can anybody comment on the feasibility of any of the following;
    1. Modify SWF generation to generate _without_ the InDesign ActionScript (we don't need it... we just need the display assets that InDesign creates)
    2. Generate a lossless PNG output on a transparent background (needs to be lossless to support colourisation, needs to be a transparent background as moving from SWF would mean the inability to remove the big white rectangle it always puts in a SWF)
    3. Generate a PDF in a format that can be manipulated to provide us access to individual display assets within an AIR / Flex app
    Thanks in advance,
    G

    PS: Yes, I am aware of the export with and without interactive media settings, but they don't seem to make any difference whatsoever to the SWF as it still includes a rake of unneeded ActionScript (including a wide range of fl.video code for some bizarre reason...).
    I have just found some export as PNG options in InDesign 6, but the server is still on an older version of InDesign (4, I think) do you know when the export as PNG feature was introduced? I have been assured that we can't generate PNG with the current setup... though will dig a bit deeper to check.

Maybe you are looking for