HTMLLoader SWF fullscreen problem

The Adobe Air help docs say that SWF content loaded into an HTMLLoader object will disappear if the HTMLLoader object is scaled to a factor greater than 1.
Does that mean that there's no way to display SWF content in an HTMLLoader object when the Air app is set to full screen?
My SWF content called into the HTMLLoader object does disappear in this case when my app goes to full screen, and I was just wondering if anyone has found a workaround to this.
Thanks,
Eric

i have just replaced on frame 1 with this:
Ekonomi_1_1.addEventListener(Event.ADDED_TO_STAGE, FLVAdded, true);
function FLVAdded(e:Event):void
Ekonomi_1_1.fullScreenTakeOver = true;  // if you want your flv_pb to fill the screen.  otherwise, use false
but it stuck, it stop at frame 1.
then, i tried to put
Ekonomi_1_1.addEventListener(Event.ADDED_TO_STAGE, FLVAdded, true);
function FLVAdded(e:Event):void
Ekonomi_1_1.fullScreenTakeOver = true;  // if you want your flv_pb to fill the screen.  otherwise, use false
on frame 310 line 41-45, but it still do the same blank space.
Will you please take a look on this file?
eko.rar - Google Drive
maybe there is some script that i missed

Similar Messages

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

  • Air HTMLLoader fullscreen problem

    The Adobe Air help docs say that SWF content loaded into an HTMLLoader object will disappear if the HTMLLoader object is scaled to a factor greater than 1. Does that mean that there's no way to display SWF content in an HTMLLoader object when the Air app is set to full screen? My SWF content called into the HTMLLoader object does disappear in this case when my app goes to full screen, and I was just wondering if anyone has found a workaround to this. Thanks.

    Welcome to our community
    Please click the link below and read the text presented in bright red letters. Below that is a link you need to follow.
    Click here to view
    Best of luck to you in solving your issue! Rick

  • FullScreen problem with MovieClipLoader

    Hi and thanks very very much for reading.
    My problem is:  When I load a .swf via MovieClipLoader in ActionScript 2 -- Stage["fullScreen"] no longer works.  I am stuck in "normal" for the Stage. 
    If I run the loaded SWF without the preloader, then everything works fine and I can get to fullscreen mode.  So it seems the problem has to do with the preloader.
    I am using loadMovieNum("FSTest.swf",0) to bring the loaded clip to Root level.  Thought that would solve my problem but it doesn't. 
    Here is some test code that demonstrates my problem.  You can see it run at: http://www.tommygameco.com/TestLoader.html
    TESTLOADER.FLA:  (preloader)
    var container:MovieClip = this.createEmptyMovieClip("container", this.getNextHighestDepth());
    var FS_mc:MovieClip = container.createEmptyMovieClip("FSClip", container.getNextHighestDepth());
    var mcLoader:MovieClipLoader = new MovieClipLoader();
    var listener:Object = new Object();
    var interval:Object = new Object();
    listener.onLoadInit = function() {
    // make loaded movie _root
    loadMovieNum("FSTest.swf",0);
    mcLoader.addListener(listener);
    mcLoader.loadClip("FSTest.swf", FS_mc);
    stop();
    FSTEST.FLA:  (Loaded Movie)
    fsbutton.onRelease = function() {
    Stage["displayState"]="fullScreen";
    stageState.text = Stage["displayState"];
    Thanks again!!  Any Clues are greatly appreciated!!!
    Tom

    Hi,
    Problem was in the publish settings --- My loaded clip was set for "allow full screen" under publish options (file Menu, HTML Tab).  However the Pre-loader was not!!  Fixing that fixes the problem.
    Best Regards,
    Tom

  • .SWF fullscreen

    Hi,
    I make a .swf with adobe flash professional cs4 to view a video from adobe flash media server ! All is working greate,i can see the video that i stream with Flash media server but when i press the fullscreen button to see the video in fullscreen nothing happens! I can not see the video in fullscreen!What causes this problem?What should i do?
    Thanks in advance

    most people would consider that as an important security issue and not so much adobe trying to be mean to you personally.
    in any case, if you're still able, please mark this thread as answered.

  • SWF Viewing problem - Web Galleries?

    Hi there,
    I am entirely new to this – I’m using Dreamweaver MX and use Abobe Bridge CS2.
    My questions are;
    1 – I have created a Web Gallery in Adobe, and then placed the swf file into a Dreamweaver page, my problem is this – the file works ok in design mode when I test it, but when I ‘proof’ it in explorer 8 it fails to appear, just a blank white box….i have examined the link to the file in Dreamweaver and believe the link to be ok after having read on here about this possibility, but I’m not so sure – so the code for the page is as follows….
    2 – Will I be able to create multiple galleries?, if so how can I do this (as I’m a photographer and wish to display different aspects to my work on different pages)
    <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="600" height="600">
          <param name="movie" value="Gallery%20One/gallery.swf">
          <param name=quality value=high>
          <embed src="Gallery%20One/gallery.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="600" height="600"></embed>
        </object>
    Many Thanks in advance – and forgive the dumbness or any misunderstanding on the more technical aspects, as I said I’m beginner in these things!.
    Reagards,
    JB

    .htaccess first assumes you're on an Apache server. Are you?
    To make the file, create a text file with the single line of text recommended above. Use Notepad or Text Edit -- a program that will save a simple text file (don't use Word). Save it on your computer and call it anything you want. If you name it .htaccess on your local machine and you're using a Mac, it will disappear (because any file name that starts with a period on UNIX is invisible).
    Upload the file you made to your server. You can put it in your root directory because .htaccess files affect the directory they're in and all directories below it.
    Rename the file .htaccess on the server.
    You're done.

  • HELP PLEASE - loading external swf scale problem

    I have a Flex 3 Actionscript Project. Basically all it does it take some flash vars, set the sound volume,  and load an external swf using a loader and add the loader as a child. The problem is I want the loaded external swf to be scaled to fill the entire stage, even if it distorts it, and that doesn't seem to be happening.
    I really need to resolve this. ANY HELP APPRECIATED.
    Marcus

    Thanks for the reply!
    Here's basically what my code looks like (note: I cut some stuff out that wasn't relevant for the sake of clarity).
    private var swfLoader:Loader = null;
    public function MySwfContainer()  
        stage.scaleMode = StageScaleMode.EXACT_FIT;
        stage.align = StageAlign.TOP_LEFT;
        var request:URLRequest = new URLRequest(swfUrl);
        swfLoader = new Loader();
        swfLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,SWFLoader_Complete);
        swfLoader.load(request);       
    private function SWFLoader_Complete(event:Event):void
        addChild(swfLoader);
    What I am observing is that if a swf larger than the stage area is loaded it clips it rather than scale it down and make it fit.
    Marcus

  • SWF in SWF sound problem

    Hi, I made a preloader, witch is a SWF file with a progress
    bar and a container, in this container will be loaded the page SWF
    witch is a flash presentation, my problem is that the page SWF has
    sounds for buttons over state, and if I run the SWF it works, but
    if it's loaded by the preloader I have no sound anymore. Any
    suggestions anyone ?

    Man, you`re fast!
    And all over the place, it seems... For years now, whenever I look for solutions to my Flash problems, at least some of the answers are from you!
    Just wanted to say thanks and that I eventually found this same answer from you on another post here on the forums, and it solved my problem.
    So, thanks Kglad!

  • Simple SWF File problems

    Hello all, im trying to create a very simple swf file, but have come  across some problems.
    The file i want to create is very much like this - http://davidtest.webcastglobal.com/swf2/flash.swf
    This swf allows me to import it into Flex, and control which frame is  being viewed.
    I achieve this using a app that can be found here -
    http://davidtest.webcastglobal.com/swf2/Main.html
    When you press Next or Previous, it jumps forward or backward a frame.
    Now i want to create a swf file like the ball file, although it will  just contain a series of images, 5 for example.
    I tried creating such a file in Flash, using both AS2 and AS3.
    I created a project with 5 frames, and put an image on each frame,  i  then put the "stop();" tag on each frame.
    When i imported it into my flex app, flex cudnt communicate with it.
    So the ball flash file has been made in a different way ?
    Can anyone shed some light on the situation please?

    Can no one help me on this ?

  • Interactive document exported as swf navigation problems

    I created an interactive document, exported as a swf file. Each page has an animation build, text fade in, images slide in etc. When I navigate to the next page, it displays the completed build, reloads and plays the animated build. When I navigate to the next page it does the same thing again. I want to be able to navigate to a page and view the animation from the beginning not see the completed animation first. Any ideas what could be the problem?

    It´s a bug. Start your animation from outside of the page area or if you have to start it from some visible place, create a mask that covers your animation´s starting point. Then use a timing panel to start your animation by fading the mask away, then proceed to the actual animation. If you have white background in your page, mask can be a simple white rectangle.

  • External SWF layer problem

    I can only guess if its a layer / stacking problem or not, but I have a main fla file that loads three external SWF's, all ontop of each other, three buttons for each movie, that designate that movie is the visible one playing.
    It's basically a portfolio site.  You can see the site here
    www.tvnstudios.com/loadvis.html
    Why aren't the movies playing smoothly?  The FPS rate is the same for all three of the external SWF's and for the main fla that is loading them.
    Can anyone help? 
    I'd be so grateful!
    Thanks,
    -T
    p.s.  I'm including the fla file that has the actionscript that loads the movies.  It's a small code, but maybe the error is in there somewhere...

    If you are loading all of the files and they are all playing at the same time, that could be the problem.  Invisible files still eat up their share of the processor if they are left in a playing mode.
    I am unable to determine there is any slowness, primarily due to not knowing what the first one is supposed to be doing and the others appear to be flip book implementations that work fine as long as they are only the couple of pages I can see.

  • As 3 load swf flie problem,help

    I have now trapped by a strange problem of loading the swf
    file.For some reason I need to use a main swf file to load other
    swf file and use the class in it,it's very common.
    And now I worte a class blow to explain what problem I met:
    package
    import flash.display.*;
    import flash.events.*;
    import flash.geom.*;
    public class TestClass extends MovieClip
    public var sp:Sprite;
    public static var count:Array=new Array();
    public function TestClass()
    sp = new Sprite();
    //drawcrr();
    this.addEventListener("test",test);
    count.push("");
    trace("count in circle is:", count.length);
    private function test(e:Event):void
    drawcrr();
    public function drawcrr():void
    sp.graphics.beginFill(0);
    sp.graphics.drawCircle(0,0,10);
    sp.graphics.endFill();
    addChild(sp);
    Save it as TestClass.as for next use;
    Use the class to link to a fla file as the documentClass then
    compile as a swf file name as
    kk.swf then make a copy name kk1.swf;
    Create a new fla file in the same directory then write the
    code blow on the mainTimeLine :
    var kk:TestClass = new TestClass();
    var URL1:URLRequest = new URLRequest("kk1.swf");
    var URL2:URLRequest = new URLRequest("kk.swf");
    function domain():LoaderContext
    var context:LoaderContext = new LoaderContext();
    context.applicationDomain = new
    ApplicationDomain(ApplicationDomain.currentDomain);
    return context;
    var L1:Loader = new Loader();
    L1.contentLoaderInfo.addEventListener(Event.COMPLETE,onComplete);
    L1.load(URL1);
    var L2:Loader = new Loader();
    L2.contentLoaderInfo.addEventListener(Event.COMPLETE,onComplete);
    L2.load(URL2);
    //v.text = flash.system.Capabilities.version;
    function onComplete(e:Event)
    trace(e.target)
    then compile this fla file you will find the flash will put
    out below:
    count in circle is: 1
    count in circle is: 2
    count in circle is: 3
    [object LoaderInfo]
    [object LoaderInfo]
    and if you notation the line "var kk:TestClass = new
    TestClass();" compile it again
    the flash will output :
    count in circle is: 1
    count in circle is: 1
    [object LoaderInfo]
    [object LoaderInfo]
    It's prove that the same class in the different swf was
    loaded by a main swf file,the same class in the different swf file
    will be treated as the different class so that I can use them
    individually but when I put the code:"var kk:TestClass = new
    TestClass();" in the main swf file all this will be break down,I
    can't use the class in kk.swf and class in kk1.swf individually
    the flash make then as the same class because the static
    variable "count" was count to 3.
    it prove that all those 3 swf file will use the exactly same
    class;So, that's the problem,it will make my programme cause error.
    Can some one kindly to tell me why this happened?And how can
    I solve this problem.

    Sorry about that.
    That problem is:
    If I use a shell swf to load some swf file and the shell swf
    and the loaded swf file have the same name class,The loaded swf's
    class will be ignored.
    That will make me can't use the loaded swf file's class which
    have same name with the shell swf.
    However, this problem can be solved by useing the application
    domain.Just give the swf you loaded a new application domain in the
    shell swf.
    But after that I found a new problem appear in front of mine,
    that is:
    If I use the different application domain in my shell swf how
    could they communicate with each other?
    For example:
    If my shell swf have a class named TEST,and the loaded swf
    also have the same name class those two classes both extends the
    class named TESTParent and the TESTParent have a public static
    variable to count the instance of the class.If I want use those two
    TEST
    class individually and at the same time made the static
    variable in the TESTParent count work as a same class how can I do?

  • AIR load swf cash problem

    hi folks
    I am building android app.
    I have a problem with loading several .swfs cache. this swf-s have almost same package and class structure/ names.
    App stores ActionScript and assets of first loaded swf and when i try to load second swf, anyway it loads first swf.
    I used
    request.cacheResponse = false;
    request.useCache = false;
    loader.unload();
    loader.unloadAndStop();
    loader = null;
    but no luck, any solutions, suggestions?
    thanks

    I solved problem, swfs that I loading in app have same package names and classes, I changed package names for each swf and everything works fine.
    Main app stores in cash loaded swf-s AS code, I have't found solution how to clean this cash

  • Fullscreen problem!

    I can't get fullscreen to work on Hulu.com's Adobe Flash
    Player 9.
    In both IE and Firefox I get this when I go full-screen
    (regardless of standard res or 420p)
    http://img186.imageshack.us/img186/2200/fullscreenii9.jpg
    I have the latest ATI drivers (8.3, running on HD 2900 Pro)
    and Vista. Does anyone know of a solution to this?
    I really want to use fullscreen for watching shows/movies
    with this player, and have had no problem with other players such
    as DivX.

    Okay, this is getting ridiculous. What kind of a company
    doesn't pay attention to such a serious bug in such a widespread
    product?
    This issue needs to be looked at immediately - many people
    simply have no fullscreen on their favorite movie/video sites!
    -->edit<--
    I have been able to circumvent the issue by going to
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14157
    , grabbing the uninstall_flash_player.exe file, running it, and
    installing the older 9r47 release from the FP9 Debug package (
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14266)
    including all older FP9 versions. The fullscreen works with this
    old release, but does not with the latest FP9 version (115).
    -->edit 2<--
    HD and high resolution (480p) do not work with the older
    version... this is not satisfactory. When can we expect 115 to be
    fixed?

  • Linking to an external swf file problem

    I have one flash presentation which contains a movie clip
    button with all three events (onRelease, onRollOut and onRollOver)
    which links to a video which is contained in another swf. The
    button appears to be temperamental with the onRelease event. It
    will work sometimes and only when the browser is opened before
    hand. If its not the browser just opens with a blank screen. Both
    swfs are in the same directory and the onRelease event.
    I have tried IE and firefox.
    Any ideas are appreciated.
    p.s The AS uses a getURL syntax

    Hi,
    I'm the author of the article you pointed out. I'm sincerely
    sorry that you found the solution code difficult to understand.
    As kglad suggests, the problem is based on how Firefox
    handles the url that Flash Player gives to it. (Although you're
    using a relative url, behind the scenes Flash Player turns it into
    an absolute url, one that starts with "file:///c|/..." or something
    like that. (Firefox chokes on the pipe "|" character, even though
    it shouldn't.) The workaround code in my article just constructs an
    absolute url for you (using a colon ":" in place of the pipe
    character, as in "file:///c:/..."). When you pass the absolute url
    to the getURL() function, Flash Player passes it along to the
    browser unmodified, so Firefox gets it with a colon and doesn't
    choke.
    I hope that helps make things clearer.
    -Paul
    H. Paul Robertson
    ActionScript Developer/Writer
    Platform Developer Documentation
    Adobe Systems, Inc.
    http://probertson.com/

Maybe you are looking for

  • Logical Standby Database in NOARCHIVE Mode

    Hi, I have configured a Logical Standby Database for Reporting purposes. A Physical Standby Database is running for MAA. i.e. in case of Role Transition (switch/Failover) the Physical Stdby Db will get the role of the Primary. The logical standby dat

  • Report with ALV tree and ALV list?

    I need to create a report with layout as same as this one [http://trangiegie.com/MyFile/output.JPG] It looks like a report with combination of ALV tree and list. The tree works like a navigation bar. Wonder if there are any demo programs like this. W

  • On this iPhone is activated limit the number of free accounts

    ICLOUD On this iPhone is activated limit the number of free accounts

  • (missing) firewire

    u unhooked everything and moved stuff around and hooked it up the same. but now it says that my firewire device is missing. and it's hooked up, help. it says missing apple fire wire. i just installed a couple of days ago. TIGER could that be the prob

  • Copying sapscript form in different languages...

    Hi, I want to use your suggested solutions for my program, then test and only then I can award the points and close the issue . Till then please bear with me *** I am stuck up with duplicating my medruck program. I choose from menu Utilies--> Copy fr