Loaded swf file alignment

when i i design something in a file i have it aligned how i
want it, however when i load the page into another, although the
loader component is aligned, the content inside the loaded swf file
is no longer where it should be. why is that? how can i fix this?
i've just been

Also, remember that if you load an external SWF into another
movieClip, then the _root changes. The loaded SWF will no longer be
considered _root, unless you specify in frame 1:
this._lockroot = true;
this would be the issue of your miss-alignment, if you are
using ActionScript to align objects dynamically.
If you are not using actionscript for alignment, then
Mocaloca's suggestion should be the answer.

Similar Messages

  • Ipad i have load swf file but swf  is not working proper(flex 4.6) but android is fine to work how

    ipad i have load swf file but swf  is not working proper(flex 4.6) but android is fine to work how

    On the MBP, in iTunes, switch to Song view and enable the iCloud Status column by pulling down View > View options and selecting the option for "iCloud Status." Close the small window. Look for any tracks that have a status of "waiting." If you see several of them disable iTunes Match while holding down the Option key. Quit iTunes, wait a few seconds, then open it again and turn iTM back on. Let it compelete the scan. Wait until all tracks that are "waiting" have a status of either "matched" or "uploaded."
    On the iPad, turn off iTunes Match then launch the Music app and let the contents clear out. Power cycle the iPad for good measure, then re-enable the service once all the tracks in iTunes have been processed.

  • How to detect the end of a loaded swf file

    Hello Guys
    This is my first time on this forum, come here with a great
    hope
    I have loaded a picture file (jpeg) and a video file (swf)
    into the main flash file using xml
    on frame 3, I load the picture and on frame 7, I load the
    video, there is a stop action on frame 6
    Now when the flash is executed the picture is displayed ( it
    says "Click here to view the video")
    when the user click the picture , the video is loaded and
    starts to play ---- so far everything is working fine
    now what I want to do is, once the video finishes playing (
    not stoped) I want to display the picture again
    can you tell me how to detect the end of an external loaded
    swf files,
    Please help me
    Thanking You
    Shriram

  • How to create an xml to load swf files in sequence?

    hello everyone
    I'm new in web design... I know how to animate in flash, using timeline, frames, layers, twins and so on... But I want to move forward so I want to create a xml to load swf files in sequence and in loop. Each swf file has 8 seconds.You can see the example here in www.cm-seixal.pt.
    I'm not a programmer but I understand how actionscript works... I hope you can help me
    Cheers!
    Ana

    you can use the urlloader class to load your xml file.  use the loader's complete event and the loader's data property to retrieve the data in your xml file.

  • Loading swf files from an iPhone Air App

    Although the faq says its possible ( http://bit.ly/gyxmCo  )  I can't seem to load .swf files from my app.
    There's no .AS code in the .swf file I'm trying to load.
    PNG files load with no problems, swf's fail.
    A working example would be appreciated instead of suggestions, I've spent the entire day trying out suggestions
    regards,
    Martijn

    Because I can't see any library assets in an as2.0 file.
    I've discovered that the swf fails to load as soon as you make a symbol 'export for actionscript'
    probably because it will then create a class. So you can only load SWF's as simple pictures or animations, you cant use it as an asset library with multiple animations/images/sounds in it..
    As for you other questions:
    it doesnt matter if the file is local or on the web. same results
    I created the swf file from a fla in CS4,  and I'm compiling my air project that loads the swf  with FlashDevelop.

  • 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.

  • How load swf file (flash 8) with adobe captivate 3 without enter the HTML?

    How load swf file (flash 8) with adobe captivate 3 without enter the HTML?

    Hi SaSQuaCh69247,
    Issue 1 :- Select the SWF file in library, right click, and
    select update.
    Issue 2 :- Actually it could be valid for Issue 1 also. It
    seems like SWF file you are trying to import, does some action
    like, importing another swf or connecting to server on the first
    frame itself. Captivate will try to play the first frame of SWF
    when you import them. Try creating a keyframe with the stop action
    as the first frame in your SWF, and see if you still have the
    issue.
    Issue 3 :- The approach I am mentioning over here is
    generally the last approach which I will take in such scenerios,
    but since you have already experimented a little, so try this.
    Go to C:\Documents and Settings\<user name>\Application
    Data\Adobe\Adobe Captivate
    Rename captivate_v20.dat as captivate_v20_org.dat.
    Restart Captivate Application.
    thanks

  • How can I make my external loaded .SWF file smoothly disappear after 15 seconds?

    Hi,
    How can I make my external loaded .SWF file smoothly disappear after 15 seconds? The following is the code to load an external .SWF file:
    var K:Loader=new Loader();
    addChild(K);
    K.load(new URLRequest("clock.swf"));
    K.x = 165;
    K.y = 247;
    K.contentLoaderInfo.addEventListener(Event.INIT, growLoader);
    function growLoader(evt:Event):void {
         K.width = 130;
         K.height = 130;
    I want to make clock.swf file disappear from the page after 15 seconds using some smooth disappear effect.
    Please help.
    Thanks.

    Something even better:
    http://www.greensock.com/
    Check out TimelineMax I LOVE it...
    The guy that made this (and gives it away for free!) is a saint.

  • Load SWF file in main SWF with parameters

    Hello everybody,
    I recently got a new flash Application which is a Photo Gallery.
    This App is made of multiple folders (source files), a FLA file, a SWF with its javascript SWFObject and an Html page which instantiate this App with some parameters (size, config file path, ...).
    It needs an XML file to find all the Photos it displays, to do it I need to configure my application in the HTML Page and give it the "xml_path" :
    var so = new SWFObject("index.swf", "gallery", "249", "249", "10", "#111111");
    so.addVariable("xml_path","load/config.xml"); // this line is adding the path to the xml file make sure that it's name is xml_path
    so.addParam("allowfullscreen","true"); 
    so.write("flashcontent");
    By the way, I have a second application, the WebSite, which have to display the Gallery SWF in its "Gallery" page.
    Here is how I do it at the moment (in ActionScript3) :
    var swfRequest:URLRequest = new URLRequest("C:/......../Galerie/index.swf");
    var swfLoader:Loader = new Loader();
    //Charge le SWF Galerie dans le SWF Site
    swfLoader.load(swfRequest, context);
    container1.addChild(swfLoader);
    //Positionne le SWF
    swfLoader.x=10;
    swfLoader.y=120;
    It successfully loads the Gallery application but It shows an error telling me it doesn't find the XML configuration file... In the HTML file I simply had to write the "so.addVariable("xml_path","load/config.xml");" to tell where the XML file is...
    So, my question is : How can I integrate my SWF application giving it some parameters like above, in Action Script 3?
    Thank you ,
    Patrick

    No, nothing with HTML.
    I have 2 SWF applications. One is the Gallery, and the second is my Main Page.
    My Main Page must integrate the Gallery module in one of its page.
    The problem is when I try to integrate it, I think I must give de future loaded SWF some parameters like this :
    (My Main SWF loading in HTML)
    var so = new SWFObject("WebSite.swf", "flashcontent", "520", "700", "10", "#111111");
    so.addParam("allowfullscreen","true");
    so.addParam("allowScriptAccess","always");
    so.addParam("menu","false");
    so.addParam("wmode","opaque");
    so.addParam("bgcolor","#000000");
    so.setAttribute("id","flash");
    so.write("flashcontent");
    It was for the Main App. For my Gallery SWF I had to load it like this (in HTML) :
    var so = new SWFObject("Gallerie.swf", "gallery", "249", "249", "10", "#111111");
    so.addVariable("xml_path","Galerie/config.xml"); // this line is adding the path to the xml file make sure that it's name is xml_path
    so.addParam("allowfullscreen","true"); 
    so.write("flashcontent");
    So at the beginning I had 2 different projects with an HTML page for each.
    Now I wan't to directly integrate the Gallery SWF into the Main SWF. And as you have seen I must give it some parameters such as the "xml_path" and "allowfullscreen". This must be done in ActionScript 3 and I don't know how...
    I think I have to use FlashVars but I don't know how. As I said before, I have tried using the loaderinfo.parameters, but it is in read-only...
    Do you have an idea of how I can make it work ?

  • Problem in loading SWF file

    Hi All,
    I am facing a problem in file loading. I have a file
    https://shopping.easycite.com/admin/tree/main.swf and in that file
    loading another file named “editNodeFome.swf”. To load
    "editNodeFome.swf" i am using related path. But the file is not
    loading.
    mcLoader.loadClip("editNodeFome.swf", _root.tempForm_mc);
    Can any one help me to find out the solution?

    show your mcl code or use trace(mcLoader) to confirm it
    exists along with _root.tempForm_mc. and make sure editNodeFome.swf
    is in the same directory as the html file that embeds
    main.swf.

  • Android kitkat issue in loading swf file from device. URL found but not working

    Hi,
    I am facing one issue from a very long time regarding file access in Android Kitkat version 4.4.*. I have developed Adobe Air player application for android and it is working as expected below kitkat version but not on kitkat.
    I am following this methods -
    NativeApplication.nativeApplication.addEventListener(InvokeEvent.INVOKE, onInvoke);
    public function onInvoke(event:InvokeEvent):void
                                        var newFile:String = String(event.arguments[0]);
                                        trace("Received new file from Android: "+newFile)
    Received URL form device in Android Kitkat -
    /storage/emulated/0/.iProfData/swf/playListFiles/ContentCreation/Ma_V2_522/en/Animation/27 031_1_Welcome screen.swf
    file:////storage/emulated/0/.iProfData/swf/playListFiles/ContentCreation/Ma_V2_522/en/Anim ation/27031_1_Welcome screen.swf 
                    -  Loading this URL using loader class in AS3 AIR but not working.
    file%3A///storage/emulated/0/.iProfData/swf/playListFiles/ContentCreation/Ma_V2_522/en/Ani mation/27031_1_Welcome%20screen.swf
           - Have used also by doing escape character but still it is not working showing file not found both SWF and mp4 case. (Mp4 case NetStream.Play.FileNotFound)
    By using the above methods I can have swf or mp4 video url but when I am loading it, It is not working giving error message "File not found/ IO Error". I have read that if use escape character then it will work but I have used escape character also but it is not working.
    Humble request you to please advise how can I solve this issue.
    Best regards,
    Sunil Kumar

    Starting in KitKat, Google requires that applications have permission to access files on the system. You must specifically add either the READ_EXTERNAL_STORAGE or WRITE_EXTERNAL_STORAGE permissions in order to access files. Adding either one of those permissions should let you read/access files on the device. Prior to KitKat, you didnt have to have these permissions listed in the manifest to access files.

  • Complete code for loading swf file in actionscript 3

    i have a swf
    file which i want to load into a fla file and export as a new swf file. I understand this part but my actionscript 3.0 code that i put on frame one of the timeline does not work. I have tried every version i have seen online including in adobe's actionscript 3 classroom in a book.... and other books..... i want the swf to run immediately so i dont think i need any event listeners since i am not clicking a button or anything like that... just running the swf at start. any help wuld be appreciated... sent two day on this already... i can do it in actionscript 2 but have not figured it our in actionscript 3......... why does eeryone seem to do this slightly different too?   a complete code would be nice since obvously i am stupid........
    thanks

    Show the code you put in frame 1.  I don't think you can do what you say you intend to though.  As far as I know you cannot create a new filein the way you explained you intend to.  If you load the file dynamically as a separate swf, then you will always need to.

  • Loading swf file with dynamic text

    For a website I'm creating I'm going to have a main swf file
    that loads individual swf files for each page. Each page's swf file
    loads in external text files through dynamic text boxes so i can
    edit the website easily. To load the swf files into the main swf
    file I'm using the loader component. Everything works fine except
    thedynamic text boxes of the swf files that are nestled in the main
    one do not load properly. Instead, in each text box i get a message
    similar to this:
    _level0.NewsLoader.contentHolder.News1
    NewsLoader is the instance of the loader component, and News1
    is a variable called in through a dynamic text field from the html
    document entitled News1.html. The individual news swf file loads
    the text properly, but when the news swf file is loaded into the
    main swf file the text is replaced with the message above.
    Any suggestions?

    the problem might be due to the changed references if you
    load the movie into another one.
    is NewsLoader a MovieClip instance inside the main movie or
    inside the mc that is loaded into the main movie?
    If it resides inside the exteranly loaded movie, you will
    either need to use the lockroot attribute or use a relative
    reference to the News1 variable.
    Since the _level0 always points to the _root timeline (the
    one of the outer most movieclip) _level0 used in the external mc is
    different once the external movieclip is loaded into another movie.
    I suggest only using relative references, makes live much
    easier.

  • 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?

  • Loading swf file

    I'm having trouble with loading a swf file in my flash. I am buidling a flash website where I have a lot different sections.
    Main file: index.swf where i have main buttons and an UILoader.
    now i want to load my homepage in the UILoader so I set the UILoader source to homepage/index.swf
    The homepage loads no errors but as soon as I add some actionscript anything (declare one variable) i get this error
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at index_fla::MainTimeline/index_fla::__setProp_loaderr_Scene1_loader_1()
    at index_fla::MainTimeline$iinit()
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at index_fla::MainTimeline/index_fla::frame1()
    Anybody can help? I search everywhere. I and only ever write on forums when Im hopeless

    The 1009 error indicates that one of the objects being targeted by your code is out of scope.  This could mean that the object....
    - is not in the display list
    - doesn't have an instance name (or the instance name is mispelled)
    - does not exist in the frame where that code is trying to talk to it
    - is animated into place but is not assigned instance names in every keyframe for it
    - is one of two or more consecutive keyframes of the same objects with different names assigned.
    If you go into your Publish Settings Flash section and select the option to Permit debugging, your error message should have a line number following the frame number which will help you isolate which object is involved.

Maybe you are looking for

  • Purch.Req for STO

    Dear Experts... 1. Can we have a Purchase Requisition for the STO? Our client based in Kochin has branches in other states like Delhi, Kolkata,       Andhra etc..the sales requirement data collected from branches will be sent to Kochi head office, an

  • Text File Encoding used by TextEdit/OS X

    Hi all folks, does someone know the code page are used with the text file encoding "Western (EBCDIC US)" available from the "Customize Encodings List" in the TextEdit "Plain Text File Encoding" Preferences. The text file encoding "Western (EBCDIC Lat

  • No Close button when PDF viewed in browser using Slideshow view

    I have a powerpoint presentation that has hyperlinks to pdf documents on the web. When I save this powerpoint presentation to html format on my web server and go to that presentation, there is a View Slideshow button in the bottom right corner. If I

  • Screen is grey

    The display is now just grey after freezing. Recently the computer has been automatically shutting down. I also recently upgraded the OS to Snow Leopard from OS 10.4 The computer has also been very slow responding sometimes.

  • Edit the default workspace and actions for a group of computers?

    I am a high school yearbook teacher, and I have a group of Windows 7 desktops running CS6. I want to replace the default workspace and actions on them to increase productivity. Where would I place the workspace and action files on the computers so th