ActionScript 3.0 :: Load External Pictures Into A SWF File
Mar 16, 2009there is a way to load external pictures into a SWF file. The size of the file is geting quite large and I'm trying to reduced.
View 1 Repliesthere is a way to load external pictures into a SWF file. The size of the file is geting quite large and I'm trying to reduced.
View 1 RepliesI am trying to recreate a banner I did awhile ago for this [url]... it needs to be the same thing except I need to be able to change the photos in the banner by just changing pictures in a folder.
Is there a way to do this and still keep all of the fading properties and loop?
I made an effect in swish and i saved it in to an swf file i want to load that swf file in to my flash movie in the middle in which i have some text's and pictures
View 5 RepliesI can't seem to remove / unload the external swf files e.g when the carousel.swf (portfolio) is displayed and I press the about button the about content is overlapping the carousel (portfolio) . How can I remove / unload an external swf file from the main flash file and load a new swf file, while at the same time removing garbage collection from memory?
View 15 RepliesStructure: There is 1 main file that loads external SWF files depending on what is clicked on.One of the external SWF files loads its text from external text files. This works fine when viewing the SWF applet on its own. But when viewing as a whole site, the text doesnt appear. Very annoying.I made that particular SWF on my mums computer running Flash MX 2004The flash file itself uses the Scrollbar component from MX.Could someone tell me why the text doesnt load in this scenario? It runs fine on its own, just not as an external SWF.
View 4 RepliesThe function below belongs to an XML based photoGallery.swf... Its menu is automatically populated from the same XML file as well (thumbnail picture, title, description). The pictures load into an empty mc called imageContainer.In another empty mc called textContainer, I would like to load some text.swf from the xml list as well.How would you include that in the code?
Code:
function loadTmbs () {
var tmbs:XML = new XML ();[code]......
When i try to load an external swf file using Loader.Load(); The swf starts playing even before the init event is fired. Is there any way to stop the swf from playing atleast until the init event or complete event is fired?
View 1 RepliesHow I can make this script lo load mp3 files via an external xml file like music.xml and if is possible to load random
Code:
music = new Sound();
music.onSoundComplete = function() {
[code]....
i have banner with 5 images fad in fade out effecti need to load images & test from external file " text file or xml file " with keeping fade effects on imagesall ways i know can't keep fading effect on images so
View 4 RepliesAll I'm trying to do is load an external .swf file into a precise location on the stage of my existing Flash file. I've spent an hour and a half on this site search and found nothing. What do I add to my loadMovie command to place the file at specific x,y coordinates?
View 3 Repliesi have a question. let say i have file1.swf , file2.swf, and file3.swf, how can i link this 3 files together,let say suppose file1.swf is the main content file, but as i load file2.swf, i want the file1.swf get replaced by file2.swf. How could i unload file1.swf at that time, so that my file2.swf will become the main content file?and again, when my current position at file2.swf, and i want it get replaced by file3.swf by clink on a button. so that the i can unload the file2.swf and let the file3.swf become the main content file.
View 13 Repliesi have a button that when it is pressed plays and loads an external flv file. this part works fine but directly after the flv video is finnished i want to load in an swf file. does some one have an idea how to do this? first show flv and then load swf?
this is the code as it looks now..
[Code]...
i'm building a website using flash. i have a external swf file that i want to import into my website. i thought this would be an easy task but for some reason when i load the movie, it flickers. my website (parent swf) was build using 1.0. The external form swf was build using 3.0. My approach:
1.create an empty movie clip called mcForm
2.go to the mc clip page i want to pull the external movie into
3. within my actions layer, I call the following function loadMovie("main.swf", mcForm);
If i write:
LoadMovieNum("main.swf",0);
then the my main.swf opens correctly but closes the parent swf file. I wan the main.swf file to be embeded within the parent file.
I'm trying to load an external swf file into another with a loading that shows exactly the progression of the download. I tried to look at the loadClip and MovieClipLoader commands but I'm a newbie in AS, I don't really understand.
View 14 RepliesI've tried loading a .swf file externally into another .swf file on my local drive, and it works. Now, when I try to Simulate Download, the preloader in the 2nd file doesn't get played and the images in there take a while to get displayed. I need to load a .swf file from a server into the parent .swf file(I'm working on using a "thin flash file" for added security for the company I work for - blank file which loads the content from another file on their server).[code]...
View 2 RepliesI know how to load in a .swf from an external file. However, I don't know how to run one that's already in the library. Is it possible to have a .swf nested within a .swf? I want the final thing to be just one file.
View 3 RepliesI have a .css file and an .as file. I want to set the style name of a component in the .as file to a property defined in the .css file.Style name defined in Test.css
Code:
.imgRendererSkin {
stroke-color: #00ff00;
[code]......
I have my swf video, that load an other swf in a empty movie clip with the LoadMovie("...") function.And this work perfectly.But one of the video that I want to load refere to an external xml from were it takes the images (is a slide gallery). The swf work pefecty wen you play it "alone", but dosen't show anything when it is uploaded in the other video.
View 1 RepliesHow can I load an external SWF file? For example, I press the button "About", it will close the active window (where the button is located) and opens the file about.swf)
View 1 RepliesI'm new in this comunnity, and i try yo make some flash page based on xml, with a dynamic menubar.
I try to load a externel swf file but i can do it.[code]...
[code]...
in this code- is there anyway i can load the URL from an external file? Here: xmlData.load(myURL);can "myURL" be loaded from an external source.. may be from another XML file which i can keep locally and change the URL when needed.
I've used this AS to load an external .txt file
[AS]
loadText = new loadVars();
loadText.load("company.txt");
// creating the loadVarsText function
[Code]....
it works fine when the company.txt file is in the same folder as my swf file. (in my computer) the problem arise when i upload both of this files into my website. flash does not display the data in company.txt file.
I know how to load an external swf file with the following AS3[code]...
However, I want to load an external swf that is triggered by a mouse click. I have a button with an instance name if photogallery_btn and I want to apply AS3 to this so when this button is clicked, an external swf is loaded. Can some one please show me how to right this code?
Also, how do you unload a external swf? For example, say I get the code working for the photogallery_btn so when it's clicked, an external swf file is loaded. I would like to know how to unload another external swf file once the photogallery_btn is clicked.
I tried to load external swf file through .as..
Note: create "blue_box.swf" . I can't upload it.
I've tried loading a .swf file externally into another .swf file on my local drive, and it works. Now, when I try to Simulate Download, the preloader in the 2nd file doesn't get played and the images in there take a while to get displayed.
I need to load a .swf file from a server into the parent .swf file(I'm working on using a "thin flash file" for added security for the company I work for - blank file which loads the content from another file on their server).
So far, I have:
Code:
try
{
var myLoader:Loader = new Loader();
[Code].....
When I replace the "newBook.swf" with the URL of another .swf, there's just a blank page.
If loading pictures at runtime, and i want to get the dimensions of the picture, do i have to make a seperate movieclip of each picture in order to do that?
View 1 RepliesI am working on a new website and for some reason I decided to go with AS 3.0 ... of course there are some problems. I am not a programmer ..just a designer but as3.0 fascinates me and decided to go all code on this(nothing on stage).Here's the thing : I am loading some pictures from xml, and for now I stored everything in 1 movie clip.What I want to do is store each picture into a separate movie clip and then all this movie clips in to the big one that I have now and reference them from there.This is my code to load the pictures into 1 movie clip.
function loadAllPictures2() {
var mainLoader:Loader = new Loader();
var mainRequest:URLRequest = new URLRequest(picturePathList2[e]);
[code]......
I have a combobox (comboBox) on the stage and an empty movieclip (holder_mc).
I want to load 3 external swf files in the holder_mc once the values in the combobox has been selected.
there are only three values in the combobox(Red, Black, White).
I have also this code on the first frame of the main time line:
function change(evt){
trace(evt.target.selectedItem.label);
}
comboBox.addEventListener("change", this);
I've got a few .swf files with video tutorials I've created using Captivate 4.I wanted to link them so I've created a main screen with menu with buttons in Flash.I've added AS to load the external swf files but they load in the same window. How can I load these .swf files in seperate window so that you could get back to the main window after you've finished watching?[code]...
View 8 RepliesHow may load an external html file in swf? such as google.com in a movieclip.
View 2 Replies