Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Gparis Needed...



Hi, friend. Nobody is responding to my question here or in site check so I thought I'd ask you directly.

If you have Netscape 6.2 please open this link and check the sluggishness of menu and picture thumbnail rollovers. In all IE and earlier NS versions the response is very fast but in NS 6.2 it's really slow and choppy. I don't think there's an answer to this but I just need confirmation from another source if possible.

Thanks, gp.

http://www.minimldesign.com/john.html



FlashKit > Flash Help > Flash ActionScript
Posted on: 03-07-2002, 05:06 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Hey Again - Gparis Or Anyone, Can You Help? :)
Hi all,

I'm wondering how I would actionscript this.

If I am in a certain frame, I want a keypress (say w) to take me to another frame. But If I am in another frame, I want W to take me to a different one. Basically, I want to use the same key on the keyboard to take me to a different frame, depending on what frame I am in in the first place.

I hope that makes sense.

Cheers,

Judds.

Thanks Gparis
is there a way to target if there is no label (say a frame)?
Anyway thanks for your time
sam

THANK YOU GPARIS
You totally pointed me in the right direction!!

It should be a breeze now... I'm sitting here smacking my forehead going... DUH!!

Laura :P

Gparis, Help Me
Thanks, gparis, but i don't have understood what I must check (I'm Italian and have the italian version of Flash and moreover I don't speak English very well).
If I have understood well, I'd check the icon with Ab with the b in negative, or not?

New Mod - Gparis
I'm sure you all agree that this is long overdue. Please join me in welcoming gparis as a new AS mod, she's been a valuable help to many on this board.

GParis, Can You Help Me Please?
Hello again,

You helped me out a few days ago in a post entitled preloader affecting paths.

http://www.flashkit.com/board/showth...hreadid=386584

You suggested that I load the main movie into a higher level and then swapped them over.

What code would I need to do this? (the loading and swapping, not the preloader)

Thanks for your help

Graeme

PS Do you know where I could find a tutorial on creating a flash 6 player detector?

Gparis - One More ?
I have taken your example and have added additonal code. I thought by adding additional arrays, the print function would print out any symbol showing red("active"). It only prints out one array. Any thoughts?

Help One More Time (gparis)
I asked ya how to position an swf movie into another and ya told me to use the "in taget" method..........what is that.....and how do I use it.

loadMovieNum ("randomswf/alien.swf in target", 1);

I'm guessing that this is wrong......lol.

So I guess I'm asking how I use "in target"

Thanks a lot man!

Gparis' Is Cooolll
yo gparis' or anyone else (sorry for posting 3 times in 1 day.. lots of questions, dontmean to hogg)
Do you know how get the windows directory, or OS Directory without playing guessing games.. i wanted to do it just like getting the OS in the script below, but to get the OS main Directory like c:windows, ect..

Please lemme know if there is a code like this for that:
OS = $version.substring(0, $version.indexOf(" "));
$sysdir or something like that?


-Prostorm

(GParis) I'm One Step Away
Hey GParis, I did what you suggested, I think that I got it right:

loadMovieNum ("Container_3.swf", 1);
if (_level1.getBytesLoaded() == _level1.getBytesTotal()) {
loadMovieNum ("Container_3.swf", 0);
unloadMovie (1);
} else {
bytesLoaded = _level1.getBytesLoaded();
bytesLeft = _level1.getBytesTotal()-_level1.getBytesLoaded();
bytesTotal = _level1.getBytesTotal();
kbytesLoaded = Math.round((_level1.getBytesLoaded()/1024)*100)/100 add "kb";
kbytesLeft = Math.round((_level1.getBytesTotal()-_level1.getBytesLoaded()/1024)*100)/100 add "kb";
kbytesTotal = Math.round((_level1.getBytesTotal()/1024)*100)/100 add "kb";
percent = Math.round((_level1.getBytesLoaded()/_level1.getBytesTotal())*100) add "%";
loadBar = int((_level1.getBytesLoaded()/_level1.getBytesTotal())*100);
setProperty ("loadbar", _width, loadBar);
}
I also gave the content movie a blank scene with a stop action.

