Single Or Multiple SWFs?
Howdy,
I'm a complete newbian to flash development so pardon if my flash terminology is a bit off, however, i've decided to try and convert a site of mine to flash, php, mysql now.
My question is this, are most flash sites developed using a single movie file (SWF?) or multiple files?
Why I'm asking is, what if you have multiple sections such as a main login screen initially (users cannot gain access into the site unless they create an account), a bunch of other login processes, eventually leading to a main menu. From the main menu the user could enter a whole bunch of different sections.
Would I split it up in a way such that I have say: login.swf, loginprocess.swf, main.swf, guestbook.swf etc etc etc and in my preloader, load all those a voila? You can obviously link between flash movies can't you?
looking at my temp cache of sites i've been to I'm guessing most go the "multiple file" route?
does my question make any sense? i sure hope so
cheers all,
V
Ultrashock Forums > Flash > Flash Newbie
Posted on: 2002-03-29
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
- Multiple Flash VM Instances Running With Multiple Swfs On The Single Webpage
- Multiple Flash VM Instances Running With Multiple Swfs On The Single Webpage
- Multiple Swfs To A Single Exe?
- Preloading Multiple Swfs To A Single MC
- Multiple SWFs In Single Browser Window
- Single Button, Multiple Action/Multiple Targets
- Multiple Or Single Swf? - Performance?
- Single Load Bar For Multiple Swf's?
- How To Run Multiple(*.swf) Files By Single Swf One After Another.
- Multiple FLV Files In A Single SWF
- Multiple Flvs' From A Single Swf?
- How To Run Multiple(*.swf) Files By Single Swf One After Another.
- Mutliple Swfs, Multiple XMLs, Multiple Root Problems
- Mutliple Swfs, Multiple XMLs, Multiple Root Problems
- Mutliple Swfs, Multiple XMLs, Multiple Root Problems
- Multiple SWF's In Single Browser Window
- Multiple Popups In A Single Movie
- Single Button, Multiple Actions
- Multiple Actions To A Single Button
- Creating Single Mc From Multiple Mcs On Different Layers
- How To Generate Multiple .swf Files From A Single .fla
- Continuing A Single Wav Through Multiple Scenes
- Single Preloader For Multiple Swf Load
- Multiple ClickTAGs On A Single Button?
- [F8] Using Multiple Masks Per A Single Clip ?
- Multiple Rollover Functions On A Single Mc
- [CS3] Help Loading Multiple XML In One Single Document
- Single FLV Player, Multiple Videso
- Exporting Multiple Swf Files From A Single Fla
- How To Put Multiple Classes In A Single File?
- Single Vs. Multiple File Uploads
- Importing Multiple Avi's Into Single Movieclip
- Multiple XML Files To Single XMLList
- Control Multiple Swf's In Single Slider
- Multiple Conditions For A Single Button
- Single OnRelease Function For Multiple Mcs
- Reference Multiple Instances From A Single Variable?
- Multiple Variables From One Single Text File?
- Multiple Event Handlers On A Single Button
- Multiple Paragraphs From Single Text Variable?
- Multiple Hit Areas On A Single Button/graphic
- Single Preloader For Multiple Scenes/movies
- Multiple Data, Displayed In Single Textfield.
- Publishing Multiple .swf Files As One Single File?
- A Single Set Of Controls For Multiple Movie Clips
- Convert Multiple Swf Files To A Single Exe File.
- Convert Multiple Swf Files To A Single Exe File.
- Single Button That Loads Multiple Images
- Multiple Prototype On Single Clip Conflict
Multiple Flash VM Instances Running With Multiple Swfs On The Single Webpage
Hi all,
I am developing a webpage having multiple swfs interacting with eachother. Not when I load many swfs, is it the case that multiple flash VM instances are running on my machine? Is there any way to check this.
The project I am doing has one of the requirements that only one flash VM should be running.
Please help me in this.
Multiple Flash VM Instances Running With Multiple Swfs On The Single Webpage
Hi all,
I am developing a webpage having multiple swfs interacting with eachother. Not when I load many swfs, is it the case that multiple flash VM instances are running on my machine? Is there any way to check this.
The project I am doing has one of the requirements that only one flash VM should be running.
To summarize my question is:
how to check whether multiple flash VM instances are running on the system when multiple swfs are loaded on the page?
Please help me in this.
Multiple Swfs To A Single Exe?
Is it possible to complie multiple swfs into a single exe projector file?
I have a swf file that loads other swfs... I want to create an exe to burn
on a cd, and I wonder if it's possible to put all my swfs into a single
exe file, or hide them.
Any tips?
Preloading Multiple Swfs To A Single MC
Hi
what i am trying to do is this...
my main movie has 12 buttons which all trigger an external swf to load. That is fine I can do that and put a preloader on each swf for when someone clicks on a button...
BUT (big but) how can i have it so that the first swf automatically loads (without a button being pressed) and plays until the swf for the next button loads. Once swf2 loads it should play until swf 3 loads and then swf3 should play until swf is loaded etc. Of course, is the user clicks on a button this will jump them to a swf and it will play as per normal.
An exampl eof what i want is at www.seduce.com.au in their Collection section. There, from what i can tell, they have a line of buttons that load swfs but they also automatically start playing these swfs in seuqence. If you try clicking ona button for a movie that isnt loaded it flashes and loads that movie.
Any help would be GREATLY appreciated as this project is due very soon!
Thanks
sonia
Multiple SWFs In Single Browser Window
have an HTML page with two SWF's. Unfortunately, the movie window on top is twice the size of the one on the bottom, hence takes twice as long to load. I REALLY don't want to resort to Frames. Can anyone tell me if there is a way to have the SWF on the bottom not load until the SWF on the top is loaded?
Thanks
Single Button, Multiple Action/Multiple Targets
I originally posted this on the MX board but I think it should be here. It's a difficult one to describe.
I want to assign two separate events to a single action, but I want one event to follow the other. Both targets are MovieClips nested within the same external swf, which has been imported into the main timeline. Follow me?
on (release) {
_root.loadMovieMC.FallMan.gotoAndPlay("end");
}
on (release) {
_root.loadMovieMC.gotoAndPlay("FishGirl");
}
Problem is that once the button is clicked it runs straight to "FishGirl" without playing FallMan("end"). If I take out the second expression, it will play FallMan okay, but not the two together.
I'm in over my head here, Can anyone please help?
Multiple Or Single Swf? - Performance?
Hi,
I'm developing a charity site and i can several elements that need to load external data, should I
a) make a separate swf for each element (would be 5 or 6 in total)
or
b) 1 big swf
OR
c) 2 swf's (one for the main text, one for all the side elements);
It is important that some load random text for each page, it would also be nice if I could figure out how to load an image into one of them - I haven't been able to figure this out (the whole dynamically creating a movie clip and loading an image into it never works)
thanks for any help or suggestions
mike
Single Load Bar For Multiple Swf's?
I was wondering if anybody here knows how to grab the _totalBytes (or equivalent) of an external swf without starting the download process?
I'm trying to avoid loading both the main file and the external swf file at the same time, but just have one load bar that accounts for both. This isn't integral to my project but I'm just trying to polish it up a bit.
I'm thinking about trying something in the vein of calling the external swf file, grabbing the _totalBytes and assigning the value to a variable, then immediately unloading it. I would call the external file again when the time is right to actually complete the loading of that file. Is there a more elegant solution than this? Would Flash halt the loading process upon unloading the mc or would it still try to load it in my cache?
How To Run Multiple(*.swf) Files By Single Swf One After Another.
hi..
im wondeing help regarding this.. im doing song which is splited in 15 files and im trying to play them one after other. may be what wrong with me i dont know im doing while first file loades and strat running i call second file start load and stop when the first file comes to end the second will start..
im using a functions;
function file2(vinod) {
loadMovieNum(vinod+".swf", 2);
}
function file3(dvd) {
loadMovieNum(dvd+".swf", 3);
}
it start file to load and stop
_level0.fileloader("filename1");
it start when the timeline comes to end
_level2.gotoAndPlay("strat");which was in the second file frame name after loaded.
so pepole plz help me
thanks in advance...
Graphicguru
Multiple FLV Files In A Single SWF
I would like to have 5 FLV files play in a single SWF file. Is this possible? I am able to get my SWF file to play with all of the movies, but when I upload that SWF file to my FTP site it does nothing. I have the right SWF and FLA files. How do I get the neccesary FLV file to play the SWF? Any help would be GREATLY appreciated!
Thanks in advance,
A very tired and novice Flash rookie
Multiple Flvs' From A Single Swf?
I have many hundreds of flv files in my video clips library. So far, I've been creating a separate swf for each flv. Is there a way to create just one swf which can be instructed to play any flv file?
How To Run Multiple(*.swf) Files By Single Swf One After Another.
Hi...
im wondering if any one can help me for this im using flash 8. im making a song the song was divided in 15 files.i like to run the one after another with out breaking..i mean i like to load all files first and then play. i follow a method which was not working properly..
when the first file loaded and starts runing im calling the second file to load and stop when the first file come to end then the second will play.im using function for the files..loading
function file2(vinod) {
loadMovieNum(vinod+".swf", 2);
}
function file3(dvd) {
loadMovieNum(dvd+".swf", 3);
}
when the first file starts running.
_root.file2("vsare1");when it load & stop at empty frame.
when it come to end
_level2.gotoAndPlay("start");
can any one solw this for me
the same function is working in flashmx,2004 also but not in 8 plz.
thanks
Graphicguru
Mutliple Swfs, Multiple XMLs, Multiple Root Problems
I'm new to these forums and for a good reason, i'm not as smart as you all and i want you to rub off on me
i have a problem i hope you can help me with. I have a Swf that opens other swfs such as:
_root.this.swf
opens
>_root.folder1 hat.swf
>_root.folder2 hus.swf
but in the secondary folders each have an xml file that has to be called upon by the second swf. Instead of trying to open _root.folder2 ext.xml it tries to open >_root.text.xml is there anyway in flash mx(not '04) that i can change the _root for each secondary swf? If you need more explaination just ask.. Its hard to explain confused:
thanx,
jambo
Mutliple Swfs, Multiple XMLs, Multiple Root Problems
I'm new to these forums and for a good reason, i'm not as smart as you all and i want you to rub off on me
i have a problem i hope you can help me with. I have a Swf that opens other swfs such as:
_root.this.swf
opens
>_root.folder1 hat.swf
>_root.folder2 hus.swf
but in the secondary folders each have an xml file that has to be called upon by the second swf. Instead of trying to open _root.folder2 ext.xml it tries to open >_root.text.xml is there anyway in flash mx(not '04) that i can change the _root for each secondary swf? If you need more explaination just ask.. Its hard to explain confused:
thanx,
jambo
Mutliple Swfs, Multiple XMLs, Multiple Root Problems
I have a Swf that opens other swfs such as
_root.this.swf
opens
>_root.folder1 hat.swf
>_root.folder2 hus.swf
but in the secondary folders each have an xml file that has to be called upon by the second swf. Instead of trying to open _root.folder2 ext.xml it tries to open >_root.text.xml is there anyway in flash mx(not '04) that i can change the _root for each secondary swf? If you need more explaination just ask.. Its hard to explain confused:
thanx
Multiple SWF's In Single Browser Window
I have an HTML page with two SWF's. Unfortunately, the one movie window on top is twice the size of the one on the bottom, hence takes twice as long to load. I REALLY don't want to resort to Frames. Can anyone tell me if there is a way to have the SWF on the bottom not load until the SWF on the top is loaded?
Thanks
Multiple Popups In A Single Movie
i now how to create one
but when i want to make 4 different popups linked to four different buttons.
it still says
<A HREF=javascriptopup();
do i have to number the different popup actions
like
<A HREF=javascriptopup();
<A HREF=javascriptopup(1);
<A HREF=javascriptopup(2);
i dont know how
Single Button, Multiple Actions
hello,
I've made a movie that has a button that when clicked navigates to to a label so that a movie clip will play (elements sliding off the screen) after the clip plays I want to load or get url a new movie but when I combine multiple actions I can't get the clip to play all the way through. I have several buttons (that lead to different movies) hat I would like to do this for so I don't think that frame actions will work for.
It seems like it should be fairly simple but I'm stumped.
Any suggestions would be greatly appreciated.
thanks in advance
keithl
Multiple Actions To A Single Button
I have a button that changes it's text Dynamically based on a variable. I want it to perform different actions as well based on that same variable. It performs one of the functions but the second function does not occur. See my sample code below:
on (release) {
if (button3 == "perf") {
scene_choice = "perform"
gotoAndPlay("EYMenuDisolve", 1)
}
if (button3 == "exit") {
fscommand(quit)
}
}
When the button equals "exit" it does not perform the fscommand(quit).
Creating Single Mc From Multiple Mcs On Different Layers
Could someone tell me how to take multiple layers of already created movie clips and combine them into one movie clip? It's easy to create a movie clip of a movie clip, but I'm not sure how to do so in this case.
Also, is it possible to do the same thing for a layer of shape tweens?
TIA,
aaroneousmonk
How To Generate Multiple .swf Files From A Single .fla
Hello,
I am building a drag and drop functionality in Flash MX all the
visual components will be in a XML file.
And this XML file will contains data(nodes) for multiple drag and
drops (each drag and drop will be in its individual .swf)
What i need is how to create multiple .swf files after
running(publishing) my .fla file which reads the XML file and
creates that number of .swf files.
Anyone who has done this kind of functionality please help me out
how to do. We are automating lots of this kind of functionality in
our Company.
Which will save alot of time by generate n number of .swf by one
go.
If anyone has any resource or ideas on this please let me know.
Thanks alot.
Regards,
Vijay
Continuing A Single Wav Through Multiple Scenes
Okay, so I'm making a movie with multiple scenes, and I'd like the .wav file I have at the beginning to play all the way through. On the first frame of scene 1 is a button with the action script to play on release attatched to it. I don't want the music to start until the button is pressed, and I've tried everything I can think of, but when it gets to the second scene the music cuts off abruptly. If you can help, I'll love you forever.
Single Preloader For Multiple Swf Load
Hi
I have a container Flash application that loads multiple swf movies to multiple locations at runtime. I'd like to have a preloader for the loading movies. What would be the best approach in this case? Where should I place the preloader? Can you point me to a tutorial somewhere?
thanks
mark
Multiple ClickTAGs On A Single Button?
Hello..
Is it possible to put multiple clickTAGs on a single button?
Such as, if there is a banner ad (one swf file, one html file) loaded onto 3 separate pages, is there a way to track the clicks on each page separately? Or would i have to create 3 of the same banner ad and load them onto each page? What would be the best solution for this?
Please help..
any input will be appreciated. Thank you!
[F8] Using Multiple Masks Per A Single Clip ?
Normally when i wanna do interesting masking that builds something creatively, I have say... mask_mc.. which holds 2 movieclips containing bitmap data..
So I mask Object1 with mask_mc
Then i just tween inside the mask like..
mask_mc.mask1.tween(whatever)
mask_mc.mask2.tween(whatever)
But if mask1 and mask2 overlap, it reverses the mask effect and that part of the overlap remains hidden.
Is there a way to do this so overlap wont matter??
Like if for example i wanted 3 circles to grow in scale to show an object. How do I do that without the overlap problem. Is there a way besides the drawing API?
Multiple Rollover Functions On A Single Mc
Hi
I don't know whether this is possible, but can you have two rollover functions on a single mc. For example I have a mc which i want to add a tool tip and then change the colour. I originally had this all in one rollover function but i want to split them as i'd like to reuse the tool tip function for another mc that does not need to change colour.
I've had a search around the forum and internet but couldn't find anything. I'm not sure its even possible, but thought id ask
Thanks
[CS3] Help Loading Multiple XML In One Single Document
Hi folks, if anyone could help me with this i'd really appreciate it!
I have a Flash Gallery that loads images via XML.
Instead of loading different SWF files each one containing different
XML instructions, I want to have THE SAME FLA file to load several
XML files by just clicking different buttons.
Example:
1. The default xml file is "scroller.xml"
2. but i want instead of loading another SWF, to load let's say "scroller2.xml", which contains different image arrays.
What i've done is i've created a button that says.
MyButton.onRelease = function (){
xml.load("scrolelr2.xml");
}
But the thing is that it crashes the document and the screen freezes.
And i've tried many methods like
a) delete xml.onEnterFrame;
b) xml2 = new XML();
c) have different frames instances that load different .xml files.
But all of them give me the same result > "ERROR: 256 levels of recursion were exceeded in one action list"
-----------------------------------------------------------------------
I put the code before you so you can know better.
var obj:Object = new Object();
var xml:XML = new XML();
xml.ignoreWhite = true;
xml.onLoad = function(succes) {
if (succes) {
//
obj.items = this.firstChild.childNodes;
totalItems = obj.items.length;//rememeber the number of items
//populate the variables with the values from xml
if (this.firstChild.attributes.reflection == "true") {
reflection = true;
reflectionRatio = Number(this.firstChild.attributes.reflectionRatio) ;
reflectionDistance = Number(this.firstChild.attributes.reflectionDistan ce);
reflectionAlpha = Number(this.firstChild.attributes.Alpha);
} else {
reflection = false;
}
if (this.firstChild.attributes.fadeOutOnRollOver == "true") {
fadeOutOnRollOver = true;
toAlpha = Number(this.firstChild.attributes.toAlpha);
} else {
fadeOutOnRollOver = false;
toAlpha = 100;
}
if (this.firstChild.attributes.zoomOutOnRollOver == "true") {
zoomOutOnRollOver = true;
toScale = Number(this.firstChild.attributes.toScale);
} else {
zoomOutOnRollOver = false;
toScale = 100;
}
if (this.firstChild.attributes.glowOnRollOver == "true") {
glowOnRollOver = true;
glowColor = Number("0x"+this.firstChild.attributes.glowColor);
glowBlur = Number(this.firstChild.attributes.glowBlur);
glowStrength = Number(this.firstChild.attributes.glowStrength);
} else {
glowOnRollOver = false;
glowColor = 0;
glowBlur = 0;
}
if (this.firstChild.attributes.motionBlur == "true") {
motionBlur = true;
} else {
motionBlur = false;
}
if (this.firstChild.attributes.autoScroll == "true") {
autoScroll = true;
autoScrollDelay = this.firstChild.attributes.autoScrollDelay;
autoScrollSymbolColor = Number("0x"+this.firstChild.attributes.autoScrollS ymbolColor);
if (autoScrollDelay == "" || autoScrollDelay == " " || autoScrollDelay == undefined || autoScrollDelay == NaN) {
autoScroll = false;
}
} else {
autoScroll = false;
}
if (this.firstChild.attributes.scrollBarVisible == "true") {
scrollBarVisible = true;
} else {
scrollBarVisible = false;
}
if (this.firstChild.attributes.mouseScroll == "true") {
mouseScroll = true;
} else {
mouseScroll = false;
}
speedFactor = Number(this.firstChild.attributes.speedFactor);
buttonsColor = Number("0x"+this.firstChild.attributes.buttonsColo r);
buttonsColorOnRollOver = Number("0x"+this.firstChild.attributes.buttonsColo rOnRollOver);
buttonsBevelStrength = Number(this.firstChild.attributes.buttonsBevelStre ngth);
tooltipColor1 = Number("0x"+this.firstChild.attributes.tooltipColo r1);
tooltipColor2 = Number("0x"+this.firstChild.attributes.tooltipColo r2);
tooltipTextColor = Number("0x"+this.firstChild.attributes.tooltipText Color);
tooltipTextWidth = Number(this.firstChild.attributes.tooltipTextWidth );
loaderColor = Number("0x"+this.firstChild.attributes.loaderColor );
//
scrollBarHeight = Number(this.firstChild.attributes.scrollBarHeight) ;
itemWidth = Number(this.firstChild.attributes.itemWidth);
itemY = Number(this.firstChild.attributes.itemY);
W = Number(this.firstChild.attributes.width);
H = Number(this.firstChild.attributes.height);
com.durej.MCEvents2Decorator.decorate(back);
//
setupDimensions();
setupColors();
addItems();
ROOT._visible = true;
} else {
trace("xml could not load");
}
};
xml.load("scroller.xml");
Single FLV Player, Multiple Videso
Hey Gang,
Is there a preferred, or standard method to pull this off.
Basically have on Video player template that will pull in a different video
based on the URL querystring.
It can be as simplas as VidId=001
And I'll keep the vids named 001.flv, 002.flv ect.
This is my first time diving into Flash video, so sorry for the rookie
question.
I'm more of an ASp.Net guy and a newbie to Flash. Once I get down the basic
routine for my idea above, then I'll work it into a database application.
Thanks
-Dave
Exporting Multiple Swf Files From A Single Fla
Hey there,
This might be a stupid question, but I've been asked to update a presentation that has 150 different swf files (one for every frame), but only one fla and I've got no idea how the person who originally worked on this project did that.
Does anyone here know how you would export multiple swf files from a single fla or is that even possible?
How To Put Multiple Classes In A Single File?
Hello,
I'd like to put mutliple classes in a single file. (This would be useful for grouping children that are minor extensions of parent classes or helper classes that are used by one class only).
When I tried to put two classes in one file, I got this error message:
5006: An ActionScript file can not have more than one externally visible definition: Notation.editField, Notation.labelField1
This is the structure I used. Thanks in advance for your help.
Attach Code
package Notation {
import flash.display.*;
import flash.text.*;
import flash.events.*;
public class labelField1 extends TextField {
//Code inserted here
}
class editField extends labelField1 {
trace( "editField");
}
}
Single Vs. Multiple File Uploads
Hi,
I have an application that combines single & multiple file uploads. In some cases I want to allow users to upload several files. In others, when I know the files may be large -i.e., audio or video files- I want to restrict their uploads to only 1 file. I want to know if it is possible to have both things working together.
My application works if I only do one or the other. If I try to switch from Multiple to single uploads, or vice versa, I get this error:
Error: Error #2041: Only one file browsing session may be performed at a time.
How can I close/delete/eliminate any previously opened browsing session?
Thanks so much.
Importing Multiple Avi's Into Single Movieclip
Hi,
Is it possible in mx to import multiple avi files into the library
as embedded video and put them on different layers in a single movie clip? If so how do u do it, I've been searching the web for ages.
Many thanks in advance,
DumbMonkey
Multiple XML Files To Single XMLList
I am trying to load 4 XML files into flash and read all of the data as if it were a single XML file. The 4 XML files are all formatted exactly the same. Here is an example.
<calendar>
<event>
<program_name>Nutcracker in a Nutshell</program_name>
<schedule_date>November 21, 2007</schedule_date>
<schedule_time>10:00 AM</schedule_time>
<schedule_status>Open</schedule_status>
<program_description>Bring the family for a "Behind the Scenes" tour of the Kansas City Ballet's "The Nutcracker" without ever leaving the library. See professional costumes, props and special effects. Learn how the sets and costumes are made. Open the door to the magic of the ballet.</program_description>
<age_range>Ages 3 and up</age_range>
<branch_name>Boardwalk</branch_name>
</event>
<event>
<program_name>Night Before Christmas Carol</program_name>
<schedule_date>December 3, 2007</schedule_date>
<schedule_time>10:00 AM</schedule_time>
<schedule_status>Open</schedule_status>
<program_description>Join Charles ****ens in his study for a very special night. On this evening in 1843, he creates his holiday classic, "A Christmas Carol". Renowned ****ens scholar, author, playwright and lecturer, Elliot Engel has crafted a work that allows David zum Brunnen to portray the 17 Christmas Carol characters and Charles ****ens himself. Recommended highly by the ****ens family, MCPL is privileged to offer this performance to continue its ****ens' tradition!</program_description>
<age_range>Ages 8 and up</age_range>
<branch_name>Boardwalk</branch_name>
</event>
<event>
<program_name>Holiday Concert Featuring Kacico Dance and Fontana Trio</program_name>
<schedule_date>December 8, 2007</schedule_date>
<schedule_time>10:30 AM</schedule_time>
<schedule_status>Open</schedule_status>
<program_description>Presented by Kacico Dance, a professional dance company serving the KC metro area and the mid-west region. The lovely, classical sounds of a live string trio combined with exquisite contemporary dance make this hour long performance a unique holiday treat. The performance is comprised of classical, secular, and holiday music. The dancing is superbly entertaining.</program_description>
<age_range>All ages</age_range>
<branch_name>Boardwalk</branch_name>
</event>
<event>
<program_name>Mr. Christmas</program_name>
<schedule_date>December 15, 2007</schedule_date>
<schedule_time>2:00 PM</schedule_time>
<schedule_status>Open</schedule_status>
<program_description>Jim Cosgrove presents "Mr. Christmas"! Celebrate the holidays with singing, dancing! Fun for the whole family.</program_description>
<age_range>All ages</age_range>
<branch_name>Boardwalk</branch_name>
</event>
</calendar>
What I need to do is import all 4 files and then essentially merge all of the data based upon the schedule_date childNode, so that all events are listed chronologically. What I currently have is a scrolling events calendar that populates and displays the event data on a row, then populates another row and moves the rows up. Once 5 rows are displayed, I call a removeChildAt(1). Run through all of the nodes and start again, looping infinitely. Any suggestions on the best way to approach this particular issue? Thanks
Control Multiple Swf's In Single Slider
Hi Friends,
i try to assign a multiple SWF's Frames into single slider. when i drag and change on the slider . it should play according to the current swf's frame. whether is it possible in the flash.please help me....
Reply me.
Thanks and Regards,
Sri
Multiple Conditions For A Single Button
Hey all....
I have a small problem. I don't know how to code this....
I made a trivia game, and there is a final button that will show you the score you got on the quiz.
When the button is clicked, based on the score, it will play a movie clip with "you scored 10%", etc...
There are 5 possible outcomes, 20% 40% 60% 80% 100%..
When the button is pressed, it has to play the movie clip with the corresponding percentage...
Any help is appreciated!
Single OnRelease Function For Multiple Mcs
I am trying now to set up aa single onRelease function for multiple movieclips. So, far I have figured that I can use a 'for' loop to just loop through all clips. The problem I am having is that I don't think a property given a value in an earlier function is recognized in this new function. Below is the code:
ActionScript Code:
for (var i = 1; i<20; i++) {
_root["mc"+i].onRelease = function () {
if (_root["mc"+i].owner == "me") {
doThis();
}else{
doThat();
}
}
}
The condition I have set in the else clause is what is being executed every time. So, I am deducing that the initial if clause is not true. The only thing I can think of is that the 'owner' property isn't recognized. Any help would be appreciated. Thanks.
Reference Multiple Instances From A Single Variable?
hello, future lifesavers.
THE SITUATION IN BRIEF: Drag and drop questionnaire with multiple 'drag-things' and multiple droptargets. can I reference multiple targets in one variable, (i.e. a variable declared somewhere for the targets: "these 10 items are ELEPHANT"; and then for the drag-things:"turn ELEPHANT to stage 1") ?
(try and follow me here)...
Ive got (10) target boxes as the same MC (each with a different instance) with 10 separate frames in that MC. Ok so far?
Then, when a certain answer (drag-thing) lands on a target box, it jumps the target box (MC) to a corresponding frame (and the answer itself disappears).
I'm basically trying to get the answers to have a snippet of code that says 'when this, number 1, go on a target, jump the target to its' first stage (frame 1)'.
please please please. I love you.
Mark
p.s. it doesn't matter which answer goes on which target.
Multiple Event Handlers On A Single Button
I have two event handlers on a single button.
on (rollOver) {
gotoAndPlay ("AboutAlistar");
}
on (release) {
getURL ("../AboutAlistar/AboutAlistar.html");
}
The rollOver is for a drop down menu. The second is to get back to the main page in the AboutAlistar directory. When I click on the button I get a “page cannot be displayed error message".
Does anyone have any thoughts or suggestions?
Multiple Paragraphs From Single Text Variable?
Hi there. Thanks for taking the time to examine my question.
I'm trying to get multiple paragraphs from a single text variable. I'm loading a single variable from an external file. I'm putting
in between my paragraphs, but Flash treats those as literal text. Surely there's got to be a way to start a fresh paragraph without having to put each paragraph into a separate variable.
Single Preloader For Multiple Scenes/movies
yeah, I have alot of dynamically loaded materials into my site, however, some of the graphic elements from them, make some individual movie clips large.
I was wondering if there was a way to create a single movieclip/preloader to insert whenever necessary, that would work just as any other one.
I would like for it to also work with my main movie, in which all my dynamic materials are loaded into!
any help or some sort of direction in this process would be greatly appreciated.
I would need some sort of step by step process almost, just a jumpstart, like
make new mc... add this action script on this frame, fill your info here, and then place wherever...etc
because im litterally stoped dead on this one.
Thank you so much FK, you guys rock!
Multiple Data, Displayed In Single Textfield.
How is it possible to have several integers displayed in one textfield.
For example, have the code set up to generate 5 random numbers. Then, have those numbers displayed in 1 textfield. Is there any connective procedures or code to make that possible?
Publishing Multiple .swf Files As One Single File?
Hi,
I have an .fla file which has multiple .swf files "inside" it. I am sending this project to someone, but do not want to send a whole list of files. Is there a way to "publish"(is this the correct term?) the .fla file, so that I can send a single file that has the other .swf files embedded in it?
Thank you for your time and help
Sincerely,
tommy
A Single Set Of Controls For Multiple Movie Clips
I am working on a mixer application that will take images and looping animations and allow a user to select and change the properties of the MCs. The clips will also be dragable. I am using sliders to control the properties such as alpha, scale, rotation and color offset. My problem is that I want to use one set of sliders to be able to control each of the selected MCs. I want the user to be able to click on a MC to activate it and then the slider will control that clip until another clip is selected. Can someone please tell me how to go about doing this?
Single Button That Loads Multiple Images
hello all- i'm working on a project using flash 4-is there a way to command a single button to load consecutive images? for instance-first click loads image A, next click loads image B etc- then have a second "back up" button which can "back up" the photos if the viewer wants to go back and review an earlier photo.
i'm aware of a "scroll strip" where i would connect all the photos together and use a mask- but i'm very concerened about load time- these are fairly large photos-thus my reluctance to load them all into one frame. each page will have about 10-15 photos!
any help will be most appreciated.
thanks
r
Multiple Prototype On Single Clip Conflict
I have two prototypes I am trying to call at the same time on the same movieClip. Here they are:
MovieClip.prototype.fadeClip = function(speed, fadeLevel) {
this.onEnterFrame = function() {
if (this._alpha == fadeLevel) {
delete this.onEnterFrame;
} else {
this._alpha += (fadeLevel - this._alpha) / speed;
}
};
};
MovieClip.prototype.tweenClip = function(speed, clipX, clipY) {
this.onEnterFrame = function() {
if ((this._x == clipX) && (this._y == clipY)) {
delete this.onEnterFrame;
} else {
this._x += (clipX - this._x) / speed;
this._y += (clipY - this._y) / speed;
}
};
};
My issue is that if I call them at the same time, only the second one called executes. I think it is because of the two separate this.onEnterFrame calls, but I'm not sure how to get around that issue and still keep two separate prototypes. Can anyone help me?
Eric
|