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

can I prohibit users from loading swf files by AS3 / Flash Loader.load() and only allow loading images?

I want to have an AS3 app load images from url supplied by the user. But I don't want a malicious user to be able to load an SWF file in place of the image, such as with an altered extension "maliciousSwf.png". Well, not sure how big a security…
EndangeringSpecies
  • 1,564
  • 1
  • 17
  • 39
0
votes
1 answer

Reloading external swf in AIR for iOS using as3

I have a main fla in which i load an external swf locally. First time when I load the swf it works fine. On clicking the home button (on external swf) I have removed the movieclip containing the external swf. On loading the external swf again from…
Shahbaz Pothiawala
  • 1,175
  • 5
  • 20
  • 38
0
votes
1 answer

Convert Loader into SWFLoader

I am trying to load external swf file into my AIR application and of course AIR gives me security violation exception. Now I am trying to find workaround in more hackable way, first load swf with Loader, set var context:LoaderContext = new…
inside
  • 3,047
  • 10
  • 49
  • 75
0
votes
1 answer

How to find the X, Y position of an object in external swf

I have a SWF application (A) that has a green object which moves on both X and Y axis, this SWF application only runs with its SWF loader (B). I created another SWF loader (C) which loads SWF loader (B). I want to know if it is possible to get the…
0
votes
1 answer

Tooltips in .swf loaded with SWFLoader cause error #1009

I am working on a flex web project where a lot of the functionality is modular and the SWFs are loaded with SWFLoader. I've recently created a module which has tooltips on some elements and I was getting a runtime error #1009 when hovering over…
dbritt
  • 11
  • 3
0
votes
1 answer

AS3 transparent background

I'm creating a game for an assignment and am using Flash CS4. I'm figuring the best way to do this is to create each room setting in a separate file and insert the characters (it's first person, so you only see his back the entire time). I don't…
0
votes
1 answer

Flex 4 SWFLoader - Main app detecting events from remote sub app swf

I have 2 separate Flex 4 projects, same framework but running on different servers. 1) MainApp (IP:192.168.12.113:8080) 2) SubApp (IP:192.168.10.19:5080) I need to integrate SubApp into MainApp and I have managed to do so using a…
Gzzzy
  • 31
  • 1
  • 6
0
votes
1 answer

flex: take screenshot from loaded swf from swfloader

can i save a screenshot from a loaded swf using the SWFLoader class ?
ufk
  • 30,912
  • 70
  • 235
  • 386
0
votes
1 answer

flex4: loading flex4 swf using swfloader shows only the loading bar

I try to load an swf in my flex 4 project using the following line of code: the demo.swf file is another project i created using flex 4. the problem is that when i run the…
ufk
  • 30,912
  • 70
  • 235
  • 386
0
votes
1 answer

flex4: fetch events from loaded swf using swfloader

I have a master swf that loads a child swf using SWFLoader class. the child swf is connecting to adobe flash media server using NetConnection class. using the parent swf i want to to display status regarding the connection. how can i do that ?
ufk
  • 30,912
  • 70
  • 235
  • 386
0
votes
3 answers

actionscript project compiled as swf. how can i load it with flex and use the functions it provides?

I have an ActionScript project with several classes that i compiled as an swf using Adobe Flex (by creating an actionscript project and clicking on export -> release build) Is there a way to load that swf so i'll be able to load it's classes and use…
ufk
  • 30,912
  • 70
  • 235
  • 386
0
votes
1 answer

external swf control flex application?

I have a flex application that loads an external swf file. I created the external swf file using flash cs4 so I can add code to it if that is what it takes. Here is the code I use to load my external swf: //add button swf var request:URLRequest =…
Phil
  • 261
  • 2
  • 7
  • 20
0
votes
1 answer

flex swfloader: is it possible to add classes and functions to the loaded flash file?

I have a flex application that loads swf files and displays them using the SWFLoader object. is there a way to provide different classes and functions for the swf application to use? for example. if the swf file that i'm loading has the following…
ufk
  • 30,912
  • 70
  • 235
  • 386
0
votes
1 answer

flex swfloader: can i control the volume of the application i'm loading?

i have a flex application that loads flash files using SWFLoader. is there a way to control the audio volume in that swf from my flex application ?
ufk
  • 30,912
  • 70
  • 235
  • 386
0
votes
1 answer

actionscript 3 external swf loads above the close button

I'm an as3 newbie, i'm loading external swf files by clicking different buttons but using only one function which works fine. //main mainCloseBtn.visible = false; movieloaderbg.visible = false; M1L1Btn1.visible = false; //Load activities var…
nezma
  • 15
  • 1
  • 4