Problem is Once it loads into level 0, it is stuck on the blank scene, how do I get it to move onto next scene?

satchm0

Gparis And SUPRABEENER -- UHH OHH
UHH OHH (regarding pause/play attached sound)!! Everything was working PERFECTLY until I had to change the sound settings for my audio swf. The pause and play buttons are in a movieclip and the audio is loaded into another movieclip...

Before I changed anything, the audio was an MP3 at 16bit 44Khz regular mp3....but when i exported the movie, I over rode the sound settings to reduce the file size of the sound swf. Apparently, this screws EVERYTHING up! The loop for pause and play works up to like 10 secs (i didnt count) but it stops working after a certain point in the song. After re-exporting the sound swf with its original settings it worked fine again (but the file is 3MBs NOT GOOD!)

Why is this happening??

Answer For Gparis
Hi,

thanks for helping me out, pal. the server allows php, so could you possibly point me in the right direction with a little scripting gem?

Much appreciated,

Scott.

Can't Get It To Work (gparis?)
this message is following another one posted earlier. I'm still having the same problem with the script, and I'm not sure where to make changes in the action script...

Thx for answer gparis, but i'm still stuck with this script. It won't work.

Do I have to change the URL for the frame number in the root in which I want to go??? Example :

URLrub2_subrub1 = "http://www.montfort-sa.fr";

do I change the URL so it would become
URLrub2_subrub1 = "10"; (10 is the frame in the _root where I want to go)

