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
1
vote
1 answer

Flash - can't access classes in another SWF

I'm trying to load a local SWF file and use the classes in that SWF (its a code only SWF, nothing in library). Here's the code that loads the library: var AD:ApplicationDomain = ApplicationDomain.currentDomain; var context:LoaderContext = new…
1
vote
1 answer

actionscript 3, add a watermark to image and save

my task - Open a picture from computer Add the watermark in the corner Ask a request to download edited image back to computer how is it possible? general image - jpg. watermark- it does not matter. Use all what you want
Denis
  • 87
  • 1
  • 1
  • 6
1
vote
1 answer

get the event when the loaded movieclip is ready in the right frame

i'm developing an app that use swf to load elements and add properties to the loaded swf. I use SWFLoader to load the movie and on the COMPLETE event i move the loaded MovieClip to a specific frame and then list its DisplayList. I've discovered that…
wezzy
  • 5,897
  • 3
  • 31
  • 42
1
vote
1 answer

Flex 4, SWFLoader border resize issue

Following is the issue i am facing. I have a MainPage, on initialize I am calling a method which would create a SWFLoader object (aka LoginPage) and loads it in the MainPage. When we run the MainPage in 800x500 window, the LoginPage loads in that…
1
vote
1 answer

Randomly generating SWFLoader source

I want to create a view in flex that will display a randomly generated swf. the following code can run, but my swf isnt showing? how to fix this?
user3411128
  • 31
  • 1
  • 7
1
vote
1 answer

How can I pass parameters to a loaded swf application?

When I load an swf application using SWFLoader in Flex 4, how can I pass parameters to that application?
ufk
  • 30,912
  • 70
  • 235
  • 386
1
vote
0 answers

Install haxe and neko.dll

I tried to execute haxe.exe but I get an error : "The program can't start because the neko.dll is missing from your computer." I look in the Environement Variables and there the path for NEKO is corect. I installed version 2.9 of haxe, I tried to…
TanGio
  • 766
  • 2
  • 12
  • 34
1
vote
1 answer

Issue: Dynamic text rendered incorrectly when loaded from external SWF

In my game project previously all HUD elements were in the main FLA file. I'm now moving them to an external SWF file to clean up my project. However I've hit an issue which I don't quite understand. As a test case I moved over one HUD element to a…
paup
  • 23
  • 5
1
vote
1 answer

Declarative and programmatic SWFLoaders

What's the difference in terms of security between declarative and programmatic SWFLoaders? In the ff. code, loader1 throws a security exception while loader2 does not. public someFunction(source:String):void { var loader1:SWFLoader = new…
Chry Cheng
  • 3,378
  • 5
  • 47
  • 79
1
vote
0 answers

Specific Youtube Video Gives Error when play in desktop application

Description: I have a youtube player in My Desktop Application. I implement it by using SWFLoader and using this url http://www.youtube.com/v/yd71LWhCO4s?version=3&autoplay=0&autohide=0&fs=1&showinfo=0 it works. 'yd71LWhCO4s' is a Video id, if I…
JK Patel
  • 858
  • 8
  • 22
1
vote
0 answers

Flex 4.6: Mobile Flex Application with SWFLoader loading an SWF created with pdf2swf; Click events?

I am creating a mobile application with Flash builder 4.6. I am running Windows 7, and compiled SWFTools 0.9.2 using Cygwin. I have a PDF with an inner-link, and converted it to SWF using: pdf2swf.exe test.pdf -f -T 9 -t -s storeallcharacters -s…
user76568
  • 456
  • 4
  • 16
1
vote
0 answers

How to detect when a crossdomain SWFLoader application is ready?

I have a lightweight loader application that is trying to load the main application (the target). The loader needs to detect when the main application has finished loading so it can call a method. Where I'm running into trouble is that if the target…
justkevin
  • 3,089
  • 3
  • 28
  • 33
1
vote
3 answers

detect the size of swf. flex/as3

I'm creating a map that has points of interest. (POI) When a user mouses over the POI an info bubble pops onto the screen and it loads an swf. I currently have 3 problems. My 4th problem is that this is due Monday 21st! so any help would be greatly…
Phil
  • 11
  • 3
1
vote
1 answer

SWFLoader starts to play SWF without the loading being complete

I need to play SWF files in my project. These SWF files have background music in them. The which Sound Sync Options of this music in Flash is set to "stream". This is done so that if you pause the Flash movie, the music will pause as well. Now I…
Bocaxica
  • 3,911
  • 3
  • 37
  • 54
1
vote
2 answers

flex: swfloader - flash file overlaps it's configured size

i'm using swfloader to load swf file in the middle of the screen using the following command: now stage of the flash…
ufk
  • 30,912
  • 70
  • 235
  • 386
1 2
3
9 10