Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

Search the Community

Showing results for tags 'swfloader'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • GreenSock Forums
    • GSAP
    • Banner Animation
    • Jobs & Freelance
  • Flash / ActionScript Archive
    • GSAP (Flash)
    • Loading (Flash)
    • TransformManager (Flash)

Product Groups

  • Club GreenSock
  • TransformManager
  • Supercharge

Categories

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Personal Website


Twitter


CodePen


Company Website


Location


Interests

Found 23 results

  1. Hi I have a usecase, where I use DataLoader to load binary Data. This way I'm always able to look into the incoming data like so: queue = new LoaderMax( { name:"mainQueue", autoLoad:true }); [...] var loader:DataLoader = new DataLoader("example.com/SESSIONSTRING", { name:someParameter, format: "binary", onComplete:dataCompleteHandler }); queue.append( loader ); [...] function assetCompleteHandler(e:LoaderEvent):void { var ba:ByteArray = LoaderMax.getLoader(e.target.name).content as ByteArray; //Validation here, like checking if it is long enough, if not, are the first 5 Bytes rea
  2. hi, i load an external swf file into a sprite mcContainer, and jump to frame 2 of loader.rawContent. when applying BlitMask to mcContainer and fling it, the swf goes back to frame 1 until finished scrolling, then back to frame 2. can i avoid that? thanks...
  3. Hi, I have this bug that I want to ask about. I am using swfloader to load up swf movie and as it loads, I play it after is hit certain percentage loaded. The thing is, the first time I load up the swfloader, the screen blink. It only occur to the first swf loading upon launching the app, and it only happen in android, not IOS. After the first swf loading, other swf file load without a blink perfectly. Can anyone advise me on the possible reasons that cause this blink? I would like to get rid of it.
  4. So I have a swf file with an embedded font I made in Flash Pro. What I'm trying to do is dynamically load this swf into my project using LoaderMax and SWFLoader, then register that font so it can be used later. The swf is downloaded and stored locally beforehand. It seems to be loading the swf fine, the problem is when I try to register the font, it throws an error saying the class from the swf is invalid. Code to load the SWF: FontLoader = new LoaderMax( { onComplete: fontsLoaded, skipFailed: true } ); for(var i:int=0; i < mainXML.Fonts.Font.length(); i++) { name = mainXML.Fonts.
  5. Hi, I have a very weird problem here. I am using swfloader in flash builder 4.7 for my adobe air app and it is working fine on air 16 with IOS 8 device when I debug it on the device itself. The thing is when I export it for TestFlight Beta Testing in IOS, it would not load at all. Can anyone help me with this???
  6. My swf loader isn't firing a COMPLETE event. My progress traces looked like this before they stopped: ... 0.9822556688484245 0.9962878926891163 0.989999985011968 Which is odd since the last one is less than the previous one. No error traces from the ones I was listening to. var l:SWFLoader = new SWFLoader("../lib/audio/bg.swf", { name:"bg", onProgress:onProgress, onComplete:loadBG, onError:trace, onCancel:trace, onFail:trace, onInit:trace } ); I was having issues with Loader.loadBytes not firing an INIT or COMPLETE events too. This code is in the preloader. The swf was generated fr
  7. Hello Sirs & Ladies, I am an advanced Flex Developer and i am not a Flash Developer. I want to ask about Flex SDK 3.6.0 Alpha because it works for external swf applications. Spark Components won't work from external swf when i am using MDIWindow / MDICanvas than i call SystemManager with Object(sm_instance.application).variablename or Object(sm_instance.application).functionname() I have created flash-based Desktop with custom external swf application like our desktop loads same application example Notepad or TextEdit or GEdit and any programs. If you want check my post from sta
  8. I have an AIR for iOS application where I'm downloading remote swfs and then playing them. When I was using a generic loader this worked exactly as intended, but I wanted to switch to LoaderMax. When I use LoaderMax SWFLoader to download the swfs, it works fine when I test in Debug mode on the desktop. However when I run the app on the iPhone, I get these errors: ReferenceError: Error #1065: Variable Icon is not defined. ReferenceError: Error #1065: Variable FLVPlayback is not defined. I've searched the documentation and code files for SWFLoader and its base classes, but
  9. Hi all, I am very new to loadermax and fairly inexperienced with AS3 so apologise if I have missed or misunderstood some documentation that explains this. I am currently using SWFLoader to load 3 external swfs into a main swf. I have constructed a preloader in this main swf that 'draws' a ring using masking. The ring currently tracks the load progress of the whole queue (see code below) however I want it to track the load progress of Atoms.swf. The ultimate aim is to repeat this for the other array assets. //Load external SWFs into queue LoaderMax.activate([SWFLoader]); var urls:Array = [
  10. Hello, I have an AIR application where I have to load a SWF from a server. At some point the user will click on a button and that button will create a new nativeWindow. Inside that nativeWindow we have a stage reference. I just want to load a SWF, addChild it to the stage and be happy! But I'm getting this error: SecurityError: Error #2070: Security sandbox violation: caller http://somewhere.com/swfapp.swf cannot access Stage owned by app:/Teste.swf. at flash.display::Stage/get stageWidth() at com.swfapp::MainClass/initApp() at flash.display::DisplayObjectContainer/addChild() at f
  11. Hi Carl Another problem made me come back to you. My External loader is ready now and working quiet well (Thanks ). Here I am Loading an external SWF file using the SWFLoader Class. Here is the way i do: currentLoader = new SWFLoader(url,{container:videoContainer_mc,width:720,height:406,centerRegistration:true,autoPlay:false,onProgress:progressHandler,onComplete:completeHandler}); currentLoader.load(); Im trying to make the whole content FullScreen. On the other hand, i tend to design another button for making the external loaded Content FullScreen. How Can i do this separately for
  12. Hello, I just started working with LoaderMax and it worked quite well till the point I wanted to load the project into another project also with SWFLoader. It throw's an error that it cannot figure out what the width of the swf is. The same code loading another swf where no LoaderMax stuff was used at all just worked fine. I don't see anything wrong with my code here. I attached the project, so it would be cool if you can try to export the b2s_special.fla and tell me why it is throwing this error: Error: Error #2099: Das ladende Objekte ist noch nicht weit genug geladen, um die
  13. Hi, Any chance someone might know why I can't see my loaded swf files. I can hear the audio and the trace statements says they are loaded, but they are not visible. I'm guessing it has something to do with the container. I'm hoping you can see something obvious in my code. Thanks. public class Main extends MovieClip { private var currentSWFLoader:SWFLoader; private var swf1:SWFLoader = new SWFLoader("movie1.swf", {container:movieTwo_mc, autoPlay:false, width:480, height:480, x:300,scaleMode:"proportionalInside",onComplete:completeHandler}); private var swf
  14. Hi I'm using SWFLoader to load a SWF into a webpage. Simple stuff and the SWF I've whittled down from 6,100 Kb for 690 kb because I thought that might be the problem. Long story short through progress loader event and trace I notice the file gets to about 40% and just stops there. When I reload it starts from where it left off and gets to around 80%. A third reload finally completes. I tried a onFail function and trace but that doesn't seem to be firing off. It just hangs, waiting. I don't suspect a problem with Loadermax however I'm banging my head trying to figure out where the p
  15. Can someone tell me why is it that, when i loaded an external SWF using greensock's SWFLoader, and i (command+F) to make it full screen, the loader and the whole stage just shifts to the left and doesnt stay at the centre, whereas when I (command+f) on a page where there's no swfLoader, everything stays at the centre. Can anyone tell me how do i make it(the page with the SWFLoader) stay at the centre? I know it sounds easy to solve, but I'm not really that good when it comes to flash, so i dont really know how to solve it. Can someone help me??? I will really appreciate it.
  16. I'm loading a SWF using SWFLoader that's over 50mb It seems to freeze when publishing from Flash Builder, but works fine when viewing the swf in a browser Is there a maximum size problem thats causing this?
  17. Ok, I am pretty new to this flash / actionscript so please help me get on track... I am trying to do the following: FirstSwf -- contains a timelinemax that animates a text from left to right SecondSwf -- contains a X number of photos that fade in and fade out with Y animation duration (number of images is dynamically parsed via XML configuration) ThirdSwf -- contains a timeline that animates a text from bottom to top (sort of like credits screen) Main.swf -- This is where I am stuck. I want to load the three SWF's into a master timeline inside main.swf and than sequentially
  18. Hii I'm loading in a swf animation with a couple of frame scripts embedded on the loaded swf timeline. I managed to load in the swf, place it into a TweenMax instance, and placed that TweenMax instance into a TimelineMax instance so I can control the playback. The only issue I'm having is that the swf animation frame scripts are not firing off. This is an example of how I'm setting up the above: // This occurs after the swf is loaded var intro = LoaderMax.getLoader("transition_intro").rawContent; var introTransition:TweenMax = new TweenMax(_intro, _intro.totalFrames, { useFrames
  19. When I try to resize it, it doesn't show. It works fine like this ------ var loader:SWFLoader = new SWFLoader("livingroomout.swf", {container:this); //Load Swf loader.load(); { ----- but when I try to resize the swf, by adding the height and width properties, it doesn't appear at all ----- var loader:SWFLoader = new SWFLoader("livingroomout.swf", {container:this, width:300, height:300}); //Load Swf loader.load(); { ----- any help? pleasee???? im a noob at this
  20. I am having trouble with a screensaver file that I am creating. The basic idea is that a f4v will be loaded in with videoLoader and then it will play seemless until a specified amount of time when the videos will be paused, and a swf will play over the top. The first problem I am having is with the seemless aspect of the video. I have tried several options including setting repeat:-1, but as the file repeats, it pauses for half a second and you can see the background. To fix this I have two video loaders that listen for the end of one video, then switches to the other. This works fine
  21. Hi all, I'm sorry to clog up the forums with something I'm sure I should be able to figure out, but I'm stuck. I have an arbitrary number of SWFs all loaded into a "shell" swf via LoaderMax. These swfs are pulled from references in an XML file (though that shouldn't matter). I have a "loading" progress bar that currently waits until everything (SelfLoader, XMLLoader, and all the SWFLoaders) is finished before displaying the first loaded SWF. Let's say there are 7 SWFs. After the second is fully loaded -- and these have been prioritized, so hopefully that will help keep things in or
  22. I'm using autoplay=false to load a swf using SWFLoader. As expected, the swf is stopped during the timeline. Is there a way to make it play without knowing how many frames it has(without using the plugin "frame")?
  23. Hi I cannot seem to be able to remove a loaded SWF using removeChild(). Here is my code XML: <SWFLoader name="swf1" url="swfs/start.swf" load="true"> AS: var currentPage:SWFLoader; if (currentPage != null) { swf_holder_mc.removeChild(currentPage.content); } currentPage = LoaderMax.getLoader('swf1'); swf_holder_mc.addChild(currentPage.content);
×