I also found that on the button there is a script where getURL i found.
_______________________________________________
on (rollOver) {
../:Cible = _name;
}
on (release) {
NumRub = 0;
while (Number(NumRub)<Number(../:TotalRubs)) {
NumRub = Number(NumRub)+1;
tellTarget ("../" add NumRub) {
gotoAndStop("normal");
}
}
gotoAndStop("selectionne");
../:Selection = _name;
getURL(URL, Frame_Target);
__________________________________________________
_

Do I have to change something here???

Also, on a subrub button, I found a script similar to the one before:
__________________________________________________
_
on (release) {
NumRub = 0;
NumSubRub = 0;
while (Number(NumRub)<Number(../:TotalRubs)) {
NumRub = Number(NumRub)+1;
NumSubRub = 0;
while (Number(NumSubRub)<250) {
NumSubRub = Number(NumSubRub)+1;
tellTarget ("../" add NumRub add "-" add NumSubRub) {
gotoAndStop("normal");
}
}
}
gotoAndStop("selection");
../:SousSelection = _name;
getURL(URL, Frame_Target);
________________________________________________

note: you can get the .fla in the other message posted earlier called "trying to understand"

same question???? do I have to change something here???

I don't know if I'm doing anything correctly

thanks for your answer...

sébastien lebel

canada

Gparis - How Do I Use Php Tags?
at the risk of sounding like a thicko (which i am in many ways) how do i use the php tags? i can't see anything to click on to place my code examples within the php tag thingy.
cheers

Dear Gparis
I'm so sorry to inform you that the code you gave me to change the frames, by frame labels in my home.swf, I cant seem to get to work. can I please bother you again to try and figuere it out. I can post fla. if needed in flash cs3 or flash 8
your

Code:

mc.zelink = myArray[val]["link"];
mc.onRelease = function() {
this._parent.gotoAndStop(this.zelink);

my other tries

Code:
mc.zelink = myArray[val]["link"];
mc.onRelease = function() {
_root.container.home.gotoAndStop(this.zelink);

mc.zelink = myArray[val]["link"];
mc.onRelease = function() {
_root.container._root.home.gotoAndStop(this.zelink);

mc.zelink = myArray[val]["link"];
mc.onRelease = function() {
_root.home.gotoAndStop(this.zelink);

thank a million in advance

LINK THIS Gparis This One Is Aimed At You
hey,
i need some help linking my button and little movie clips.. i have created a small test movie that will help you understand what i am trying to do ..
thanks
Peter

Hey Gparis Awsome Website
gparis I really love your website. Your work is awesome!

GODS/EXPERTS Only (i.e. Gparis Or Equal)
Ok i am working on a site that is owned by a friend of mine and sorta owned by me. Its for online gamers... we are a group who play an online game and this is our site.
Basically we have a members list of about 16 who are in our group and I am doing a members page.

I am doing it in sort of a space age look. I have a cool console I designed and I have a great idea in mind..... BUT I HAVE NO IDEA HOW TO DO IT !!!!!! =(

Heres the challenge.

Ok so we have 16 characters (like a video game) all around in a circle... but your looking at the circle of people as though you were looking from the side...... i want to be able to scroll (using buttons) around the circle... I want my characters who are in the back to be small and gradually get bigger as they come to the front then get smaller again as they move to the back.
How this is gonna work... I have no clue....... Does anyone know where I can get a good tutorial... or maybe can you explain it a little?.... I have a good idea how I can use make the MC of them moving around in a circle.... but how do I make it so they get bigger and smaller. Thanks.

Regards
JM

Preloading Movies W/ AttachMovie In Them. (Help GParis)
has anyone else ever run into a bug involving using a preloader on an swf with an attachMovie in it? The bug is that all objects involved with the attachMovie load before the preloader, causing the preloader to not start until the attachMovie components have loaded first. If so does anyone know a hack around this bug.

For The Likes Of MUSICMAN, GPARIS && ARCTICx
this isnt urgent or anything so my life doesnt depend on it...

is it possible for flash to count the number of SWF files in any directory with out a server side script?

in that directory there may be JPG and other HTML files, i just want flash to count the number of any specified file type..

for example if i have a button that sets a variable called target to ".jpg" i want flash to count all the files with that extension.

the reason why i need this is because i want to set up a banner using loadMovieNum where it imports external SWF files and displays each one for an equal amount of time based on the number of any given file type.

thanks for your time

Gparis I Tried Your Preloader And It Still Does Not Preload External Files
I,m trying to preload external flash files and I can't seem to get it to work why?? someone has to know a effective way to do this out there?

For Loop With AttachMovie:GParis I Have A Feeling That You Will Know The Answer
Hey all-


I have a question on actionScript rules. I have a for loop, which is using attachMovie to place movie clips on the stage. These movie clips are nothing more than text box holders. From the same for loop I am then trying to parse through an XML Object and place pieces of text in the text boxes.

Here is the code that I am using:

function parseXML(){
//initBudgetClip will position the budgetClips on the stage during the upcoming for loop
initBudgetClip = new Object();

//check out the root level of the xml doc
for (i=0; i<linkXML.firstChild.childNodes.length; i++) {
//create and place the budgetClips w/hold the xml values
initBudgetClip._x = 1;
initBudgetClip._y = 20 + (30*i);
attachMovie("budgetClip", "budgetClip"+i, i, initBudgetClip);

//replaces having to use linkXML.firstChild.childNodes[i];
//var description = linkXML.firstChild.childNodes[i];
var whichClip = "budgetClip"+i;
trace (whichClip);
whichClip.budgetBreakdown.text = linkXML.firstChild.childNodes[i].childNodes.nodeValue;
whichClip.currentFunds.text = linkXML.firstChild.childNodes[i].attributes.funds;
whichClip.budgetNew.text = linkXML.firstChild.childNodes[i].attributes.funds;
}
};


linkXML i s the xml object created in root.

Is my problem coming from whichClip? Am I allowed to use a variable like this to replace writing out the clips real name? If so, then how do I name the text boxes in the loop?

Need Gparis' Help (or Anyone's Actually) With Editing Old Text Randomization Source
If you take a look at this old thread: http://www.flashkit.com/board/showthread.php?t=583771 or specifically this post: http://www.flashkit.com/board/showpo...3&postcount=15 and the attachment.. it involves loading text via XML and then applying randomization effect to it. It works fine for a single chunk of text (using the orig XMl as a reference <tekst>this is chunk of random text </tekst>), but how could i load text into multiple text boxes using the same effect (without having to duplicate the code to work for every text field i want to apply it to)??

SO what i want to do is be able to have multiple sections of text in an XML file (or even a .txt file for that matter) and apply this randomiztion effect to them upon load. So i would want the XML file to look something like:
Code:
<section>
<text>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diem nonummy nibh euismod tincidunt ut lacreet dolore magna aliguam erat volutpat. Ut wisis enim ad minim veniam, quis nostrud exerci tution ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo.
</text>
<text>Consectetuer adipiscing elit, sed diem no nummy nibh euismod tincidunt ut lacreet dolore magna aliguam autem dolor in hendrerit erat wisis enim ad minim veniam volutpat.
</text>
//etc, etc
</section>
but i can't apply the effect to multiple text fields... HOW do i apply it to more than one tf??...

the original code from that file looks something like this:
Code:
// CODE ON 1st FRAME
stop();
//------------- paragraph scramble text -------
_root.originalTxt.text = "";
tekstXml = new XML();
tekstXml.ignoreWhite = true;
tekstXml.onLoad = DisplayData;
tekstXml.load("home.xml");
function DisplayData(success) {
if (success) {
originalTxt = this.firstChild.firstChild.childNodes[0].toString();
nextFrame();
trace("XML loaded");
} else {
trace("error loading XML");
}
}

// CODE ON 2nd FRAME
//--------------------------------------------
speed = 6;
iterations = 50;
randFactor = 15;
targetTxtField = _root.txtHolder.txt;
/* txtHolder is just an MC which contains the text field "txt"
txt is the instance name of the tf that effect is applied to.
i tried using a "for" loop to apply effect to multiple tf will no luck, like this:
for (i=0; i<3; i++) { targetTxtField = _root.txtHolder["txt"+i];}
but when i do that, the effect is only applied to
the LAST tf (i.e if txt0, txt1, and txt2 on stage, only txt2 has effect */
notUseArray = new Array();
randomizeInterval = setInterval(randomizeTxt, speed, originalTxt, targetTxtField, randFactor);
function randomizeTxt(myTxt, myTxtfield, myRandFactor) {
if ((_root.iterations != 0) and (randomTxt != myTxt)) {
_root.iterations--;
for (i=0; i<=myTxt.length-1; i++) {
// Generates a random char when the current char is not a space
if (_root.notUseArray[i]) {
randomTxt += myTxt.charAt(i);
} else if (myTxt.charAt(i) == " ") {
randomTxt += " ";
} else if ((Math.round(Math.random()*(myRandFactor-1))+1) == (Math.round(Math.random()*(myRandFactor-1))+1)) {
randomTxt += myTxt.charAt(i);
_root.notUseArray[i] = 1;
} else {
randomTxt += "-";
// uses a - as starting char to scramble into actual text
}
}
myTxtfield.text = randomTxt;
randomTxt = "";
} else {
clearInterval(randomizeInterval);
trace("Text Interval Cleared");
delete notUseArray;
myTxtfield.text = myTxt;
}
}
//
stop();
so any ideas anyone???

much appreciated..

Serious Help Needed?
Hello pplz.

Here is the question,

When the site loads .. a (graphical)window will be displayed in its pre final form,

this window holds 4 text buttons which on their turn
control which text loads into the main timeline.
(this has bin taken care of alredy)

The actual problem is that in stage 1 when a visitor randomly clicks 1 of the 4 text buttons the window needs to be tweened into its final form but when the user clicks (after the window in tweened) one of the 3 remaining buttons the window needs to stay in its final form and only the text associated with its button need to be changed.

Anyone who can help me out ....?????....

thanx n advance ...................

Serious Help Needed.
Hi pplz.

Here is the deal, Last week i posted a question about
keeping a tween from playing when it has played 1 time..

k the tween is an animated backgroud which tweens into a field for text after 1 of the 4 buttons is pressed.
but when a visitor presses another button the tween needs to stay in its final stage..
It needs to be possible to click any button in the first phase where the background is not jet tweened.
so that the user can choose about what topic to read first.

.. someone alredy gave me the folowing code but it seems not to work.

Code.-----------------------------------------------
on (release) {
if (! Tween_ended) {
// tweencode here---
} else {
// dont tween
}
//tell button to play text
}

this code )(completed does not work)

has anyone a suggestion that does work.

Thanx in advance

Help Needed
i am just experimenting with some simple actionscript and cant get this what seems simple script to work, can anyone see ifI could be creating an error somehow?

on (release) {
if (enter="correct") {
gotoAndPlay ("right");
} else {
}
}
on (release) {
gotoAndPlay (2);
}

i have a stop action on a different layer of the same frame and same with frame 2 and label"right" but whenever i type in "correct" into the text box (with the right variable) it comes up with frame 2, I thought that maybe someone could help me out, It should be taking the "correct" input as a literal string but when i type it in it comes up as if i typed in the wrong thing. Sorry if I have confused you as I am new to actionscript but a bit of help could mean so much to me. Thanks

Help Needed
hi, how do you go full screen wit action script?

I tried
fscommand ("fullscreen", "true");

in the first frame of my movie but its still in the browser window.
Am I missing something here

Help Needed
Hi all,
iam created a movie clip which i want to rotate 360.
Actully i need to rotate in a increment of one degre each
what action i need to give for this.

thanks for replay

Naushad

Help Needed Plz.
This might be hard to explain...here goes.

I made a flash swf and a publish page of that, main1.swf and main1.html. I upload both files onto my server using CuteFTP and the URL for these files can be found at http://www.leodadominico.com/main1.swf or main1.html. (The files are taken off at the moment) I need help on how to have the same file name when i take that file off from my site and do some addons, say adding more sounds or whatever then i upload it back to my server with the same file name, main1.swf, and main1.html, but iam not seeing the changes that i made after typing in the same URL (leodadominico.com/main1.swf or main1.html). I did push the refresh button on CuteFTP before i upload these files, still iam seeing the old files, not the new ones that i have made some changes to. Help plz, thanks. (not sure if i did explained everything correctly)

Plz Help Needed
hi

I have a mc1 at the bottom of my .swf and another mc2 (navigation)on top of it.

now I want if someone goes with his curser over mc1 that mc2 atracts to the cursur of the user

but I don't know which actionscript I need?

Help Needed
Im starting my portfolio//webdesign site and I am wondering what people think about it. You can see it at http://www25.brinkster.com/kallok/index3.html .I think its good so far.Im 16 and Ive already designed a couple sites and graphics for money


Thanks
Ryan

Help Needed With A .swf
I was just wondering if anyone can help me with this problem I'm having. I've made a menu system in flash and exported it to a .swf file. The problem is that the .fla file is on my computer at work and I really need to edit this menu. Does anyone know if I can some how "back engineer" a .swf into a .fla? Any help would be greatly appreciated

Help Needed
does neone no of an easy product to use to create a proffesional looking site at a low cost and for a resonably clever beginer?

Help Needed Please
working on a few different flash files right now when i want to combine them into one bigger movie how do i do that.

OOP Help Needed ..
i'm reading through the chapter on OOP in Colin Moock's 'ActionScript - The Definitive Guide'. Although it's very clearly written and covers the topic in great detail, it seems somewhat short on examples.

i'm working on a simple game where i need to create a bunch of different 'obstacles' [aliens, monsters, whatever] for the player to interact with. each obstacle is a movie clip and will have different properties: colour, speed, points value etc.

now i see that i can do something like ..


code:--------------------------------------------------------------------------------

var monster = new Object();
monster1 = new monster();
monster2 = new monster();
monster3 = new monster();

monster1 = { colour:0xff0000, speed:1, points:10 }
monster2 = { colour:0x00ff00, speed:2, points:20 }
monster3 = { colour:0x0000ff, speed:3, points:40 }

--------------------------------------------------------------------------------


.. although that's probably not precisely the right way to go about it .. but the real question is, how do i connect these objects to the movie clips i've made for each monster ? how do i get them to appear in the movie when i need them ?

1000 x thanks

||| O ^ | + O ¬

Help Needed
Hi there,
I have two movie files in the library.
Each movie is refering different variable in the main scene whether the variable is true or false.

For example

Scene 1 : has a two variable
demo = "true"
Literature = "true".

Movie 1 : DemoClip

I have a actionscript inside this movie, which will change the scene1 variable from "true" to "false" and vice versa.
Suppose for example i have changed to "false" now.
_root.demo = "false";

Movie 2. LiterClip

Now is the deal.
If i want to get the current value of particular variable in the LiterClip movie from 'Scene1' like
trace(_root.demo);
But it gives as "true" rather than "false".
I know that it takes the global value of a variable from the scene.

But it takes inside the same movie.

Is there any way to solve this problem. If you have solution, please let me know.

bala_raja @hotmail.com

'If - Then' Help Needed
I'm building a quiz using the Learning Interactions in Flash 5. I'm creating an End of the Quiz screen whereby the quiz taker will be presented with his or her results.

I need some ActionScript help for this screen whereby, if the quiz taker has answered, say, 20 out of 20 correctly, text can be presented which would say "You're a superstar!"

If 2 of 20 are answered correctly, the screen would lament "Go Back to School pal!"

I've already figured out how to present the total score in a dynamic text box. What I need is a script to assess the score and serve up different text accordingly.

Can you help?

Help Needed...please...please...please
please help...

i am still a beginner at flash 5, and want to create a percentage preloader or a bar preloader for the intro movie to my site...

i've tried working through nearly all the examples in the tutorials section, but i must just be thick or something because i still can't make one work properly...

anyways, please, does someone out there have the patience to talk me through it step by step, on how to make my preloader??? Please!!! (please don't just point me to another tutorial link...)

i know the basics like the looping animations and stuff, but i just want the percentage thing, or bar loading thing as well, so that the user can see how much has been loaded. etc....

please help...there's a bear in it for you...(or is that beer?)...anyways...


thank you kindly my friends........
i am eternally grateful...

Help Needed
need help with stopping at boundries. HELP NEEDED

Please Help Needed
Is there any way that a blank movie clip can load and play a preloading swf whilst the main swf is loading into the same clip???

Help Needed
hi all, gt a qs -
the flash i did is of dimensions 800x400.....and when i publish to html......i wan the browser to open at exactly this dimension. anione can help? anione noe the syntax or anithin?

Help Needed.
this is probably a newb question but i also think it might be an actionscripting question too.

ok

http://www.geocities.com/dpgclan/dpg.fla

that is the file i need help with.

its a common problem.

i have 1 scene, and i have a button within about 3 movie clips i like too neatly put my stuff that way.

anywayz.

i want it so when i press the button it goes too the scene on the button.

if someone would like too help.. by either sending the fixed .fla too my e-mail address. which i think is on my profile.

or upload it too a site and give me the url so i can download the fixed problem..

or just tell me the simple scripting problem i have.

thank u all that help out in advance.
bye

PRO HELP NEEDED
I am having trouble with a menu I am working on in MX that opens a submenu onPress, and closes it onRelease. The submenu is a smaller clip of several buttons (smbut#) that moves out onPress, and I want to be able to have the button that you are OVER fire onRelease. These are also dynamic, so my code (placed on the "mainButtonHouse") looks like this:

onClipEvent(enterFrame) {
_root.mainButtonHouse.mainButton1.smbut1.onRelease = _root.mainTextMov.gotoAndStop(2);
_root.mainButtonHouse.mainButton1.smbut2.onRelease = _root.mainTextMov.gotoAndStop(3);
_root.mainButtonHouse.mainButton1.smbut3.onRelease = _root.mainTextMov.gotoAndStop(4);
_root.mainButtonHouse.mainButton1.smbut4.onRelease = _root.mainTextMov.gotoAndStop(5);
_root.mainButtonHouse.mainButton2.smbut1.onRelease = _root.mainTextMov.gotoAndStop(6);
_root.mainButtonHouse.mainButton2.smbut2.onRelease = _root.mainTextMov.gotoAndStop(7);
_root.mainButtonHouse.mainButton2.smbut3.onRelease = _root.mainTextMov.gotoAndStop(8);
_root.mainButtonHouse.mainButton2.smbut4.onRelease = _root.mainTextMov.gotoAndStop(9);
_root.mainButtonHouse.mainButton3.smbut1.onRelease .getURL("http://www.alliedassault.com", _blank);
_root.mainButtonHouse.mainButton3.smbut2.onRelease .getURL("http://www.mohaa.ea.com", _blank);
}


This will not work. It seems as if it is only paying attention to the onRelease of the Parent button, instructing the movie to close. I DO want this to happen, however, I need the sublayer buttons to work as well. Thanks.

Help Needed
I am new to ActionScript and am having some problems with a project I'm developing for work.

It is a quiz. The user will be tested on various subjects or "categories". The test is set up to ask a minimum of 2 to a maximum of 4 questions per category. When either 2 questions have been answered correctly or 4 questions have been asked in total for that category, the code selects another category at random. The user also has the option to quit the test early by clicking on a "Quit" button, which takes them to a page that displays the total number of questions asked and the total number of questions answered correctly.

The selection of the Categories and the selection of the Questions is totally random.

The final version will have 9 or 10 categories with 4 to 7 questions per category.

The problem is that the code is working as it is supposed to work for category 1. However, it IS NOT working correctly for either of the other 2 categories. If the user selects the "Continue" button for the Category 2 or Category 3 questions, they are taken back to the beginning of the test. The "Quit" buttons don't work at all for either the Category 2 or Category 3 questions.

NOTE: The correct answer is the same as the number of the question; i.e., the correct answer for Category 1 Question 2 to answer 2, the correct answer for Category 3 Question 4 is answer 4, and so on.

I would greatly appreciate anyone checking this out and telling me why it is not working and what I need to do to fix it!

Thanks in advance!!

The file can be downloaded at:
http://itraveluniverse.com/flash/testActionScript.ZIP
(16.8K)

Help Still Needed...
I'm still a bit stuck on this repeating movie clip to a circular path problem... Senocular has given me some code, that works, but flash seems not to like it... Damn flash!

Basically all I need to do, is make a series of concentric circles (about 20, the circles being made of dots - the dot being the movie clip) that play in... So it looks like they're animating in.

I can do this the dumbo way ie: export the symbols from freehand all in place and animate them in one by one, but the resulting file size is large to say the least.

Does anyone know how this can be done or a good maths/art flash developers site that might give me some pointers?

Cheers big ears
Bombadier

Help Needed
Help !!!!!! Hi pple, I am completely new to Flash...a newbie......hope sumeone can help wit tis problem.....whenever i do sum animation tweeening n try to do a test move (from the menu)..... i don see the animation !!! i convert the images to symbols n tried n still no luck ! y is tis happening ? the problem is i can see the animation when i create any images from photoshop and tween it. but when i create a image from Flash MX(sqaure, circle, etc) and tween it , i don see the animation ! wat am i doing wrong here ? can any gurus advise me ? THanks a million for ur help guys.

Help Needed
Hi

I have a problem with buttons that should load label contents.In the main timeline I have three buttons, and three labels for them. The thing is that, when the movie loads and i press the 2'nd bttn, nothing happens To display the content from label 2 i must first press the 1'st bttn and then the 2'nd one. Please help!
AS for 2nd bttnon (release) {
gotoAndStop("portfolio");
}

heres the fla. http://www.hot.ee/dizain79

Help Needed Plz
Hi wondering if someone can help me. I am doing a website in flash and am having one problem. I want to have my tool bar with pop menus with a nice effect. So i make a movie clip with the effects I want for the menu. But when i put the action to the button it won't work. Other normal actions work but i want it to jump to another scene and it won't do. I also tried Making a movie for the menu and then just loading up what i wanted to display by loading another movie into the first. But when i load the 2nd movie into the 1st it won't call the varibales of the 2nd movie into the Text boxes. Anyone can help? Am trying to use the same menu animation tru all the movie so i can update the movie alot easyer without having to update each scene at a time.

Help Needed
Hi there guys i have a problem hoping anyone can help, well here it goes. I am using this code
------------------------------------------------------------
loadVariablesNum("http://omar/projects/test.txt", 0);
_root.box._visible = false;
if (mb == 1) {
_root.box._visible = true;
}
------------------------------------------------------------
To try to make the movie clip *box* visible if the varible *mb* equals 1. It works if i declare the varible in the code but when i try loading it up from a text file from my IIS it won't work. I know its loading up the varible because i made a dynamic text field to see if it was accepting the variable and it was displaying it. Anyone can tell me why the code won't read it? Thanks any help is apreciated.

Copyright © 2005-08 www.BigResource.com, All rights reserved