How Do I Down Load .zip Files From Flash MX?
Hi All,
I’ve be researching how to download .zip files on a server from a link in flash. When the swf is on my computer the getURL call works fine. When the swf is on the server it no longer opens the zip file. I get this error message:
Action canceled Internet Explorer was unable to link to the Web page you requested. The page might be temporarily unavailable.
--------------------------------------------------------------------------------
I have come across some documentation that has a solution in Flash version 8. I need to implement this in Flash 6. Do you have some insight into this or can you point me in the right direction?
FlashKit > Flash Help > Flash Newbies
Posted on: 08-15-2006, 06:37 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Up Load Files In Flash Kit
Is there a way for me to upload files for people to download in FK? Like an FLA for someone to use, etc...
How Do I Down Load .zip Files From Flash MX?
Hi All,
I’ve be researching how to download .zip files on a server from a link in flash. When the swf is on my computer the getURL call works fine. When the swf is on the server it no longer opens the zip file. I get this error message:
Action canceled
Internet Explorer was unable to link to the Web page you requested. The page might be temporarily unavailable.
--------------------------------------------------------------------------------
I have come across some documentation that has a solution in Flash version 8. I need to implement this in Flash 6. Do you have some insight into this or can you point me in the right direction?
Flash Files Dont Load.
Hello.
Im trying to upload a flash file through dreamweaver but once i try to view it from the web, it dosen't work.
How To Load/save Files In Flash With AS3?
How do you load (bring data from an external file into Flash) and save (store data from Flash in a file to be used later) data using ActionScript 3.0? I found some tutorials on it here, but they are not that good. Does anyone know of any good tutorials that can help me with this? Thanks in advance for your help!
Unable To Load Swf Files In Flash
Hi,
since creating all the animation in one flash file will produce a big file i tried to split and create small flash files and load these files in the main flash movie using the image and swf loader component.
eg.
main.swf, sub1.swf, sub2.swf.
In the main swf , buttons are created to load sub1.swf and sub2.swf.
The action script on button 1 is
on (release) {
//Movieclip GotoAndStop Behavior
this.gotoAndStop("sub1");
//End Behavior
}
where sub1 is frame label. the image loader loads the sub1.swf file starting from this label. Everything works fine locally but the swf files are not loading when i test in my server or remotely.
can anyone please help
thanx in advance
Flash Files Do Not Load From Includes
Hello,
I have a flash header and am also using the sIfR text replacement for my <h4> tags. If a file is not in the root folder the flash movies do not play. This is my file structure.
newSite(folder)
index.php
publicWorks (folder)publicWorks.phpparks (folder)parks.phpThe flash works great when you view index.php but the other files do not load the movie.
This is the PHP code, I know this is the flash forum, but the PHP code works on all includes except flash.
PHP Code:
<?php include $_SERVER['DOCUMENT_ROOT'] . '/newSite/flashHeader.html'; ?>
The sIfR is called via javascript and the paths are correct, but the flash movie doesn't load.
What is the secret to having flash work when it is not in the top level folder.
Thank you.
Finding Files To Load Into Flash
My problem i think is with targeting. I try to use actionscript to go get a certain file, put in a certain spot within my flash document, and I get the following error message in my Outcome menu:
"Error opening URL "file:///Macintosh%20HD/Users/popkes/Desktop/mySite/mySite/xmlboxtest.xml"
am i missing something to this error message, cuz the way i am interpreting it is flash can't find the file?
Is It Possible To Load Different Xml Files Into A Flash File?
Is it possible to load a few different xml files with just a flash file? How to do it? using parameter? I want the xml file content show in the html too. Can anyone give some examples how to do it or give some reference links? Hope to hear from anyone soon. thanx.
Help With How My Pages Load In Flash Files
Some swf files on some of my sites are say 1100 pixels high, if I have a button at the bottom of the page using this code
on (release) {
unloadMovieNum(2);
loadMovieNum("clubbing-beachcomber.swf", 3);
}
the page opens but all you can see is black until page loads as you can no longer see the logo or the preloader that are in the index page.
Is there anyway I can make the page jump back to the top when a new movie is opened using the code above ?
How Can I Make Flash Load Htm Files Into Their Frames
Hi friends...Iam making a website containing 2 frames.One of these have the flash movie and the other(i names it mainframe) is supposed to load the rest of the htm files.The problem is that the buttons (in the flash movie) arent loading the htm files into the frame but opening it in a new window or in the same window.
on (release) {
getURL ("about.htm", "mainframe");
}
thats the action iam using for the buttons ..
How To Load QuickTime Movies Files In Flash 5?
Hi there,
I need to insert a couple of QuickTime movies in flash 5.
Questions>>
1) Is Flash 5 able to support QT files?
2) How do I unload the movies and play the QT files in Flash 5 WITHOUT creating anothe html file for it?
3)What sort of actionscripting is there involved?
My QT files names are "03.Uprock.mov" and "04.futurism.mov".
Should I still keep to this naming convention or should I change the files name?
I'm pulling my hair out as I can't figure it out.
Could someone please enlighten me?
Cheers,
Felicia
Multiple Flash Files Upon Page Load
i have a flash button on my home page. however, i'd like create different flash buttons with the same dimensions that would load randomly upon page load. is this possible?
i'd like to do this to add some variety to my home page. does this make sense? any help would be great.
thanks
Can You Tell Me How To Make A Flash Button Load Files?
could anyone tell me how to make a flash button load files on flash mx, i know how to load url's but is there anyway you can link to a file so that when you click on the button, the button loads a file and not a url
im doing coursework and i have to give the person who marks it a disk with a website on it ,so i need the buttons to load the files on the disk and not load a web page
thanks in advance
clare
How Do I Load Seperate Swf Files Within My Flash Movie?
Hi,
I'm currently trying to build my own portfolio website in flash. I currently have the main structure sorted, with a main menus and animations to each page.
Because of it already being quite large in size, I want the content on each page to load in seperately as its own swf file with a preloader.
Can anyone help explain how I should do this please?
Thanks.
[F8] Learn How To Load Video Into Flash Files?
Does anyone know of any good tutorials to get videos on your flash website?
Im trying to either have them load onto my website....(which i cant get all of them to work) or just have them embedded right in my website?
I have all different file types that i've converted to .swf files so im working with swf files now...
I have attached a file that works...so why doesnt any of my other files work when i do the exact same thing?
Any suggestions or advice would be greatly appreciated!!
Flash MX 2004 Wont Load Flash MX Files?
Hi, i was wondering, why wont flash MX 2004 load flash mx files? i get a popup window("unexpected file format")
Any ideas?
Is ther a setting u can change to allow you to load MX files?
Thanx
Martin
How To Load A Flash Movie - Without In Temporary Internet Files?
When you start the browser, and type an address
for example http://www.mysite.com , it stores it in the Temporary
Intenet Files on the computer. How to avoid copying for example the flash file from the server to the Temporary Internet Files' Folder on the computer ?
That's for protecting any site ! Very interesting if you
ask me.
I'll appreciate anyone who has an idea how to solve this
problem.
Thanks!!!
vangbergsys
My E-mail address is: vangbergsys@yahoo.com
[Edited by VangbergSYS on 08-12-2001 at 06:56 PM]
How Do I Load External Mp3 Files Intop My Flash Movie
Ok
Well i am a bit embarrassed as I ave made some movies so far that are not that simple but as yet I have not found out how to load in mp3's
I want to be able to load a mp3 file dynamically from outside the flash movie in the sense that it doesnt have to be in the library. It can be loaded dynamically like a text file.
So I click a button and the mp3 is loaded in dynamically and streamed.
Can someonme show me how to do this. Would love if someone could send an example .fla to my email address so i could see how they did.
have tried loadSound etc so if someone does have a working example where mp3's are loaded I would be most grateful.
please only send to my email as i cant download attachments from flashkit for some reason.
any idae of how to control the volume of the track with a slider and using sound.setVolume
my email is
pixelmagikau@yahoo.com.au
cheers
Pixelmagik
Basic Question: How To Load 2 XML Files To Flash Movie
Hi,
I have a gallery on my website that uses flash to get the images externally via an XML file. I want to now make different "albums" (now i have only the one) using the same gallery structure (because it actually works for me!) but don't know how to alter the code in the actionscript.
right now i have one XML file called images.xml. the actionscript attached to the flash movie frame is this:
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
description = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
description[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
}
firstImage();
} else {
content = "file not loaded!";
}
}
i pulled all of this from someone else's example, so keep in mind i have NO SML experience nor with actionscript. I can't find a reference in the above code to the file named images.XML, so i assume when it says LoadXML, it just loads any xml, hence the one file. BUT now i want to make other XML files in the same directory but don't know how to "call them" without calling images.xml. can someone help me? it's a little time-sensitive, and i assume this is a simple question for anyone who knows flahs and XML..
thanks!
hope to hear anything you have to say!
[MX04] Can't Load Flash Files Directly From Browser
I'm really new here, so I don't know where to post my problem. I'm posting it here just in case.
I can't open Flash files in my Maxthon Internet Browser... I just installed Flash MX 2004 (with an update to 7.02) in my PC due to a reformat. Embedded Flash files in a webpage work fine, but when I try opening them directly (I mean typing the URL of the file <example: http://i34.photobucket.com/albums/d121/vytalibus/Hitorijime.swf>), they don't load!
I don't think my browser is the problem. I tried using IE as my browser, but the same problem came up. I concluded that there's something wrong with Flash.
And the silly thing is: Flash files saved on my computer DON'T LOAD IN MY BROWSER. However, they play when I open the files.
Help! I'm using Windows XP.
[F8] Dynamically Load External Sound Files In To Flash
I know how to Dynamically load external JPEG and SWF files in to flash but i need to know a way to load and play external sound files like wav's and MP3's. I need to be able to have a script that loads a sound thats in the same folder as the swf and be able to load it by name only. And when it's loaded i need to be able to control it with start and stop commands. I hope this is not to much to ask.
thanks
Flash Player 8 Wont Load Xml...all Files Local...
hello flashers,
I am using flash 8 to make a flash 7 swf
in the swf I load an XML file.
all the files are on my local machine.
when i test the movie in flash, no problem.
when i test the exported swf in flash player 7, no problem.
when i test the exported swf in flash player 8, it calls the:
function loadXML (loaded) {}
function, but fails.
Ive tried to put at the top:
System.security.allowDomain("*");
Even though I am NOT loading anything outside of my local machine, just incase.
If this is a security issue, how do I resolve it?
My code:
System.security.allowDomain("*");
System.security.allowInsecureDomain("*");
function loadXML (loaded) {
if (loaded) {
//load some stuff
play();
}else {
//failed
}
}
//load folder for appropriate content:
System.useCodepage = true;
product_xml = new XML();
product_xml.ignoreWhite = true;
product_xml.onLoad = loadXML;
//product_xml.load(loadPath);
product_xml.load("bann_config.xml");
stop();
Thanks!
Sebastian.
Flash 8: How Do I Load Consecutive Multiple External Swf Files?
Hello, all of you brilliant people! I have a question and hope that someone may be able to help.
I have a container .fla movie and would like to load consecutive external .swf files. Right now I have a play button triggering the loading of the next movie, but what I would REALLY like is a smooth transition from .swf to .swf using a listener so that the next .swf will load once the previous one has finished. I have a counter which determines the next .swf in order.
So far, my code is this:
Counter:
stop();
//SETUP OUR COUNTER
var mcCounter:Number = 0;
//THIS BLOCK IS ONLY TO HANDLE THE LOADER AND THE FIRST MOVIE, movie0.swf
var myMCL:MovieClipLoader = new MovieClipLoader();
var loadListener:Object = new Object();
myMCL.addListener(loadListener);
myMCL.loadClip("movie" + mcCounter + ".swf", 6);
loadListener.onLoadComplete = function():Void {
_level0.play();
}
//-------------------------<CLIP LOADERS>------------------------------\
function loadNextClip():Void {
if(mcCounter < 6) {
mcCounter++;
var nextMCL:MovieClipLoader = new MovieClipLoader();
nextMCL.addListener(this);
nextMCL.loadClip("movie" + mcCounter + ".swf",6);
}
}
//LOADS PREVIOUS CLIP , WON"T GO PAST ZERO
function loadPrevClip():Void {
if(mcCounter > 0) {
mcCounter--;
var prevMCL:MovieClipLoader = new MovieClipLoader();
prevMCL.addListener(this);
prevMCL.loadClip("movie" + mcCounter + ".swf",6);
}
}
//-------------------------</CLIP LOADERS>------------------------------\
Any suggestions? I appreciate ANY help you can offer. I have been unsuccessfully looking for hours online, and can't find any examples, although it doesn't seem as if it should be the hardest thing in the world.
How Do I Load External SWF Video Files Into Main Flash?
Hello,
I need to know how to be able to load external SWF video files into a main flash movie via buttons on the main flash. What I am trying to do is to show video clips in a window on the main flash movie. I know I need to convert the video clips to flash first. Could someone tell me how should I convert them in flash professional 8, then have on the main flash movie different play buttons which can each bring a certain clip to play in a window. I'd like to be able to also allow the viewer to control the audio of each clip, as well as pause the clips, start them over again, etc. I'm just trying to allow my viewers the choice of which clip they want to play into a window on the main flash movie and be able to control them as well. I'd really appreciate it if someone would help me. It's really hard to find a solution anywhere else.
Thanks!
Rob
Best Structure For Your Flash Site - How Do I Load Multiple XML Files?
I'm trying to use Mark Angeletti's excellent structure (http://www.sitepoint.com/article/structure-flash-site)
to solve my preloading problems. However, I'm having trouble loading an array of separate XML files. Here is his code for Frame 2:
var xmlData:XML = new XML();
xmlData.ignoreWhite = true;
xmlData.load( xmlFile );
xmlData.onLoad = loadXML;
BTW I don't understand what "loaded" is doing here. What is this importing? Nothing that I can find... from the above code. How does it know if loaded is TRUE? Please explain.
function loadXML(loaded) {
if (loaded) {
trace (xmlData)
var xnRootNode:XMLNode = this;
//add firstChild.childNodes stuff here...
}
I don't want to use his system of firstChild.childNodes in the function because my XML files are very simple - just heading and plain text. All I need to do is import all 43 of them. So I tried creating an array in the Global Variables import Frame (1) and going through them like this:
var counter:Number = allText.length, ii:Number = 0;
for (var i:Number = 0; i<counter; i++) {
var xmlData:XML = new XML();
xmlData.ignoreWhite = true
var loadText = this["eachText"+i]
xmlData.load(loadText);
xmlData.onLoad = loadXML;
}
Works so far - I can do a trace and see each one. However I can't get them into the loadXML function - one at a time. Do I need to create another loop in the function or can I put the function inside the above loop? Then how do I create another array of objects? Whatever syntax I try - ie - var xmlData[i]:XML = new XML(); comes up with an error.
Thanks for your help.
Charles
Unable To Load External Files Using Loadvars In Flash 8
Hi, i am unable to load external files from the flash authoring environment. Anyone know why this is or any possible fixes??
When ever I try and load a file, i get the error: (I changed the url of my site for this example of error)
Error opening URL "http://www.mysite.com/contact.php"
Any ideas??
Regards,
Martin
Computing Help And Info:
http://www.webrevolt.biz
How To Load .swf Files In Other .swf Files In HTML Tables?
Ok I need help on figuring out how to place several different flash files in table cells in HTML. basically how to make a flash website, i did the tutorial for it but it just loads .swf files from one movie clip into another. how do you load a .swf file into another .swf file in an html table? for instance say I have 3 rows for my table. each row has one TD cell. inside each cell is one .swf file.
so we have one .swf file in each row. if i click a button in the top row(top .swf file), how do i get it to make a .swf file load into a blank .swf file in the middle row? i want a top menu in flash and i want it to load .swf files into a middle display area. how do i do this with external .swf files that are not all in the same movie? know what i mean? i hope i didnt confuse everyone. basically, can you target a .swf file in a table cell from a .swf file in another table cell? please email me if you know how to help me, thank you I appreciate your time.
tyr
How To Load .swf Files In Other .swf Files In HTML Tables?
Ok I need help on figuring out how to place several different flash files in table cells in HTML. basically how to make a flash website, i did the tutorial for it but it just loads .swf files from one movie clip into another. how do you load a .swf file into another .swf file in an html table? for instance say I have 3 rows for my table. each row has one TD cell. inside each cell is one .swf file.
so we have one .swf file in each row. if i click a button in the top row(top .swf file), how do i get it to make a .swf file load into a blank .swf file in the middle row? i want a top menu in flash and i want it to load .swf files into a middle display area. how do i do this with external .swf files that are not all in the same movie? know what i mean? i hope i didnt confuse everyone. basically, can you target a .swf file in a table cell from a .swf file in another table cell? please email me if you know how to help me, thank you I appreciate your time.
tyr
Can I Load Movieclips From A Textfile? Or Load Other Text Files?
i am pulling in variables from a text file like so:
on (release){
textbox.loadVariables ("text1.txt");
}
now... my question is... is it possible to load another movie clip from that textfile???
i have a bunch of news headlines that are from a text file, and i want them to link and load another movie clip on another section of my page... i have figured out how to link URL's but i cannot get it to link a movieclip, or, another textfile...
i want the movieclip to load into a already running swf file... is it possible for flash to do this?
any help would be much appreciated.
Load Movie To Load Jpeq Files
Load Movie in MX allows you to load .jpg files dynamically.
In test mode the output window will show you an error if the
file cannot be found.
Is there any way determine if there is a file error when not in
test mode? Is there something equivalent to the LoadVar if (success)?
thanks,
YJ
Load Different Swf Files
Hi
I want to load 3 different swf files in another swf.
I tried to load a movie in to a target, but when the movie loads, it replaces the whole swf (not only the size of the target)
any help?
Load Swf Files
Hi,
is it possible, to load a swf file, and this swf file itself load additional swf files?
E.g.:
MC1 load a external swf file named: MC2
MC2 load two external swf files named: MC3 and MC4
Is this solution possible???
Greeting
David
Help Load Swf Files
Hi, I have a big problem in loading swf files!
I have three swf files, named “Film1.swf”, “Film2.swf” and “Film3.swf”
OK, “Film2.swf” load “Film1.swf” via loadMovie and it works perfect!
Now, “Film3.swf” load “Film2.swf” via loadMovie. But here I have the problem, that only the “Film1.swf” is loaded, NOT the content of “Film2.swf”
I have the source files on this destination!!! They are very small, only one frame for each ot the three MCs!
http://mitglied.lycos.de/fcneptun/film.zip
Please help!!!
Thanks
David
Pre-load .swf Files
Is it possible to preload .swf files in the same manner as images, using code such as:
<script>
function preloadimages(imagesstring){
var imagesarray;
var count;
imagesarray=imagesstring.split(",")
for(count=0;count<imagesarray.length;count++)
newimage=new Image();
newimage.src=imagesarray[count];
}
</script>
<body onload="preloadimages('file_01.swf,file_02.swf,fil e_03.swf,file_04.swf,');">
i know it won't work using this exact code but is there something similar for flash files?
thanks!
My SWF Files Do Not Load
Hey,
I uploaded a website www.brickhousestudio.com and two of my swf import files do not work. When I run the html on my computer everything is fine, however it is not the case when I send it to the host. I have three buttons that load swf's and only one works. I don't think I did anything different with the two malfunctioning buttons or swf's.
Please help... anything is appreciated
thanks
Load Other Swf Files In One Swf
I have a website goin on right now, and I have cartoons I want to play on the flash website. Do any of you guys know how to load and play other swf movies into another swf file??
Files Don't Load
I have a movie that works just fine locally on my computer. When you open the movie it opens a menu. The menu is used to open other swf files (using the loadMovie function).
When I gave the movie to another person, it worked fine locally on their machine. When the person copied and pasted the folders onto their server problems occurred. All of the menu links work fine, except the first link. It won't open the other swf file. All of the files are on the server in the appropriate folder.
My first thoughts were that I had some sort of absolute link for the first menu item, but then I realized that it ran fine on the other person's machine before it was up on the server. Why will this work locally, but not from the server?
Load Txt Files
Hey.
I was wondering if you could import *.txt files into flash. I have done it once before, but have forgotten now. I think it is something like
loadMovieNum("*.txt", 1);
But I then cant remember how to put that text onto a dynamic text field. On the text file i have got a prefix of '&data='. Does that do anything? If anyone can help, or tell me what I am doing wrong, please do.
Thank you
M3XEL
How Can I Load Files From A Cd?
ok i have this kiosk on cd, i also have this button which i want to click to open up a PDF file which is also on the cd.
Whats the code I need for this??
Ten XML Files To Load
My problem:
I have multiple XML files to load and each must pass a param to the loadedXML function below. How do I do this correctly. I have the loading part down, but I cannot get the param to pass.
ActionScript Code:
function loadedXML(success:Boolean, prefix:String) {
clearInterval(intervalID);
if (success) {
var xmlRootNode:XMLNode = this;
// number of works
totalWorks = xmlRootNode.firstChild.childNodes.length;
// fill arrays
for (var i = 0; i < totalWorks; i++) {
_root[prefix + '_thumb_arr'].push(xmlRootNode.firstChild.childNodes[i].childNodes[0].firstChild.nodeValue);
_root[prefix + '_main_arr'].push(xmlRootNode.firstChild.childNodes[i].childNodes[1].firstChild.nodeValue);
_root[prefix + '_caption_arr'].push(xmlRootNode.firstChild.childNodes[i].childNodes[2].firstChild.nodeValue);
}
if (++xml_files_loaded == xml_files_total) {
gotoAndStop(3);
} else {
my_txt.text = "loading external content: " + xml_files_loaded + ' / ' + xml_files_total;
my_txt.setTextFormat(rrie_0_fmt);
}
} else {
trace("couldnt load this XML_file: " + prefix);
}
}
var tr_sec_1_xml:XML = new XML();
tr_sec_1_xml.ignoreWhite = true;
tr_sec_1_xml.load(imageRoot_arr[2] + productXML_arr[2] + '1' + '.xml');
tr_sec_1_xml.onLoad = loadedXML('tr_sec_1');
I was trying to feed another param to the onLoad function but it wouldnt take anything else except its "success" param. And I know that its clearly wrong (the prefix param that is)
How To Load .mov Files
I create lots of .mov files in Final Cut Pro. I want to learn how to load them into flash mx so the the user can click on a button and play a .mov. I know how to do it to access .swf files.
.jpg Files Don't Load
I'm following the tutorial to produce a slide show (http://www.kirupa.com/developer/mx/photogallery.asp).
For some reason, the .jpg files don't load... there are no errors, and all I get is a screen with a black rectangle on it. (NOTE: attempted this via CTL-ENTER / test mode).
Suggestions? Thanks!
Ex Swf Files Don't Load On The Web
hello all flash pros ^^
I got a small problem.. very enoynig tho
My flash site is workin almost prefectly when Im previewing it on my computer (local) but when Im uploaded it to my domain www.eyelezz.com it don't work so gud.. the ex swf files that should be loaded in the mainmovie don't load
Idonno whats wrong really.. kind of stuck.. its prob. a very simple thing
Cause, I use to miss them
thx for tha help dudes
|