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




Looking For This Kind Of Tutorial



I was surfing the net when i found this site O2 and i was wondering if there was anyone out there who knew or knows where i can find a tutorial on how to make that kind of splash . . the bubbles and such.

Please help.



FlashKit > Flash Help > Flash Newbies
Posted on: 05-04-2003, 06:04 PM


View Complete Forum Thread with Replies

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

Looking For A Specific Kind Of Tutorial
Hey Guys,

I was wondering if anyone knew of a Flash tutorial out there that could make a water rippling effect. If you know where I could get a tutorial like that please let me know.


Thanks,



Kelly Nunes
kellynunes@lvcm.com

Can't Find A Tutorial On This Kind Of Scrollbar.
I'm trying to emulate the exact type of scrollbar used on mtv2's site (http://www.mtv2.com/#home/) - The one in the upper right in white. I can only find tutorials on other kinds of scrollbars, but I need one that:

-Has a custom interface (not the built-in one from flash)
-Includes the bar in the middle
-Continues sliding when the buttons are held down

If anyone could help me out on creating this, I'd appreciate it. I'm using MX 2004.

Can't Find A Tutorial On This Kind Of Scrollbar.
I'm trying to emulate the exact type of scrollbar used on mtv2's site (http://www.mtv2.com/#home/) - The one in the upper right in white. I can only find tutorials on other kinds of scrollbars, but I need one that:

-Has a custom interface (not the built-in one from flash)
-Includes the bar in the middle
-Continues sliding when the buttons are held down

If anyone could help me out on creating this, I'd appreciate it. I'm using MX 2004.

Is There A Flash Tutorial For This Kind Fo Basic Game Engine?
This is pretty basic:

I just need to know how the engine generation works for a game like this:

http://www.newgrounds.com/portal/view/463138

Like how they consistently generate those rows of blocks. Is there a tutorial anywhere for that?

I don't need the hitTest or collision detection, but I can't get blocks to generate right.

"A Different Kind Of Platformer" Tutorial
Hello everyone. I have been seeing some tutorial pieces of platformer games around Kirupa.com lately, but There are some clearly visible flaws, no offense, but they were some of the most basic things I have seen in the history of Flash. And so, I am here to teack you many things, many things indeed. Hope this helps step up from the beginner notch.

Okay, let's begin. First, make an image that will be your character (player). Select all of it and right click. Choose "Convert to Symbol..." and name it player. Also, put the registration point in the bottom center. EXAMPLE IMAGE:



Now that you have that covered...click OK. Now you have your main part of what this player will be. Now enter the player movie clip by double clicking on him. Inside of him, there should be one frame. Right click on the 2nd space on the timeline and choose "Insert Keyframe". Do the same for the third space on the timeline. Now you should have three frames in the timeline of your player. Don't worry about adding stop(); codes to any of the frames, you don't even need to give them frame names (labels). Okay, now in the First frame of that timeline of your player, make him walk. To do this, select the stuff inside the first frame of the player movie clip and right click on the selected stuff and choose "Convert to Symbol..." and go into THAT movie clip and make him walking. Now double click on open space to exit that movie clip, or you can hit that little back arrow near the top of the screen. now for the second frame of the player movie clip. Make an image of him jumping. If you want to have that animated, then you will have to do the same thing you did with the moving part: Make another movie clip and animate inside of that. On the 3rd frame, just make him standing. Also, you animate that if that is what you would like. Now exit the entire movie clip of your player. Now select your player, and open the actions panel. You can do this by hitting F9. Now copy this code and paste it in the actions box:


Code:
onClipEvent (load) {
var grav:Number = 0;
// gravity
var speed:Number = 7;
// how fast you walk
var jumpHeight:Number = 15;
// how high you jump
var slow:Number = .5;
// sets water falling speed
var slowspd:Number = speed/1.5;
// sets water walking speed
var setspeed:Number = speed;
var scale:Number = _xscale;
var ex:Number = 5;
// makes hitTests better, change for a closer hitTest (warning, more buggy if smalle, less real if further)
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
grav++;
_y += grav;
while (_root.ground.hitTest(_x, _y, true)) {
_y--;
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
if (grav>0) {
grav *= slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(68)) {
_x += speed;
_xscale = scale;
if (_root.ground.hitTest(_x, _y+3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else if (Key.isDown(65)) {
_x -= speed;
_xscale = -scale;
if (_root.ground.hitTest(_x, _y+3, true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else {
if (_root.ground.hitTest(_x, _y+3, true) && !Key.isDown(79) && !Key.isDown(73)) {
this.gotoAndStop(3);
}
}
if (Key.isDown(79) && !Key.isDown(87) && !Key.isDown(65) && !Key.isDown(68) && !Key.isDown(73)) {
this.gotoAndStop(5);
}
if (Key.isDown(73) && !Key.isDown(87) && !Key.isDown(65) && !Key.isDown(68) && !Key.isDown(79)) {
this.gotoAndStop(4);
}
if (Key.isDown(87) && _root.ground.hitTest(_x, _y+3, true)) {
grav = -jumpHeight;
_y -= 4;
this.gotoAndStop(2);
}
if (_root.ground.hitTest(_x+(_width/2)+ex, _y-(_height/2), true) || _root.ground.hitTest(_x+(_width/2)+ex, _y-(_height/6), true) || _root.ground.hitTest(_x+(_width/2)+ex, _y-_height, true)) {
_x -= speed;
}
if (_root.ground.hitTest(_x-(_width/2)-ex, _y-(_height/2), true) || _root.ground.hitTest(_x-(_width/2)-ex, _y-(_height/6), true) || _root.ground.hitTest(_x-(_width/2)-ex, _y-_height, true)) {
_x += speed;
}
if (_root.ground.hitTest(_x, _y-_height-15, true)) {
grav = 1;
}
}
Now, the last little piece to your beautiful character. Click on the movie clip of your character and enter the "Properties" box (Hit Ctrl+F3). In the instance name box (SEE NEXT EXAMPLE IMAGE) put "player" without quotes. EXAMPLE IMAGE:



Now you have your player! Now, just draw a largish rectangle. it doesn't have to be anything nifty or detailed, just a rectangle. Now select the entirety of that rectangle and convert it to s symbol. Don't worry, you don't need a registration point. Name it and give it the instance name of "ground" without quotes. Now you have your player and your ground. Drag your player over top the ground so when you test it, he doesn't fall. Instead, he will be on the safety of the ground. Now change your frame rate from 12 to 30 and then hit Ctrl+Enter. Your player should be like this (DOWNLOAD) Please note that for the ground, you can actually make it any shape you want, as long as you can have your player stand on it. That's right, you don't need separate walls!! A toast to that

Now, let's see the more intricate parts of our platformer game. Now to make water. Water is nice because you can move slower when passing through it. To make water, use the paint brush and draw a blue blob of blue with alpha of 50% so when you are passing through the water, you can still see yourself convert it to a symbol and name it water. Also give it the instance name of water. Again, no specific registration point needed. Place the water where you would like it. For realistic appearance, make a little part in the ground where water can go, like so (EXAMPLE IMAGE):



Your water has been complete. And the last thing for this section of the tutorial.

The Dynamic Camera, A.K.A. V-Cam.

First, draw a box as big as the stage (normal stage size is 550 pixels in width, 400 in height) and make the box have nothing inside of it. Just the lines. Convert it into a symbol with the registration point in the middle. Name the movie clip "v-cam" without the quotes. Go into the movie clip and on the first and only frame, put this code:


Code:
parentColor.setTransform(camColor.getTransform());
function camControl() {
parentColor.setTransform(camColor.getTransform());
var scaleX = sX/this._width;
var scaleY = sY/this._height;
_parent._x = cX-(this._x*scaleX);
_parent._y = cY-(this._y*scaleY);
_parent._xscale = 100*scaleX;
_parent._yscale = 100*scaleY;
}
function resetStage() {
var resetTrans = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(resetTrans);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
// make frame invisible
this._visible = false;
// Capture stage parameters
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = Stage.width/2;
var cY = Stage.height/2;
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
// create color instances for color
// transforms (if any).
var camColor = new Color(this);
var parentColor = new Color(_parent);
// Make the stage move so that the
// v-cam is centered on the
// viewport every frame
this.onEnterFrame = camControl;
// Make an explicit call to the camControl
// function to make sure it also runs on the
// first frame.
camControl();
// If the v-cam is ever removed (unloaded)
// the stage, return the stage to the default
// settings.
this.onUnload = resetStage;
Now exit the v-cam movie clip and select the movie clip itself and give it these ActionScript codes:


Code:
onClipEvent (enterFrame) {
_y += (_root.player._y-_y)/4;
_x += (_root.player._x-_x)/4;
}
There. With the V-cam, the game camera follows you, so that's that. I will add the score part later, I am tired of typing. Sorry if this thread has many errors, it is all because of the mysterious buttons that allow you to put in images, links, and other fancy stuff.

Also, take a poll on whether this was useful or not.

P.S. - The final outcome of this tutorial is downloadable. (DOWNLOAD)

How Do I Check If "any Of THIS Kind Of Object Collides With Any Of THAT Kind"?
Right now I have it set up VERY inefficiently --

I have 2 kinds of objects -- objA and objB, There are about 50 of each on screen at one time.

On every instance of objA, I run a while loop that checks collisions with EVERY instance of objB. 50x50 = 2500 of these processes in a single frame. I do this because flash forces me to refer to the objects by name, and even copies of a single object must have different names. There's gotta be a simpler way to do this.

Would Someone Be So Kind To Help?
ok here`s the situation: i have a dropbox wich has items in it and in the same scene a scrollbar with dynamic text. I want this: you click on a item in the dropbox and you see the text that is related to that item in the scrollbar how do i do this? please explain simply i`m not quite an expert. thanks

Kind Of Not Right?
Ok here is the deal I have a sliding menu with six buttons the first four work perfectly linked, the last two will not link.
Here is the code:
on (rollOver) {
tellTarget ("button five") {
play();
}
}
on (rollOut) {
tellTarget ("button five") {
gotoAndPlay(11);
}
}
on (release, releaseOutside) {
getURL("http://www.thebonjoviexperience.com/cgi-bin/guestbook/guestbook.cgi", "_self")
}
The code is the same on the first four with respect to the button numbers and of course the url
any ideas as to what is going one with it.

You can llok at the full fla at
http://www.thebonjoviexperience.com/swwmenu.fla

Thanks in advance

Tip Of The Day...kind Of
Hi all

Is there a way to load a swf based on the date... instead of random.

maybe by using the date for the swf = 071103
or better some random swf for different animation and then the
Tip from a txt.file

Any Idears

Have a nice day

flemming

Kind Of New To AS, Could Use Help...
Okay, I'm just trying to make a nice simple platformer, and all is going well so far. I've got it to where the pc stops when he hits the wall, and can back away from the wall, it jumps and falls slower when space is held down but continues to fall and falls faster when space is released. Now I want to make the character able to go from platform to platform. I can't seem to think of a way to do this without putting seperate code on each of the different platforms, and that's not exactly my idea of a good time... I'd like to find some way of putting code on the character instead. Here's the code I have right now on the pc, and the staying firm on the ground comment is where I want to put the code to make the pc stay on top of whatever platform it's touching at the time:


Code:
onClipEvent(load) {

gravity = 20;
walkSpeed = 6;
maxjump = 10;
right=true;
left=true;

}


onClipEvent(enterFrame) {
//staying firm on the groundedness

//walking
if(right==true) {
if(Key.isDown(Key.RIGHT)) {
_x+=walkspeed;
}

}
if(left==true){
if(Key.isDown(Key.LEFT)) {
_x-=walkspeed;
}
}
if(this.hitTest(_root.wall) && Key.isDown(Key.RIGHT)) {
right=false
}else{
right=true
}
if(this.hitTest(_root.wall) && Key.isDown(Key.LEFT)) {
left=false
} else {
left=true
}
//jump
if(this.hitTest(_root.platforms)){
air=false
}else{air=true}
if(air==false){
jump=true;
jumpcount=0;
jumpspeed=20;
}
if(Key.isDown(Key.SPACE) && jump==true) {
_y-=jumpspeed;
}
if(Key.isDown(Key.SPACE)){
jumpcount+=1
}
if (jumpcount>maxjump && jumpspeed>-2){
jumpspeed-=9
}
if(!Key.isDown(Key.SPACE) && air==true) {
_y+=gravity
}
}





Help, suggestions would be helpful. And its flashMX, if any one needed to know....

New Kind Of Pop-up
Lately, on the internet I saw many pop-up graphics that displayed picture of a car or other objects that moved across the web page when I go to site such as http://www.yahoo.com. This pop-up has no rectangular window, but a picture of say a car that move across a web page. Do these pop-up created using Macromedia Flash or is it Java applets ?

What Kind Of Preloader?
I have a main film "main.fla" and in this main film with animation i load a *.swf file.
to the problem: i have make a preloader for the main.fla but the *.swf does not preloaded.

I need a solution that preloud the main.fla AND the *.swf (from loadmovie).

cu from germany

Any Kind People Out There?
Is there anyone that can help me with a script??

I have an email form with 4 variables - name, subject, email and message. I need a php or cgi script to send this to my email. I have tried to modify various examples with no luck.

Any help would be appreciated.

How Would U Get This Kind Of Text
how would u get this kind of text

http://cleoag.shockteam.com/sw3d/s/v...clestexticons2

is it through action script ?

or some other way ?

thanx =)

A Different Kind Of Preloader?
I am developing my first Flash website and would like to create a preloader.

There are loads of tutorials and examples on the preloaders but am now thinking of doing a something different....

Instead of preloading bar -- using my imagination, a rough sketch of a person pushing a rock/ball uphill on the cliff and when the preloading is complete, the rock/ball drops down the cliff on the other end.

How would I be able to do it? Suggestions would be greatly appreciated!!

Thanks in advance.

What Kind Of Script Does This?
This seems to be the new kind of advertising lately with flash. What kind of scripting is used to do this? http://us.a1.yimg.com/us.yimg.com/a/...arm/sfarm1.swf . This was recently used on the Yahoo frontpage. Also, does anyone know where I can find an example FLA or SWI that does this? Thanx!!!

I Think I Need Some Kind Of Loop?
okay, here goes

i have two main movie clips logo and spinner then i also have 6+ movie clips named a b c and so on, now what i want to do is

when logo has reached final frame start spinner and (a) then when they have both finished start logo again which when finnished will start spinner and (B)

at the moment i have logo and spinner working but how do i get it to play abcd etc in order, then start all over.

many thanks in advance

Brian

What Kind Of Database Should I Use?
hi guys! i want to create a flash application (like product catalogue) that will be distributed in a CD-ROM. I want to have a database in the project...can u advise what i need to use? text file or ms access or xml blah blah

tnx in advance! =)

Need A Different Kind Of Fullscreen
hey people,

im making my projector go fullscreen with this code:
fscommand("fullscreen", "true");

but, it's making the movie go fullscreen...

what i want it to do is keep the stage the way it's supposed to be (correct size, and hiding anything that hangs out of the stage) and just make the background go fullscreen, like a nice presentation... kind of like when you watch a quicktime movie in presentation mode... it doesnt stretch the movie fullscreen, just the black background takes over the background of your computer.

know what i mean?
thanks.

Some Kind Of Altimeter...
I should do the altimeter that that counts and shows the total height of certain objects. So... when I drag the certain movie clip above the other then there should be info about the total height. (For example, that movie clip would present some kind of shelf that can be put on top of another shelf.)

My problem is not increasing the counter (altimeter) but to decrease it. [I get the height value from the external text file and via the position of the previous movie clip I can easily increase the counter.] But... let's imagine two stacks (of same height) each containing two separate shelves. So... when I remove one shelf from the stack on the right, how should I tell the Flash/Actionscript "do not decrease the altimeter because there is another stack of same height on the left". In this case there can also be more than just two stacks.

Any ideas how to decrease the counter the right way BY USING ACTIONSCRIPT? I have not done any code yet because NOW I want it to work on paper first...

What Kind Of Host Do I Need...
so i'm ready to start experimenting with my own .com site and stuff and need to know where to start. so i get a register a domain, then get a host. do all hosts offer the same product. do i need a special type of hosting to have a flash site? where do i start?

Kind Of Funny . .. 2 Me :)
Alright,

So i go into coles book store 3 days ago looking for the Flash MX bible. I pick it up look at the back and HOLY **** it's 80 dollars.. what a rip off but whatever i need this book and it looks interesting plus i had my mom's bank card So i continue to purchase it take it up to the front "Sorry but the cd-rom isn't in here" Well than i'll pay 20 dollars less so 60 dollars "Sorry sir we can't do that" Oh ok. So i walk over and find another i come out with Sam's teach yourself Flash MX in 24 hours, i like this i purchase and i have been reading it ever since. I was sitting here on my computer like 10 minutes ago when my mom walks over to me and says is this the book that you wanted and i said yes but the cd is missing. I look closer and what do you know it says 75% off my mom paid 20 dollars for a book that i was going to pay 80 at first, but why wouldn't they let me have the book when i offered 60 lol

Just a funny story that i thought i would share hehe

Got Graphics?

Its Kind Of Choppy
ok, i finally got mine to work, cept halfway through it it gets a lil choppy, like it pauses for two seconds then continues. This only happens the first time someone views it. Is there anyway to make it less choppy?

How To Do This Kind Of Thing
Hi
Can anyone tell me the best to get this sort of effect.... http://www.fourm.com/console/
Its the bit when the box opens kind of squashy and then forms its proper shape. I can do it sort of with with teening but wondered if it could be done using the drawing api.
Thanks
Karen

Launching A Kind Of Pop
Anyway to launch a blank HTML target window (off the main movie) out of Flash, so it aligns top left in the browser; at 800 X 600? With the scrollbars, icons, and all the usability of a normal browser window...
Thanks.

Which Kind Of Preloader?
hi,
what kind of preloader can I use?The movie clip (published in V.6) starts with this code at the second and last frame:

_root.attachMovie("picMC", "picMask", 10);
picMask._x = 154;
picMask._y = 122;
_root.attachMovie("picMC", "picBg", 5);
picBg._x = 154;
picBg._y = 122;
_root.attachMovie("maskMC", "myMask", 20);
myMask._x = 154;
myMask._y = 122;
_root.attachMovie("bgMask", "bgMask", 7);
bgMask._x = 154;
bgMask._y = 122;
picMask.setMask("myMask");
picBg.setMask("bgMask");

I've tried with a standard v.5 preloader but it doesn't work.
Can the problem be the _root.attachMovie expressions?

Thanks to all for help
manipura70

How To Do This Kind Of Effect?
I hope you all would have seen this grainy effect which you get when you switch on your TV or when the power goes off in the TV station we can see this effect like lot of silver colour grains in the TV. Its also seen in many sites now days. Does any of you know how to get this effect? Or in order to search for it in the forum which will be the right word to search?

Will any of you come forward to understand what I exactly need and help me? Thanks.

Anyone Know How To Get That Kind Of Effect?
Anyone know how to get that kind of effect?

Anyone Know How To Get That Kind Of Effect?
Anyone know how to get that kind of effect?

sample:

http://www.chineseworld.com/ad/sample.htm

Some Kind Of Frame
i need help making a site that works with html. i want the site to be something like this http://www.2advanced.com/webbasis/siteindex.htm
the top half is flash and the bottom is html.
can anyone tell me how i can make this work or send me an example
thanx

Im Looking For This Kind Of Navigation
this navigation


on my website my nav is with javascript and layers....

can anyone help me to build this like the website above in flash?

the best way - store the main und submenus in database and read with flash and build the menu...

can anyone help? any questions? icq 23148128 or here

sorry for my english...

A Kind Of Chat Bot...
I need to know the command to recognise a word actually as part of a sentance so as i can make a reply.

For example. if you enter the phraise "you look like the rear end of a truck" i want a scipt that recognises the person has said "rear" so as i can have my text replying.

I know hoe to do it with a password kinda thing but then the whole sentance ust be exact so "You look like the rear end of a car" would not recognise.

Any help would be greatly appreciated! thank you for your time.

What Kind Of Flash Is This?>
On http://www.akamai.com/index_flash.html they have a nav that comes up over the image... What is this? Is it actionscript or what?
thanks,
Vegas

Kind Of Hit Test
Hi everybody,

Please take a look at the fla's
I'm triying to do a mouse trail inside a movie clip.
But I want the trail to stop when your outside the movie clip.

My trail go over the movieClip (_x)

could someone help me out

thanks

Kind Of Stylesheet
i presume this is possible but don't know where to start.

i want to be able to easily change the colour of elements with in a site in one go rather than having to open up every MC or button. ie. type colour ,background colou,r box colour that kinda thing - i can go every month/week/day change some code and all colour way for the site is completely different (like CSS). If anyone knows any good tutorials or source files they'd be much appreciated.

cheers

J

A Kind Of Preloader
i'm making a preloader for my site.as a design i would like to have a logo that slowly shows from top to down as the movie loads.the logo consistes of an alien head made of horizontal stripes.and i would like to make the head form line by line as the movie loads.

ps:i don't want to make the logo in flash(i know that this would be easier). i have the logo as a jpg.

if someone knows how to do this, please help me.

Is There Any Kind Of AI/EPS To SWF Tool?
Sorry if this may be a little off topic....

Anyone know of any kind of tool, util, class, script, etc that will convert EPS (vector) to SWF either by either server-side script, command line, or standalone app?

Ive seen all the others JPG2SWF, GIF2SWF, PP2SWF, etc....but havent been able to find any info on doing vector via Flash run-time or external.

TIA!

Ahhhk!

This Is Kind Of Embarrasing......
HI i just got flash mx pro 2004 for a present and i made a character iam so confused with all the buttons and stuff i dont even know how to make it move much help would be appreciated!

Eraser Kind Of
Hi
I'm creating a drawing api where I have used lineTo/moveTo methods to create line drawing. now i want to create a eraser kind of effect which can be like eraser removing parts of the lines.
This should not be clear function which clears all the drawing at once.
It should behave like an eraser. Like on hittest it should remove that part of the line.
Is it possible???

Please guide.......its urgent!!

Thanx

Is This Kind Of Interaction Possible?
Hi there,

I'm wondering if the following problem can be solved.

I got a website that's build in frames. 4 frames (a,b,c and d)

in frame "a" is the navigation of the site.
If you click on a button in frame "a", frame c will change.
In frame "c" is a sub-navigation

The navigations are both in flash. I wan't to click something in frame "a"
and with that click make the sub-navigation in frame "c" change (for example: gotoAndPlay(2)).

is this possible?.. hope you understand my problem..

thnx.!

This Kind Of Effect?
http://www.theillusionist.com/
Do anyone have any idea how to make those rollover effect on the button "Enter site"? Some light coming out from a light source. Do anyone know how to use actionscript to finish it?

Blobs (kind Of)
nothing but some tiny classes to build up a few kinky blobs. I didnīt spend much time on performance optimations yet, because I canīt resist to post such cute little fellows here and now.

launch (&& sources)

cheers

How Do I Do This? Kind Of Urgent
Hi folks!

Relatively new to flash. I have to upload my website tomorrow, and I can't figure out how to do this one thing.

On the main site, there is a button called "Music"
When you click that button, I want an xml music player I made in a separate flash document to open.

In other words, how do I trigger music.swf to start in mainwebsite.swf

What does the code look like to do that???

Thanks!

Dan

What Kind Of Declaration Is This?
intrinsic dynamic class strings extends Object

I don't know what this means 'intrinsic dynamic class' and I am reading over some code that needs my attention! I usually code in JAVA and I haven't sent his before.

please help

This Kind Of Gallery...
Hi people. It is there a way to find a fla like this, but free of charge? http://www.flashden.net/item/full-re...p-enabled/3726
Cheers.

Kind Of Off The Subject
hi can somemone please help me.. i know this is kind of off the subject, but i wanted to know if i could use one of my flash videos as my desktop on my computer? if so can you tell me where i have to save it to and what type of file it has to be. thanks much

Problem Of Some Kind, Help
basically i want to use the value from a variable as part of the name of another variable or movieclip.

i've seen this done successfully:


Code:
for (x=1;x>6;x++)
{duplicateMovieClip(movieclip, "movieclip" + x, x);}
so the new name of the instance is movieclip1 then movieclip2 etc. but i want to use this technique in the LEFT side of an assignment statement, so:


Code:
for (x=1;x>6;x++)
{"movieclip" + x + "._x" = x * 100}
but that isn't the right syntax how do i do it? and what's this technique/method called?

Anyone Kind-hearted To Help Me
hello!! i'm new here and also a beginner to flash.
i already know the basics of flash and my group and i
are creating an icai for our thesis.
can anyone help me because i dont know what to do.
here's the case..

it's like a science tutorial and I've created a movie clip with
next and back buttons. but i would like it to have a seek bar (like in media player) that everytime i click the next button, the seek bar will also move.
and i would like the seek bar to be controllable like for example, if i move the seek to the left, the movie will go to the previous part even without clicking back button.

i really dont know what to do and how to measure the duration of the movie clip so can anybody help me please???
you could also email me if you want. greycorr@yahoo.com

I would be very grateful for any help you can extend.

thank you so much.

--gRaCe =)

A Different Kind Of Pre-Loader
Hiya everybody!

I'm looking to create a preloader, that has more than just a bar animating from left to right, I would like to also have an animation which runs in-sync with the pre-load bar (and therefore the pre-loader), so the animatoin finishes at the same time as the pre-load bar.

Does that make sense - I hope so!

The problem is that I'm trying to find a tutorial for this but everytime I search for it, I just get hundreds of tutorials for the simple 'bar pre-loader'.

This is the code I am using for the 'bar pre-loader':


ActionScript Code:
onClipEvent (enterFrame) {
    loading = _parent.getBytesLoaded();
    total = _parent.getBytesTotal();
    percent -= (percent-((loading/total)*100))*.25;
    per = int(percent);
    percentage = per+"%";
    loadBar._width = per;
    if (percent>99) {
        _parent.gotoAndStop("Home");
    }
}

My animation for the pre-loader has an instance name of bouncy_bouncy.

Can anybody pleae point me in the direction of a tutorial that will show me how to do this, or advise me on how to modify my code to allow me to do this.

Many Thanks

D.

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