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





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

Helpp Please
i have a problems for disable the keyboard in my file *.exe?

Helpp Pls
yo flash masters
im a bit of a newbee here, so pls bear with me..i got this MC (circle shape to be specific) that i want to move from the left corner to the lower rightcorner, that'd be diagonally, i tried to folow a tut here in the site below.. ..and i kinda experimented with it...but the thing is...
1. it goes from lower right to the upper left..which i can't understand..
2. i dont understand what the difference is between "

onClipEvent (load) {
this._x = 50;

and

onClipEvent (load) {
_root.targX = 50;


so i just tried mixing them up without knowing what's happening...
pls helpp....

<this one>

HELPP
hi, i got a flash nav bar...and ive set up sum frames in d/w
and i want to know how to make the flash buttons target the frame in d/w and make it display it i uploaded a picture of what i got now, THAT DUZNT WORK

Helpp Pls
yo flash masters
im a bit of a newbee here, so pls bear with me..i got this MC (circle shape to be specific) that i want to move from the left corner to the lower rightcorner, that'd be diagonally, i tried to folow a tut here in the site below.. ..and i kinda experimented with it...but the thing is...
1. it goes from lower right to the upper left..which i can't understand..
2. i dont understand what the difference is between "

onClipEvent (load) {
this._x = 50;

and

onClipEvent (load) {
_root.targX = 50;


so i just tried mixing them up without knowing what's happening...
pls helpp....

<this one>

PLSSSSSSSSS Helpp
hi

Well i am making a cd presentation in flash ...

i have 4 main movies(swf) with sound clips each has a mute button... if the mute button is clicked its stops sounds and passes a variable _root.check="off" ... but when i click on the link to other movies its gets enable again and the sound starts playing again ... i want this variable i.e _root.check to pass accross all the movie i click.

which means if i have click the mute button all the other swf files or movies i load should be muted...

please help me soon.

regards
kapil

Helpp Me Pleaseee
_root.HEROES=new Array;
function STATUS()
{
LEAD=0;
POWER=0;
INT=0;
POLITIC=0;
CHARM=0;
ITEM=[0,0,0,0,0];
JOB="";
TITLE="";
}

for(var a=0;a<60;a++)
{
_root.HEROES[a]=new STATUS();
}


I HAVE THE ARRAY OF FUNCTION ABOVE IN A MOVIE CLIP. HOW DO I ACCESS THE VARIABLES IN THE ARRAY FROM ANOTHER MOVIE CLIP?

HELP ME,

Publishing HELPP
i have a swf file that im trying to use as a webbanner
but the sizes and boarders are all messed up like if i embed the swf file and you view the webpage the swf file shows the sides of the swf file that i dont want showing.
for example theswf file has a boarder and it shows the flash movie on the outside of the boarder

how do i publish the swf file and embed it on a site with out this happening

Loadmovie Helpp
I need some help on this loadmovie stuff

anyways i got this animation which is like the Home content of a DVD and you can press play and all that i pasted the following animation into my other button called QUIZ which will trigger a quiz i made:

on (release) {
loadMovieNum ("Animationquiz.swf",2)
}


and when i tested it out it's plays ON TOP of my Home content page so i just want to ask how i can play my quiz without my Home content page still lurking in the back.

P.S my opening page has an actionscript for snow and some music so i was wondering maybe that was the problem. I am using AS 2 at the moment

Can't Get NextScene To Work Helpp
hi i have a question regarding nextScene() ...

iam about four layers inside a movieClip and want my root timeline
to goto nextScene...real simple.

but it wont work... i tried

myButton.onPress = function( ) {

this._parent._parent._parent._parent.nextScene();
_level0.nextScene();
_root.nextScene();

}

but none works .. its driving me nuts...how can i solve that problem

thanxx

Component ScrollBar Helpp
The Flash MX UIComponent scrollBar is touted for being good for scrolling text fields.

Is it possible to use it for scrolling a tile engine? Basically.. I want to set the max value to;
scrollBarInstanceName.??? = ((width of my tile map) - (horizontal visual area)) * (tile width);

"???" would be the scrolling var, but I can't find it.. is there a way to get a object listing of the direct controls for the scrollBar component? Thanks in advance!

(ScrollPane would not work in this case! The system is tile based, no images, and the visual area is always 320x240, so it wouldn't work oO)

Edit: Reason why I want this is for a map editor

Pic Files Too Large HELPP
I need help figuring how I can downsize twenty 2MG jpg's so I can use them in FLash because I can't even uplad them to the website server. Is there any way I can load the pic seperately or the server and instead of embedding the pics in the swf? Or do I need to get a bigger server?

P.S. I've tried optimizing the files and they are still too large

Linking Buttons. HELPP
hi. when i try to link buttons. i click get URL. and the fields that should pop-up. if you want to see what i taliking about, its step number 2 in this tutorial


thank you

Linking Buttons. HELPP
hi. when i try to link buttons. i click get URL. and the fields that should pop-up. if you want to see what i taliking about, its step number 2 in this tutorial


thank you

Full Flash Site With UI Component..helpp
Hello!

Your tutorial "Creating Full Flash Site" was very helpful for me as a novice in the usability of Flash. Anyway, Thank You a lot for that., ha! You exactly give me idea about that in mind. So here, right now, I was planning to build a website but is these case I would like to used the MenuBar Component instead the menu you had provided within the tutorial which in fact, I don't have any idea on how to use it exactly[such confusing in term of ACTIONSCRIPTS u know,.,.].

In other word, I would like to present a site that uses a User Interface Components such as MenuBar, ProgressBar, ScrollBar and etc.. In addition, it also has a page which contain a form to be fill up, which here I practiced to used the Accordion Component, but unfortunately I don't know how to placed a scroll Bar within it.

So, I hope that you'll gonna help me on that case... I'll wait for the tutorials and suggestions.

Please send me up also a sample Flash Document of simple working website with the said Components...please.


Thank You in Advance...

Note: I used Flash MX Professional 2004, few knowledge in AS

Flash 8 Quiz Guru Needed: Make Link Appear For Next Test Only If Test Taker Passes.
Greeings, all,

Flash 8 has quiz templates which are coded for multiple choice, true/false, text statement, and matching types of questions, along with hotspots and probably anoher type I am forgetting. The test taker makes their selection(s) or answers, and clicks a "check answer" button. They then get a feedback statements depending on whether they have answered correctly or not. Many questions involve multiple selections to be correct, but all must click on the "check answer" button to advance to the next question.

The point is that all of this functionality is coded in the component(s) which make the template so versatile. A copy of my .fla shouldn't actually be needed (I am guessing here), because the component code is what I believe needs tweaking, at least the part where the final percentage of correct answers is calculated at the end of the test, and that percentage is compared to a user-defined passing percentage score.

I think this requires a Flash Quiz Guru, who knows just how to connect the pass or fail result to a new button or a "go to" redirect. I don't know whether the same effect could be accomplished by frame scripting, but I expect tweaking the component(s) code would seem a more direct approach.

I cannot fill in the blanks for any idea that is just an idea. If anyone can code this, make it work and test it, and direct me to where the snippets must be placed, I would be deeply grateful. This is about education, not a game or commercial razz-ma-tazz.

Are there any Flash Quiz Guru's who can help me out with this?

Thank you.

regards,

stevenjs
____________________________________
"I am but an egg."
--Stranger in a Strange Land

Flash Quiz Guru Needed: Make Link Appear For Next Test Only If Test Taker Passes.
Greeings, all,

Flash 8 has quiz templates which are coded for multiple choice, true/false, text statement, and matching types of questions, along with hotspots and probably anoher type I am forgetting. The test taker makes their selection(s) or answers, and clicks a "check answer" button. They then get a feedback statements depending on whether they have answered correctly or not. Many questions involve multiple selections to be correct, but all must click on the "check answer" button to advance to the next question.

The point is that all of this functionality is coded in the component(s) which make the template so versatile. A copy of my .fla shouldn't actually be needed (I am guessing here), because the component code is what I believe needs tweaking, at least the part where the final percentage of correct answers is calculated at the end of the test, and that percentage is compared to a user-defined passing percentage score.

I think this requires a Flash Quiz Guru, who knows just how to connect the pass or fail result to a new button or a "go to" redirect. I don't know whether the same effect could be accomplished by frame scripting, but I expect tweaking the component(s) code would seem a more direct approach.

I cannot fill in the blanks for any idea that is just an idea. If anyone can code this, make it work and test it, and direct me to where the snippets must be placed, I would be deeply grateful. This is about education, not a game or commercial razz-ma-tazz.

Are there any Flash Quiz Guru's who can help me out with this?

Thank you.

regards,

stevenjs
____________________________________
"I am but an egg."
--Stranger in a Strange Land

Flash Quiz Guru Needed: Make Link Appear For Next Test Only If Test Taker Passes.
Greeings, all,

Flash 8 has quiz templates which are coded for multiple choice, true/false, text statement, and matching types of questions, along with hotspots and probably anoher type I am forgetting. The test taker makes their selection(s) or answers, and clicks a "check answer" button. They then get a feedback statements depending on whether they have answered correctly or not. Many questions involve multiple selections to be correct, but all must click on the "check answer" button to advance to the next question.

The point is that all of this functionality is coded in the component(s) which make the template so versatile. A copy of my .fla shouldn't actually be needed (I am guessing here), because the component code is what I believe needs tweaking, at least the part where the final percentage of correct answers is calculated at the end of the test, and that percentage is compared to a user-defined passing percentage score.

I think this requires a Flash Quiz Guru, who knows just how to connect the pass or fail result to a new button or a "go to" redirect. I don't know whether the same effect could be accomplished by frame scripting, but I expect tweaking the component(s) code would seem a more direct approach.

I cannot fill in the blanks for any idea that is just an idea. If anyone can code this, make it work and test it, and direct me to where the snippets must be placed, I would be deeply grateful. This is about education, not a game or commercial razz-ma-tazz.

Are there any Flash Quiz Guru's who can help me out with this?

Thank you.

regards,

stevenjs
____________________________________
"I am but an egg."
--Stranger in a Strange Land

(Authoring Mode-test Scene-test Movie )Different Results WHY?
(Authoring mode-test scene-test movie )Different results WHY?I will get mad working on a quiz for a month plz help: im working on quiz game -frame by frame- its 15 scenes each scene contain about 70 frames with 70 action script :go to and stop - go to and play - stop every thing is fine till scene No. 11 in the authoring mode when choose from control menue enable simple buttons - enable simple frame action : its working fine scripts executed fine but when going to test movie mode some scripts doesnt work WHY? what mistakes i have done? what should i do ? how can a void such a problem ? any suggestions PLZ??? Thanks in advanced

Buttons Work In Test Scene But Not In Test Movie...WHY?
Hi all,
I have buttons in a movieclip i've used
_root.
and the buttons work when i do test scene but when i try and test movie the buttons link back to the wrong screen. why is this? There is no apparent reason as the scripting seems fine.

Loading Test File In To A Dynamic Test Box
i am making a flash app and part of it is being able to enter the name of a text file in an input text box and hit a button and if there is a text file with the name you entered in the same folder as the swf it will load it in to the dynamic text box. attached Is a file of how far i got on my own.

thanks

How Do You Test Preloader In Test Movie?
hey... another question...

how do i test my preloader in the Test Movie?

when i use Test Movie the file is already 100% loaded so i dont know if my preloader is workin or not. is posting it in the web the only way to test if the preloader is working? thanx in advance. peace and prayer

alex

Test Scene Vs. Test Movie
Whenever I have done work in flash, these two commands have always worked the same. However, this one time, I test scene and the thing works exactly as I would like it to. When I test movie, one of my movie clips doesn't show. I can not find any problems in the code, and the layers all seem right, does anyone know of a difference between these so that I can look for a different problem? I have been racking my brain and the brains of others for about a week now on this. Thank you for any help.

Steve

Test Scene Vs. Test Movie
I have Scene 1 as a loader, and Scene 2 as my movie...

when I "test scene" for Scene 2 the quality looks great!

but when I "test movie", my Scene 2 movie looks like crap!

Anyone know why!? I went to "publish settings" and put all my settings at highest quality possible. jpg's are at 100, and flash settings are all at 100 and best quality.

They are imported jpg's by the way. And look great until I export or even preview as a flash movie. (????)

Thanks.

Test Scene Different Than Test Movie
I am doing a picture page in flash and for some reason it works when I do test scene, but it doesn't work when I do test movie. Does anybody know why this is happening.

[MX04] Diagonal Line Hit Test Or Drawn Line Hit Test
i have this guy who maves around and you can draw i gave it an instance name of "linesd" i dunno and i want to make it so the square will not go through the line that i draw in the swf. if you cant help with that can you help me with diagonal line hitTest i ban do vertical and horozontal ut diagonal is realy hard because it does the hitTest for the movie clip box not the line itself
-jakeA

Variables Help - Test.swf?one=test
I was wondering if anyone can help me, flash seems to be able to handle variables input from the browser ok
e.g.

http://www.tobeon.co.uk/test/test.swf?one=hello

however I don't know how to get it to accept variables for other levels
(example in link above I cant get the variable "two" in the movie "movie" to work)
things like _level0.one=hello and _level0.movie.two=hello doesn't seem to work

any help it is v important?
Thanks in advance

"Test Scene" Acting Differnet Than "Test Movie"
I am trying to build a cartoon. I am going through allot of pain staking measures to sync up stuff. It is behaving (mouths and sounds) different in Test Scene, than Test Movie. I am using 20 fps. Is that a good idea?

I am issing something major? This is making me nutz.

Any ideas?

Thanks,

: grey :

Percentage Test Of A "Hit Test" ?
Hi all,

Ok, we can do hit test with movies and coordinates but, how can we test if two movie clips collide (for example a trashcan and a garbage) in more than 50% ?

I mean if the garbage fills more than 50% of the area of the trashcan how can i grab this ??

Any ideas ?

Hit Test Help
Hello,
Hopefully this is an easy one. I've just been looking at it too long! K,
here goes.........
Scene 1 , Symbol1
In my symbol timeline I have a MC with this action on frame 14....

onClipEvent (enterFrame) {
if (this.hitTest(_root.cannon.ball) == true) {
nextFrame ();
}
}

I have a stop action on frame 14 and a fade animation on frame 15 of the
symbol timeline. The hit test keeps sending the timeline back to the
beginning of the symbol instead of next frame. I tried frame label and frame
number with no luck. If I remove the stop action on 14 , the timeline plays
through. Any ideas???

Thx in advance!
~GD~

How Do You Test FPS?
How do you test your FPS in a movie. I added a graphic to a movie that runs at 20 fps and it slowed it down, I would like to know how I can track what FPS it is going at.

Thx,
-Kac

Hit Test
I have a game like flash piece that uses hit tests to keep a guy from walking through walls. Works pretty well. Problem is - if he just hit a wall (hit test = true) - let's say going down, he stops, but if to his right is a corner, he will go through the next piece. ANyone know how I can check multiple hit tests at the same time? Thanks!

Hit Test
I draw 2 circles on the stage, and converted them to a movie clip (instance name "circle1" and "circle2" respectively). I have the following script inside "circle1":

onClipEvent (load) {
startDrag (this,true)
}

onClipEvent (enterFrame) {
if (this.hitTest (_root.circle, true)) {
_root.textfield="hit"
}
else {
_root.textfield="no hit"
}
}

For some strange reasons the above code doesn't seem to work. I don't know why. Pls help. Thanks in advance!

Test
I want to make a test in flash. So far I have it so that when they type in their name at the beginning it shows their name at the end of the test. I am struggling in coming up with a way to do it? If you can help me out, I would really appreciate it.

Test
test

Hit Test Help
my character's instance is "sky" ok now i want him to blow up when he hits a wall how do i go about to do this can someone please help me .im making a game and i need to know how to do this ok cool

thanx in advanced
Advancedsky|::.

Another Test
This is for testing of format in Flashkit.com
I think you all will excuse me….

Another Test
How can I display an image in this discussion forum, and how can I make bold or italic few words in this forum. I have seen some people posting questions which are neatly decorated and indented. I want to display my LOGO beside my signature.

Thanks in advance

Test
This is a test This is only a test.

[swf width="396" height="378" background="#000000"]http://www.doa.myeva.net/INWORKS3.swf[/swf]

Hit Test
Sorry, this really is kind of a lame question given the tutorials on the site, but, I'm still kindof lost.

Can someone give an explanation of hit-test, how to use it, etc.? I understand the basics, I think, but I'm still kind of lost.

Thanks if advance,
Darque9

Help Hit Test
hey flashers,

well, heres the thing, im making a flash site, and i have the menu bar at the top, and a loaded bg at the bottom. on the menu bar, i have a little movie clip that has a drop down menu inside it. i made a button over the whole menu so that when you roll over the menu bar,

on (rollOver) {
tellTarget ("menu") {
gotoAndPlay (2);
}
}


so the menu drops down and the buttons are in it. fine. but when i roll over one of the buttons in the menu, the button to make the menu drop down, kicks in with its rollout action because im over a different button.

on (rollOut) {
tellTarget ("menu") {
gotoAndPlay (10);
}
}


so what i want to do, is in the rollout action, i want to tell it, if the hit test on the menu movieclip = false, then its ok to gotoAndPlay (10), but otherwise, not to rollout. is this possible? if so could you please provide me with the AC for this button? thanks a bunch to whoevers gonna help me lata all.

Jà©Ôß

Hit Test
Hi there,

I need some help with a racing game I am making. here is the situation:

I have a car which sits centre stage... the track and all the obstacles move underneath it.

When I create the hit tests for the items around the track, I can only seem to make ONE shape hitTest script work at any one time. Is this a limitation of actionscript?

For example... I created a loop which tests to see if my car has hit one of up to 99 obstacle movieclips scattered around the track. This works fine:

onClipEvent (enterFrame) {
if (_root.obstaclehit == 0) {
for (i=0; i<100; i++) {
if (hitTest(this._root.road["obstacle"+i])) {
_root.obstaclehit = 1;
}
}
} else {
_root.obstaclehit = 0;
}

I have also managed to attach a scipt to my sandtraps, this works fine too. This tests to see if my sandtraps SHAPE hits the x,y co-ordinates of the car.:

onClipEvent (enterFrame) {
if (hitTest (_root.player._x, _root.player._y, true)) {
_root.sandhit = 1;
} else {
_root.sandhit = 0;
}
}

But I also need to attach the same script to another shape and when I do, the script doesn't seem to work:

onClipEvent (enterFrame) {
if (hitTest (_root.player._x, _root.player._y, true)) {
_root.grass_hit = 1;
} else {
_root.grass_hit = 0;
}
}

Can I only use ONE HitTest script on ONE shape?

Any hints as to how I can work around this, so I can have several different types of shape? I would like to have several different shapes which affect the car differently. Grass, Bollards, Sand, Boundary walls, Ramps, etc, etc...

Any help would be greatly appreciated.

Kind regards,

Simon.

Hit Test
If you're able to help...

I'd like to attach the following scripts onto two (or more) shapes:

onClipEvent (enterFrame) {
if (hitTest (250, 250, true)) {
_root.obstacle_type1_hit = 1;
} else {
_root.obstacle_type1_hit = 0;
}
}

The problem is, when I attach this script to other shapes, I can only get ONE instance of the script to work... all the rest are ignored.

e.g.

onClipEvent (enterFrame) {
if (hitTest (250, 250, true)) {
_root.obstacle_type2_hit = 1;
} else {
_root.obstacle_type2_hit = 0;
}
}


This is for a racing game and I'd like to create several different layers of SHAPES, and alter the result to change different variables when the hitTest returns true.

Any help would be appreciated.

Regards,

Simon.

Test
How can I change colors like this using only ActionScripting

http://www.sitevendor.com/fkqueries/colorchange.swf

Test
oh.. nothing.. just trying out the sig

Hit Test
I need sum help with this hit test stuff
I have 2 movie clips
one named wall the other man
the wall is just one side and i used the wall movie clip a few times to form a maze.
i need for frame one to go to frame two when the man hits the wall
i have this code but it doesnt work

wall.hitTest(man);
if (wall.hitTest(man)) {
equals;
true;
gotoAndStop (2);
}

What am i doing wrong? its driving me nuts ive tried everything i know! some one please help

Hit Test
I need sum help with this hit test stuff
I have 2 movie clips
one named wall the other man
the wall is just one side and i used the wall movie clip a few times to form a maze.
i need for frame one to go to frame two when the man hits the wall
i have this code but it doesnt work

wall.hitTest(man);
if (wall.hitTest(man)) {
equals;
true;
gotoAndStop (2);
}

What am i doing wrong? its driving me nuts ive tried everything i know! some one please help

Hit Test
i made this game, i have some Hit Test working (the finish line) i need some help with the track so when you cross it its a game over

http://www.angelfire.com/my/poogas/carmaze.fla

this is just a test file so it sux and more levels will come too

Cpu Test
cpu test

is it possible to test the users cpu power, so that you, for instance, can make movies in 3 different qualities so the user gets the best performance without lags?

i had an idea, that you might create a very cpu-intensive scene, and then test how many frames per second the user's cpu can cope with. if it can't render more than 5 fps, then play the smallest version, if it can render only 10 fps, then play the medium version, and if it will render 15 fps, then play the largest version.

i'm new at scripting, so if anyone could help me i'd be really grateful.

"my scene is quite heavy on the cpu because it contains a lot of alpha layers."

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