Using loaded fonts in child swf

Hello,
I have an ad container that loads a handful of resources of which some are fonts and some are swfs. My problem is that the font is loaded from an url, is registered and works fine embedding it to the textfields created in the ad container. The problem is that when I try to embed it to the textfields in some of those loaded SWFs it does not work.
The font loads and gets registered before the swf gets loaded. The SWF file then gets an event telling it to embed the font there as well. While checking, from within the child SWF file, the Font.enumerateFonts() array I can see that the fonts have been succesfully registered. My problem is that even if that array shows me the fonts, when I try to embed them in the child SWF file nothing appears. I even use something like myTextFied.font = Fonts.enumerateFonts()[0].fontName, while embedFonts is set to true and antiliasing is set to advanced.
I tried it in all manner of ways and none gives me any results. The font which is loaded is stored as a library item with Linkage inside a SWF file. So to load a font I load SWF file containing that font. It works fine for the ad container (main SWF) but not for children SWFs.
Any suggestions?
Thank you a lot!
Vlad

You may need to create instance of font class and register font in every loaded swf. This is an RSL approach.
This post outlines the idea:
http://krasimirtsonev.com/blog/article/AS3-flash-runtime-font-loading-embedding

Similar Messages

  • Loading font from external *.swf

    So!
    I have 3 movies.
    1)Main movie - index.swf
    2)Movie with created & checked in linkadge "Export for
    runtime sharing" fonts in library - fonts.swf
    3)movie with text fields which need embeded fonts to work in
    a proper way. Fonts in the library checked in linkage as "import
    for runtime sharing" - content.swf
    What happens:
    I strike CTRL+ENTER and run movie index.swf.
    on the (for ex.) 10 frame it loads fonts.swf with
    movieClipLoader class..
    then in the same way on (for ex.) 100 frame, i load content
    swf
    BUT!!! before it starts loading process IT DOWNLOADS FONT.swf
    again
    SO HOW DO I PRELOAD fonts from external *.swf..
    maybe there is yhe way without using runtime sharing..
    but i've heard that loaded whith movieClipLoader movies don't
    adds objects from their library to main movie liblary...
    HOW DO I SOLVE THIS PROBLEM!

    can you give your erroe source code,and then i will give you the success code.
    in the function
    private function onLoadComplete(e:Event):void {}
    ApplicationDomain.currentDomain.getDefinition("com.scottgmorgan.ExternalMovie") ;
    use like this:
    var EMClass:Class=loader.contentLoaderInfo.applicationDomain.getDefinition("com.scottgmorgan.ExternalMovie") ;
    then you can new a instance :
    var emInstance:Object=new EMClass();
    emInstance.alert("hello word");
    and we also can use other method. so email me  [email protected]

  • Load preloader from child swf

    The following preloader and code to laod the first swf is in the fiest frame of the main movie.
    stop();
    // this function runs the preloader
    // it is to be used with the onEnterFrame
    // of the preloader animation
    function preloadContainer(){
        // get bytes loaded and total from movieHolder
        var bytes_loaded = movieHolder.getBytesLoaded();
        var bytes_total = movieHolder.getBytesTotal();
        // stop and hide the movie so it wont play or
        // be seen while progressively downloading
        // (keep trying if it exists or not just to be sure)
        movieHolder.stop();
        movieHolder._visible = false;
        // if bytes_total is a valid number and greater than 0
        if (bytes_total > 0){
            // get percent loaded
            var percent_loaded = bytes_loaded/bytes_total;
            // update the value in the preloader
            preloader_mc.value = percent_loaded;
            // check if preloading is complete
            if (percent_loaded == 1){
                // play and show the container clip
                movieHolder.play();
                movieHolder._visible = true;
                // remove the preloader movie clip
                preloader_mc.removeMovieClip();
                // delete the onEnterFrame event handler running this function
                delete onEnterFrame;
    stop();
    // movie 1 loads the swf using startPreload
    startPreload("ShopOutsideAnim01.swf");
    // this function begins preloading a swf url
    function startPreload(url){
        // use loadMovie to load the swf url into container_mc
        movieHolder.loadMovie(url);
        // attach the preloader animation
        // this will be removed when preloading is complete
        attachMovie("preloader anim", "preloader_mc", 500, {_x:275, _y:165});
        // set the onEnterFrame event to call preloadContainer
        onEnterFrame = preloadContainer;
    Once the swf  loads a button can be pushed in the loaded swf which goes to the last frame where the below code is. I want at this point to preload another swf into the same location. It does not work. It does attach the preloader anim movie and load the swf, but it does not run the preloader function.
    stop();
    // movie 1 loads the swf using startPreload
    LoadIt("ToolShopAnim01.swf"); 
    // this function begins preloading a swf url 
    function LoadIt(url){ 
        // use loadMovie to load the swf url into container_mc 
        _parent.movieHolder.loadMovie(url); 
        // attach the preloader animation 
        // this will be removed when preloading is complete 
        _parent.attachMovie("preloader anim", "preloader_mc", 500, {_x:275, _y:165}); 
        _parent.preloadContainer; 

    In the child swf I should put this code:
    _parent.startPreload("ShopOutsideAnim01.swf");
    I was trying to create a new function in the child swf. I dunno this stuff drives me nuts. But I'm happy I figured something out!

  • Sorting members using Load Rule Parent Child Method

    Hi all,
    I have a Product Dimension with around 7 gen's and wanted to sort Gen 3 members under parent (say CommProduct). All these members are initially loaded using Studio and i am trying sort Gen 3 members using a text file / Load Rule (Parent Child Method). I have "Allow Moves" ,"Allow Property Changes" and member sorting: None checked for the load rule. I tried updating the outline using the load rule, however the outline remains unchanged and members sorted by alphabets.
    Essbase Version: 11.1.2.3
    Current Hierarchy:
    Product 
               CommProduct
                                     A
                                     B
                                     C
                                     D
                                     E
    Hierarchy Wanted:
    Product 
               CommProduct
                                     A
                                     C
                                     E
                                     B
                                     D
    Dim Build Text File:
    Parent,Child,Aggregation
    CommProduct,A,+
    CommProduct,C,+
    CommProduct,E,+
    CommProduct,B,~
    CommProduct,D,+
    Any help would be highly appreciated.
    Thanks

    Can't you create a column where you can specify the desired order and build accordingly. I don't think you can achieve that using a load rule. Allow moves works only if the members are under a different parent. In your case it is the same parent.
    Regards
    Celvin
    http://www.orahyplabs.com

  • Using an Embedded Font in another .swf

    I am encountering a situation with font embedding that hopefully someone out there will know the solution to. This is a slightly boiled-down version of the problem but all the pertinent details are included. Without further ado, here's the situation:
    TLDR Version:  If I have a font embedded and registered with Font.registerFont(), and I attempt to use that font in a .swf that was compiled from an .fla in Flash CS5 that so much as MENTIONS that font, it fails.
    Longer Description:
    The Goal: Embed fonts in 1 .swf, use those fonts in many .swfs. Simple.
    Fonts.swf
    I have 3 .swf files. The first is called Fonts.swf. This was created in Flash CS5. It contains an embedded font( Franklin Gothic Demi ) with characters a-z, A-Z, numerals, and punctuation, etc. Regular, not bold. The font is exported for actionscript and the class is FranklinGothicDemi.
    On the main timeline of Fonts.swf is the code:
    Font.registerFont( FranklinGothicDemi ).
    Application.swf
    The second .swf is Application.swf. The following code snippet is from Application.as:
    [Embed(source="Fonts.swf")]
    private static var EmbeddedFonts:Class;
    initFonts()
    var embedFont:EmbeddedFonts = new EmbeddedFonts();
    embedFont.addEventListener( Event.COMPLETE, function( e:Event ){ traceEmbeddedFonts(); } );
    When traceEmbeddedFonts is called, it verifies that Franklin Gothic Demi is in fact registered.
    UserInterface.swf
    The third .swf file is UserInterface.swf. Fonts are NOT embedded in this file. They are not supposed to be. The project has many .swf files and they should all be using the fonts embedded in Fonts.swf.
    On the main timeline of UserInterface, it calls it's own version of traceEmbeddedFonts(), which again confirms that Franklin Gothic Demi is embedded.
    Inside UserInterface is a TextField we'll call mMainTextField, with some text, say "Main Menu". The font is "Franklin Gothic Demi", the anti-alias style is 'use device fonts.' I have tried other anti-alias styles as well.
    As it turns out, UserInterface.swf is 'embedding' Franklin Gothic Demi, with a character set of a big fat 0 characters. This is taking precedence over the Franklin Gothic Demi font embedded from Fonts.swf. I can side-step this problem by setting mMainTextField to use some other Font while publishing and then using actionscript to change it back to Franklin Gothic Demi when the project is running, but that's not a solution that is friendly to the artists.
    In essence, the question is simple: Why is Flash Embedding and Registering fonts with character sets of size 0, despite the fact that nowhere in UserInterface.swf is there a request to embed fonts, and how do I prevent it from doing so?
    If anyone who sees this has already encountered and solved this problem and shares the solution with me, you will be my favorite person .
    Thanks!
    -J

    You know, I think its just a bug inside Flash Builder Burrito. When I run my app through the emulator it doesn't display correctly but when I run it on my phone it works as it should.

  • Child.swf to pass two variables to parent in global function

    Hi, I have a parent.swf and wish to load a varying child.swf as a sub-menu. How do I establish a global function that will allow the child.swf to pass back two variables (storyName & storyType) to the parent and kick off a task.
    The submenu (swf) items will change so I cannot explicitly add a listener to a child.button. The submenu is on a children’s library so will have numerous graphics and movieclips included so I don’t think it would be suitable to simply call xml data to build a menu at runtime (at my level of knowledge). There will be a number of child.swf depending on books available.
    I am not familiar with package { and public class { etc...
    In as2 I would have used a _global.function() and used that to pass the variables back to the parent and then start a parent.action.
    Totally new to AS3, suggestions appreciated. I have no problem loading the child.swf.

    Hi Ned, thank you for your response. I don’t know if it is relevant, but the container clip is run via AIR. That seems to affect some things as I’ve lost fullscreen functionality somewhere.
    I tried you suggestions, if I have translated it into place correctly I don’t know. Do I need to treat the parent.parent as a variable (yes this one is done via a loader) ?
    I get an error if I leave the function call open, I can tell I’m getting into the call as the trace on each side is happening.
    In the External Movie:
    blob_b.addEventListener(MouseEvent.CLICK, ms_bF);
    function MbRemEL(nameof:String):void {
                blob_b.removeEventListener(MouseEvent.CLICK, ms_bF);
    function ms_bF(event:MouseEvent):void {
                var m_ar:Array = new Array();
                m_ar=event.target.name.split("_");
                MbRemEL("r");
                trace("StoryMenu: "+event.target.name);
                if (this.parent.parent != null){
                            MovieClip(parent.parent).story = event.target.name;
                            //MovieClip(parent.parent).gcr(event.target.name);
                             // = TypeError: Error #1006: gcr is not a function.
                            MovieClip(parent.parent).gotoAndStop("g_home");                   
    In Container Movie:
    function gcr(stry:String):void{
                trace("gcr: "+stry);

  • Using load movie and load variable

    Ok i am having a problem with my movie... when i test it
    using test movie it is fine but when i preview in HTML or run the
    SWF on it own i am having a problem... and i spotted the items i am
    having a problem with but problem is i dont know why.
    i am loading a movie dynamically in my main movie using load
    movie
    loadMovie("menu.swf",_root.i_dress2.i_content);
    and in the actual movie menu.SWF i am loading a text
    dynamically using loadvariable... but i am actually loading it into
    the movie that has already been loaded into my main movie... maybe
    it i will make sense when you see my line of script that is in the
    menu.sef movie....
    loadVariables("menu.txt",_root.i_dress2.i_content.arg.maskedText.scrollpage);
    so i guess it is like i am loadingthe txt into the text file
    after it is loaded into the main movei so that is why it is
    referring ot the text field that way...
    anyway it works fine when i go thorugh test movie but when i
    preview in HTML the text doenst come out...
    am i doing this thewrong way.? is there something i am
    missing?
    Thanks...any help will be appreciated!!

    You may be hitting a Flash 8 security issue that you cannot
    load external
    data using file:////path_to_your_movie/youmoviehtml in a web
    browser. You
    may need to use
    http://thedomain.com/yourmovie.html.
    Lon Hosford
    www.lonhosford.com
    May many happy bits flow your way!
    "batgirl_Sa" <[email protected]> wrote in
    message
    news:e2v04c$lq$[email protected]..
    Ok i am having a problem with my movie... when i test it
    using test movie
    it
    is fine but when i preview in HTML or run the SWF on it own i
    am having a
    problem... and i spotted the items i am having a problem with
    but problem is
    i
    dont know why.
    i am loading a movie dynamically in my main movie using load
    movie
    loadMovie("menu.swf",_root.i_dress2.i_content);
    and in the actual movie menu.SWF i am loading a text
    dynamically using
    loadvariable... but i am actually loading it into the movie
    that has already
    been loaded into my main movie... maybe it i will make sense
    when you see my
    line of script that is in the menu.sef movie....
    loadVariables("menu.txt",_root.i_dress2.i_content.arg.maskedText.scrollpage);
    so i guess it is like i am loadingthe txt into the text file after
    it isloaded into the main movei so that is why it is referring ot
    the text fieldthat way... anyway it works fine when i go thorugh
    test movie but when i preview inHTMLthe text doenst come out... am
    i doing this thewrong way.? is there something i am missing?
    Thanks...any help will be appreciated!!

  • Embed a font in one SWF use in another?

    Long version:
    I've got a "player" app that I've built that shows content
    from various XML files. I have certain common fonts embedded in it
    (Verdana, Arial, Times, etc.) that it uses to display text. Now,
    I've got a client with a special symbol font that I'll need to pull
    characters from to show specific text in my app. I can't embed this
    font in my app (due to many considerations), but I'd like to use it
    without having to use each character as a graphic (by converting
    every character in the font into a JPG). So, can I embed his font
    in a SWF and load that SWF to use the font in my app?
    Short version:
    SWF1 loads SWF2 which contains an embedded font. SWF1 uses
    that font via a TextFormant instance to show text on the stage.
    Is this possible? My target is Flash 7 player using AS2.
    Thanks!
    Matt

    that approach won't work i don't think. i've looked at shared
    libs before and don't remember it being that useful. but i'll take
    another look.
    is there now way in pure code to do it?

  • Using a font embedded swf in mxml

    Hello,
    We need to load in fonts at runtime due to localization needs. I've got this working in an AS3 project in Flex by embedding the font in a class and then loading that swf into another class and registering the font.
    What I need now is to be able to use that font class in MXML components like a spark label. I can't seem to get it to work though. I've tried referencing the swf in a style sheet, then making a style class in the CSS using that font like this:
    /* Embed.css */
    @font-face {
         src: url("_Arial.swf");
         fontFamily: "_Arial";
    .genericTextArial
    font-family: "_Arial";
    fontSize: 40;
    color: #000000;
    Then in the MXML I have this:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                      xmlns:s="library://ns.adobe.com/flex/spark"
                      xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
         <fx:Style source="Embed.css"/>
         <s:Label text="This should display my embedded text." width="100%" styleName="genericTextArial"/>
    </s:Application>
    However I can't seem to get it to render. I've also tried the method of embedding the font in a text field in Flash Professional and loading in that swf and it doesn't work either. Am I missing a parameter or just going about this the wrong way?

    Thank you, that worked! I actually didn't know exactly how to do that at first but I found this great blog post that explains it:
    http://www.softwarebyrichard.com/content/embedding-fonts-flex-4

  • Rendering of SWF Loader child SWFs

    I am using the swf loader with an Xcelsius OpenDoc link (http://<server>:8080/Xcelsius/opendoc/documentDownload?sIDType=CUID&iDocID=<CUID>&sKind=Flash&CELogonToken=<CELogonToken>)  and it works beautifully so long as the parent swf is also opened using and OpenDoc link.  However, if the parent swf is opened via InfoView, the child swf does not render properly (either way too large or too small).  Has anyone else come across this or have any ideas for resolution?
    Regards,
    Alison

    "whomba" <[email protected]> wrote in
    message
    news:glq6j0$b20$[email protected]..
    > Hello all,
    > I have a Flex app that loads in a swf using 'SWFLoader'
    tag. the SWFloader
    > and
    > the swf being loaded in are the same height and width
    (see attached code)
    > Now,
    > the SWF getting loaded in is also 468 X 351 however the
    designers that
    > made it
    > have crazy amount of random Movie Clips EVERYWHERE that
    isn't on the
    > stage. My
    > guess is that the actual height and width of the SWF is
    close to 1000 X
    > 1000.
    > When I load this SWF in to my SWFLoader it scales
    everything down so all
    > of the
    > MovieClips are inside of this SWFLoader rather than just
    the SWF's Stage.
    > Any
    > Suggestions?
    >
    > <mx:SWFLoader id="mainMovieSWF" height="351"
    width="468"
    > source="{mainMovieSrc}" scaleContent="false"/>
    Try wrapping it as a component with the Flex component kit.
    That way you
    get to specify the bounding box.
    HTH;
    Amy

  • Using Loader.loadBytes - specify SecurityDomain for loaded swf?

    Hi i have a problem.
    I use Loader.loadBytes to dynamically load a swf into my app (i use this method to load modules into the app). My trouble is that when I want to use ExternalInterface.addCallback to allow js calls on my app. When those functions get called a SecurityError gets thrown because I'm not in the right Security Domain. Trying to set the SecurityDomain of the loaded content via LoaderContext results in another error telling me that SecurityDomain can't be other than null. Is there a way to actually get my modules accessible from JS?
    *Note:
    I have set in my main ap (the one that instantiates the module controller that loads the modules) the following:
    Security.allowDomain("*");
    Security.allowInsecureDomain("*");
    the loading code:
    var _contextLoader : LoaderContext = new LoaderContext(false, ApplicationDomain.currentDomain);
    _contextLoader.allowCodeImport = true;
    _moduleLoader.loadBytes(moduleBytes, _contextLoader);
    The error:
    SecurityDomain 'null' tried to access incompatible context ...

    The loaded swf is at loader.content, but you can only access
    it once the loading has completed and the loader has been added to
    the display list. For example, CODE 1 will not work, but CODE 2
    will.
    //CODE 1
    var myLoader:Loader = new Loader();
    addChild(myLoader);
    myLoader.load(new URLRequest("movie.swf"));
    var loadedSwf:MovieClip = MovieClip(loader.content); //ERROR
    //CODE 2
    var myLoader:Loader = new Loader();
    addChild(myLoader);
    myLoader.load(new URLRequest("movie.swf"));
    myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,
    loadCompleted);
    var loadedSwf:MovieClip;
    function loadCompleted(ev:Event):void {
    loadedSwf = MovieClip(loader.content);
    trace(loadedSwf);
    PS. I recommend using the Tweener library for tweening in
    ActionScript. It is much better than the Adobe functions and there
    is a tutorial at:
    http://gotoandlearn.com/player.php?id=45

  • AS3 array used to load and play random swfs?

    Hi, I'm trying to use an array adapted from AS2 script to load random swfs called "koan_1.swf" or "koan_2.swf" etc into a "koan_loader_mc" on the stage.  Each "koan_#.swf" has code in its last frame to both advance the "shuffle" array in the action script in the first frame of the stage and to load the next koan swf.  The code below -- almost -- works, but....?
    Frame on main stage:
    // creates function called at the end of koan_#.swfs
    function shuffle(a:Array) {
    for (var ivar = a.length-1; ivar>=0; ivar--) {
    var p = Math.floor(Math.random())(ivar+1);
    var t = a[ivar];
    a[ivar] = a[p];
    a[p] = t;
    // loads koans into koan_loader_mc
    var index:uint = 0;
    var koan_loader:Loader = new Loader();
    var koan:Array =["swfs/koans/koan_1.swf","swfs/koans/koan_2.swf", "swfs/koans/koan_3.swf", "swfs/koans/koan_4.swf", "swfs/koans/koan_5.swf", "swfs/koans/koan_6.swf", "swfs/koans/koan_7.swf", "swfs/koans/koan_8.swf", "swfs/koans/koan_9.swf", "swfs/koans/koan_10.swf", "swfs/koans/koan_11.swf", "swfs/koans/koan_12.swf"];
    koan.shuffle();
    koan_loader.load(new URLRequest(koan[index]));
    MovieClip(this).koan_loader_mc.addChild(koan_loader);
    MovieClip(this).stop();
    Code is on the last frame of the loaded koan swfs:
    MovieClip(stage).index++
    if(MovieClip(stage).index>MovieClip(stage).koan.length-1){
    MovieClip(stage).index=0;
    MovieClip(stage).koan.shuffle();
    MovieClip(stage).koan_loader.load(new URLRequest(koan[MovieClip(stage).index]));
    MovieClip(stage).koan_loader_mc.addChild(koan_loader);
    Thanks for -- any -- guidance and suggestions...at my wit's end...

    Thank you for taking the time to help, but......unfortunately it still isn't working.  When the "koan.shuffle():" segment of code on the first frame of the stage timeline, below, is commented out, everything else in the movie (except randomizing of swfs) works fine.
    This code loads swfs (but they are not randomized/shuffled):
    // loads koans into koan_loader_mc
    var index:uint = 0;
    var koan_loader:Loader = new Loader();
    var koan:Array =["swfs/koans/koan_1.swf","swfs/koans/koan_2.swf", "swfs/koans/koan_3.swf", "swfs/koans/koan_4.swf", "swfs/koans/koan_5.swf", "swfs/koans/koan_6.swf", "swfs/koans/koan_7.swf", "swfs/koans/koan_8.swf", "swfs/koans/koan_9.swf", "swfs/koans/koan_10.swf", "swfs/koans/koan_11.swf", "swfs/koans/koan_12.swf"];
    //koan.shuffle(); 
    koan_loader.load(new URLRequest(koan[index]));
    MovieClip(this).koan_loader_mc.addChild(koan_loader);
    Thanks again for your help....

  • Applet loading and using ttf font

    Hello,
    I'd like my applet to load a TTF file from the server (or from a provided jar file) and
    use it to render text, or use it with GUI elements like TextArea.
    Here the significant part of my code:
            URL fontURL=applet2.class.getClassLoader().getResource("my.ttf");
            try { fontStream = fontURL.openStream(); } catch (Exception e) {
                str=str+"Error 1\n";
                e.printStackTrace();
            str=str+"Step 1\n";
    // also tried this way instead, as well as including the ttf in a jar or as separate file on the server
    //      fontStream = getClass().getResourceAsStream("my.ttf");
            try { font = Font.createFont(Font.TRUETYPE_FONT, fontStream); } catch (Exception e) {
                str=str+"Error 2\n";
                e.printStackTrace();
            str=str+"Step 2\n";
            try { fontStream.close();} catch (Exception e) {
                str=str+"Error 3\n";
                e.printStackTrace();
            str=str+"Step 3\n";
            big_font=font.deriveFont(40f);
            text_out_main = new TextArea(str,4,40,TextArea.SCROLLBARS_NONE);
            text_out_main.setFont(big_font);the funny thing is, that this works on several Linux installations I tried (all UTF8/Unicode based ones).
    And I tried several WinXP/Win2k FF/IE/Safari combinations and none of them works! The Windows
    machines all show a standard font but with the size 40f, I cant see any exceptions, the strings "Step 1"
    to "Step 3" are nicely attached to the main string and not a single "Error x" string appears.
    All systems use the latest jre 1.6 plugins.
    Any hints are appreciated.
    Thanks,
    Leander
    Edited by: Leander2000 on Jun 7, 2008 5:55 AM

    Meanwhile I found out that the TextArea (or probably any other awt gui element)
    did not use the font when running on Windows, when drawing to a Graphic or using
    it with a JTextArea everything is ok.
    Regards,
    Leander

  • Loading child SWFs with TLF content (from Flash CS5.5) generates reference errors in FB4.6

    I am currently producing e-learning content with our custom AS3-Framework.
    We normally create content files in Flash CS5.5 with dynamic text fields, which are set at runtime from our Framework (AS3 framework in FB4.6).
    Now we are in the progress of language versioning, and since one of the languages is Arabic we are changing the dynamic text fields to TLF fields.
    Then all my problems started.
    In Flash I have chosen to include the TLF engine and to export in frame 2.
    (see to: http://helpx.adobe.com/flash/kb/loading-child-swfs-tlf-content.html )
    I get this error:
    VerifyError: Error #1053: Illegal override of getEventMirror in flashx.textLayout.elements.FlowLeafElement.
                at flash.display::MovieClip/gotoAndPlay()
    I guess it is because our framework wants to gotoAndPlay before the TLF engine has been loaded.
    Can this be it?
    Any good suggestions on how to handle loading child SWFs with TLF content.

    Please refere to the following articles .. you may find some help.
    http://www.stevensacks.net/2010/05/28/flash-cs5-tlf-engine-causes-errors-with-loaded-swfs/
    http://www.adobe.com/devnet/flash/articles/preloading-tlf-rsl.html
    I also faced similar problem and posted a question at the following link, but, I still couldn't find the solution.
    http://forums.adobe.com/message/4367968#4367968

  • Use loadSWF load my stage3D game swf and show In AIR , This swf may crash when running

    Problem Description:
    use loadSWF load my stage3D game swf and show , This swf may crash when running
    Steps to Reproduce:
    run my Upload Project . Fill in the login box, any account and password . Because of network problems, you may need to wait a long time to show up login box
    Actual Result:
    this swf crash when running
    Expected Result:
    this swf do not crash when running
    Any Workarounds: 
    Test Configuration
    My Hardware and Environment details:
    1.this url's swf load files in worker
    2.this url's swf use SDK is Flex 4.6.0(bulid23201)
    3.this url's swf is Flex Project
    Upload Project Url:
    http://fight.fuhuodao.com/fight/testUrl/!FightAirShell.zip

    The loading of SWFs from AIR has a different Security model than that of the WebPlayer.  There is a workaround to loading plugins in AIR: If you use a static plugin this should work for you.  To do this: Link in the plugin at compile time, and pass the PluginInfoResource to the loadPlugin() method.

Maybe you are looking for

  • Home sharing on Apple TV iTunes

    Mac book pro Home sharing says its on  but Apple TV is not connecting

  • ALV error.

    Hi All,       I've a report which is using   CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'. It displays the data correctly, but when i press back button it gives a short dump! The error is : Runtime Errors         MOVE_TO_LIT_NOTALLOWED_NODATA I've checked

  • Camera connector and Kodak camera

    Hi all, will my Kodak DX7630 camera be compatible with the iPod Camera connector? It doesn´t show up in the compatibility list, but perhaps it will although work...

  • I need to sync my sim card with itunes

    i cant recieve calls/texts or facetime, spoke to 1 of your colleagues who said i need to sync my new sim with itunes. im doing that now but having difficulty

  • Why is sent mail not being shown in sent box?

    I even question whether sent mail is really being sent. It tells me it is but without verification I don't know,