Questions tagged [swfloader]

In Adobe Flex 4.5, SWFLoader is used to load application into another application.

SWFLoader is responsible for loading Flex applications or sub-applications into another applications.

The control can be used to load SWF files, as well as images such as GIF, PNG and JPG.

136 questions
0
votes
1 answer

Swfloader scale content to full size

I have load flash swf file to my flex project. I have used SWFLoader for that to load the swf file. var loader:SWFLoader = new SWFLoader(); loader.load("player/VideoPlayer.swf"); loader.width = 320; loader.height =…
ketan
  • 19,129
  • 42
  • 60
  • 98
0
votes
1 answer

flex: trouble resize and position SWFLoader

I have a complicated problem with a couple of SWFLoaders. I have an application that loads a swf with a SWFLoader. The loaded swf loads another swf (just a compiled fla). I am adding all my resize and position logic in my loaded swf and it works…
Tinelise
  • 386
  • 4
  • 16
0
votes
1 answer

Creating a swf from a set of images

I have a set of images, and I want to show them as a SWF slideshow. Something similar to Slideshare.net It would be easiest if there is way I can pass a xml or json with list of images, and get the swf. I there a library or (linux friendly) tool,…
agiliq
  • 7,518
  • 14
  • 54
  • 74
0
votes
1 answer

flex 4 swfloader: SWFLoader.content.stage.width and height returns the main stage width and height

When I load a flash application using SWFLoader, the Stage width and height of the loaded application becomes the stage of the main flex application. so if i created a game that uses stage width and height to calculate where to draw, it actually…
ufk
  • 30,912
  • 70
  • 235
  • 386
0
votes
1 answer

how to access flex component id's generically?

I have some generic functions like copy, paste,etc in an AS file. I want to use them for editing data present in different mxml applications embedded in one application. If I pass the child's component id as a parameter of a function in one of the…
0
votes
1 answer

Flash Builder SWFLoader Embed Giving Errors

I am working on a Flash Mobile project in Flash Builder 4.7. I am getting 4 "Flex Problem" errors when embedding the source of a spark SWFLoader object in the MXML. The errors I get occur in a range of Flex SDKs, from 4.6 to 4.14. For years I…
MMPGreg
  • 1
  • 1
0
votes
1 answer

SWFLoader - "SWF all over the place"

I need to load in an swf component but I want it to be an exact width and height, problem is that when I set width and height it doesn't matter, content of that swf still goes out of predefined bounds. How can I tell it not to do so, so it will work…
Yan
  • 17
  • 4
0
votes
2 answers

Flex mx:SWFLoader Loads Incorrect SWF File

I'm fairly new to Flex and am having an issue where I have a main Flex program (let's called it "Parent.swf") attempting to load another Flex application (Child.swf) via the SWFLoader class/component. Environment is Flex 4.6 on FlashDevelop. The…
0
votes
1 answer

Load external swf from a button in external swf and unload self?

I am an uber n00b to flash AS3. And it is not my intention to sound like a complete moron, but honestly, I have had a hard enough time figuring out just how to load an external .swf into my main file! And now my friend is asking me if I could…
BennettD
  • 1
  • 2
0
votes
2 answers

Pass data between embedded SWF and Flex

I have a Flex project with an SWF object embedded with SWFLoader: The onComplete() function is embedded in the mxml file:
0
votes
1 answer

Flex 3 (Action Script): How to access a function from a loaded swf-file?

i load in ActionScript a swf file. So far no Problem, but I didn't found a way to access one of it's functions, the best thing would be if I could access the main function in the mxml part of the swf. Here is the code of the main-mxml file that…
Trantec
  • 397
  • 1
  • 4
  • 14
0
votes
1 answer

Load remote swf files in flex

I have a SWFLoader in mxml of my flex app. Now on a button click, I execute the following code in action…
Gaurav
  • 313
  • 1
  • 3
  • 19
0
votes
1 answer

flex4: swfloader doesn't properly load games

I have several flash games that when i load them in my firefox browser they load fine, but when i load them with swfloader using flex 4 (flash builder) they load until 100% and don't show the start menu. any ideas how to resolve the issue ?
ufk
  • 30,912
  • 70
  • 235
  • 386
0
votes
1 answer

As3 Flash - Coercion Failed Errors Passing Third Party Data Types Swf to Swf

I am making a game where each screen is loaded in as a separate swf. I am loading the swf using Greensock's LoaderMax, but I don't think that is what is causing the issue. After I load in the swf I can set properties of the child swf like String and…
Mc' Flips
  • 1,023
  • 2
  • 9
  • 9
0
votes
1 answer

Incompatible classes when loading SWF

I have two ActionScript 3 projects, game(.swf) and minigame(.swf). At runtime the main game loads the minigame via Loader. I also have a shared library (SWC) of event classes, included by both, which minigame will need to dispatch and game will need…
Bart van Heukelom
  • 43,244
  • 59
  • 186
  • 301