ActionScript 3.0 :: Flash Loading Any Number Of Files From Catalog?
Jul 13, 2011
I wonder if there is a possibility to load external files to flash, when I know only their source catalog.Normally I'd use xml file with names or write some php script, but is there some way to load those files only with actionscript?
View 3 Replies
Similar Posts:
Oct 24, 2006
I am trying to develop a simple product catalog using flash and xml. The xml file only has a list of catagories and under each a few products. I have a combobox wich list the catagories and another which
list the products in that catagory. Each works fine but the products don't change according to the catagory that is selected in the catagory combobox. How do I change this. I use xmlConnector to bind the data to both.
2. When I browse through the products using a loader component sometimes there is flicker and you can see the image before it is resized. This is realy annoying. Should I use a movieclip loader? The images are not all the same size.
View 1 Replies
Sep 14, 2010
I apologize in advance -- I am new to Flash. I am triyng to build a Flash object to display images from a catalog. I would like to build something like this. I really just need some advice/direction to get started.Once I know the basics/techniques to be used, I can go from there. Is this some thing that can be done solely in Flash or will I need to use some combination of Flash & Javascript. Right now, I am thinking I can use the loader class to achieve something like this.
View 1 Replies
Apr 1, 2010
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 threat that is above and beyond the ability of the hacker to decompile swf, but I think that ideally such behavior should not be allowed.
So, is there any way to prevent this? When people allow users to load images in their Flash apps, do they somehow guard against loading of SWF? Or is this really absolutely no big deal?
View 1 Replies
Oct 20, 2004
Is there any way for flash to determine the number of files contained in a folder? If so how. I am trying to create a photo gallery which will load as many pictures as there are in a specified folder.
View 2 Replies
May 27, 2009
I need to create a web product catalog for about 200 items. I am doing this as part of subsite for a large company and long-story short, I need to make this site self contained, without relying on any assistance from their IT department (so no MYSQL, etc.).They already have a catalog of thousands of products, but the purpose of this subsite is to highlight products to a particular market.The catalog would need to have the ability to create a hierarchy, and basic product information (name, description, image, sku number) and an interface for easy updates. No ordering.
View 1 Replies
Nov 7, 2009
Is this possible through flash?
I have to create a flash uploader where you can define the maximum number of files that can be selected.
View 2 Replies
Sep 4, 2009
I am working on creating a catalog but need to know how to have it where if the user hovers over a product a larger picture will be displayed.
View 8 Replies
Jun 24, 2011
I did Product catalog, it contents intro and supportive files (.swf) how to give non editable file to them. or it should ask to install to run this catalog but the supportive file should not visible and edit.
View 3 Replies
Jun 20, 2011
I work with Adobe Flash Proffessional (CS4). I now have an assesment piece that I can work on home with. I promptly downloaded CS5.5 (thinking that was the right one) and spent hours on my animation. Oops, is it possible to open these CS5.5 files in previous versions? is there a converter that can fix this?
View 3 Replies
Aug 5, 2010
I just saw that some (only some) flash files (games) aren't loading in my website, but are in other servers. Most of the files do work. For example:(External) [URL] (My Server) [URL] It is the same file, but doesn't load at my server.
View 1 Replies
Jun 17, 2009
i have some trouble loading up .xml files in flash.[code]if i try to trace the "diversos variable i get an undefined error..
View 4 Replies
Jan 28, 2009
I'm curently using:
Code:
var example:XML;
var exampleLoader:URLLoader = new URLLoader();
exampleLoader.addEventListener(Event.COMPLETE,XMLLoaded);
[Code]....
Do I have to declare a new Loader and a new function for every XML file I load? Is there a way to load multiple XML files easily ?
View 1 Replies
Mar 29, 2010
flash and working on two flash files for a website. They are small, 2.20KB and 4.10 KB. I am testing them on localhost and notice the object creates a box and an icon on the screen for both of them before they load and appear
View 3 Replies
Sep 6, 2011
i have been working with a few basic flash presentation to learn the ropes. However, I am working on a flash file which, when compiled, pulls in flash content from elsewhere in the Parent folder. I have read through the FAQ and cannot find the answer, as there doesn't seem to be any Actionscript which handles the importing of these external files.
Are there other methods that I am unaware of? I need to edit these other files, however I find it more beneficial to first understand how the Flash file is compiled before editing.
View 2 Replies
Mar 7, 2010
I've got a bunch of flash files being served off a HTTPS site in IIS7. With contentcompression turned on, the flash files wont display. Does flash not support HTTPcompression, or is IIS doing something unusual?
View 1 Replies
Aug 11, 2010
I have two FLA files, call them MAP.fla and ANI.fla, that I have to merge. One way I tried was to load the ANI.swf in MAP.swf during runtime using the normal way of doing it, using Loader and URLRequest. However, when I try to run it, flash detects errors about methods I have included in ANI.swf.
I do know that the Loader and URLRequest method of doing it works because I tried using it with a different SWF file with simpler content.
P.S. ANI.swf contains methods, instances with classes of their own and timer events. If Loader cannot work on my SWF, is there any other way of carefully doing this without affecing my FLAs?
Below is the error message i am getting.
TypeError: Error #1010: A term is undefined and has no properties.
at stageRotation/stageRotation::pause()
at stageRotation/::create()
at stageRotation/::initStage()
at stageRotation$iinit()
View 1 Replies
Jan 3, 2011
I've been using flash functionality in order to fill in dynamic text variable with an external data. The script works fine, except that now runs very slow - around 30 seconds or so.
myData = new LoadVars();
System.useCodepage = true;
myData.load("get_content.php?id="+_root.id); //get external content[code].............
View 1 Replies
Jun 16, 2011
I'm trying to load a bunch of image files for processing (to make a sprite sheet to be exact). Thusly, I need to make sure those files are loaded in order for processing (otherwise the animations become all wonky).
The code I'm using is pretty standard:
protected function onFileSelect(e : FileListEvent) : void
{
[code]....
View 4 Replies
Nov 3, 2010
Im creating a really simple flash website and script to load multiple swf files into the main flash file. Im using cs4 with action script 2 but I have no idea on how to code the script to make it work properly. I have a navbar and each time you click on a tab a want it to load a seperate external file, unfortunately now it just keeps playing the same one over and over again. How do you make one close when a new tab gets clicked.
View 1 Replies
Dec 16, 2002
I know this can be done, but not sure how. I have seen a program that basically has its own fscommands and must compile them itself. Does anyone know how you would do this. The program i refer to is [URL] flash studio pro. There are other programs out there like this but these all cost money for commercial use.
View 1 Replies
Jul 28, 2004
I have code that plays a random swf file from an array.
stop();
var movieArray:Array = ['home lotus','recall','doors'];
var loader:Loader = new Loader();
[code].....
View 5 Replies
Mar 14, 2003
how can i make a flash movie, have a loading bar for a movie being loaded into it, but also for the content in the main movie.
and have both the percentages in the same loading bar.
i.e.
main = 25%
loadee = 75%
-----------------------
total = 50%
i dont want a loading bar in each of the movies being loaded in?
something like _level1._getBytesLoaded() or something?
i think i tried it before but since _level1 hadnt even began to load it disregarded it and assumed it was done..
View 2 Replies
Apr 9, 2006
This is the code i have been using
loadText.load("textfile");
//creating the loadVarsText function
loadText.onLoad = function() {
dynamictextboxname.text = this.the=whatever text in notpad;
};
how to load my external text in, i have it all set up. Its all being saved into the same folders etc. But still nothing.
View 1 Replies
Jun 1, 2009
I recently got the following code from one of your tutorials and am wondering why it is that when I try to change the .jpg images to .png images, the images no longer appear in the swf file. Does flash no allow .png files to be loaded.The reason that I need the files to be png is because the have to have a transparent backgroung.[code].....
View 9 Replies
Sep 17, 2009
I have 5 external flash files that i am trying to load randomly in from a seperate flash files (main.swf is trying to randomly load: Flash1.swf, flash2.swf, flash3.swf, flash4.swf, flash 5.swf)
this is what i have so far:
var myLoader:Loader = new Loader();
addChild(myLoader);
var url:URLRequest = new URLRequest("flash1.swf");
myLoader.load(url);
it works in loading just one flash movie but im looking to have to randomly load from the five .swf's
View 1 Replies
Nov 6, 2010
I have code that plays a random swf file from an array.
stop();
var movieArray:Array = ['home lotus','recall','doors'];
var loader:Loader = new Loader();
var index:int = movieArray.length * Math.random();[code]....
essentially, I want to be able to load the movie with a button.
Click-->load random swf file
View 9 Replies
Sep 17, 2009
I have 5 external flash files that i am trying to load randomly in from a seperate flash files (main.swf is trying to randomly load: Flash1.swf, flash2.swf, flash3.swf, flash4.swf, flash 5.swf) this is what i have so far:
var myLoader:Loader = new Loader();
addChild(myLoader);
var url:URLRequest = new URLRequest("flash1.swf");
myLoader.load(url);
it works in loading just one flash movie but im looking to have to randomly load from the five .swf's
View 2 Replies
Jan 19, 2011
I am having trouble trying to use actionscript to load different files when different values are changed. I am currently using a tilelist and they have different values so the code is something like this: (the title is just there, non-related)
if (startTileList.selectedItem.value == 1)
{
//textFile1 load here[code].........
So I want different text files to be loaded when different value is selected but I cannot seem to get it working.
View 1 Replies
Mar 22, 2011
I am trying to create a video that loads the videos stred in a directory, depenant on the users id etc.To do this, I am using php. However, I cannot then get the php to convert to xml within the actionscript:[code]It works with a normal xml file just not php
View 1 Replies