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




Desperate Student Needs Hero



hey guys, well, i'm trying to create a system where by if you roll over a button, one of five red light (movieclips) turn green at random

once all are green i want the system to reverse and turn them all red again

but i cant get the first side to work yet!! it looks all good to me!!

please help!!

heres the code--- i've also added the .fla


Code:
on (rollOver) {
objectchoice = random(5)+1;
trace("number generated="+objectchoice);
if (playMode == 0)
function () {
if (objectchoice == 1 && object1_status == false) {
_root.obj1.gotoAndStop(2);
object1_status = true;
counter += 1;
} else if (objectchoice == 2 && object2_status == false) {
_root.obj2.gotoAndStop("green");
object2_status = true;
counter += 1;
} else if (objectchoice == 3 && object3_status == false) {
_root.obj3.gotoAndStop("green");
object3_status = true;
counter += 1;
} else if (objectchoice == 4 && object4_status == false) {
_root.obj4.gotoAndStop("green");
object4_status = true;
counter += 1;
} else if (objectchoice == 4 && object5_status == false) {
_root.obj5.gotoAndStop("green");
object5_status = true;
counter += 1;
}
};

}



FlashKit > Flash Help > Flash ActionScript
Posted on: 11-24-2005, 08:07 PM


View Complete Forum Thread with Replies

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

Rollover Rollout Help - 2nd Year Graphic Design Student In Desperate Need
Please help anyone who feels that they are able to!

I have a problem, in reprogramming my portfolio I wish to make an interface where by if the viewer were to Roll over a button, information would emerge, and on roll off, the information returns in a reverse of the emergence animation (Does that make sense?) I've managed to make it do so by complicated means (i.e minimal use of action script) but cannot make it so that if the user were to roll off before roll over sequence has finished the animation simply reverses. All mine does is jump to the end of roll over sequence and then play out the reverse. I have limited Script knowledge but any help would be really appreciated.

Student Vs Student Online Practice
I have written a times table application using actionscript for my students that allows them to practice their tables agains the clock. I would appreciate it if someone could guide me to where I can get a tutorial on how to set up a situation where students can compete against each other online over the net. Even a topic heading to research in this area would be much appreciated.

Please Be A Hero
how can I increment color values, lets say I have the color value for Red, and Orange, and wanted to create ten objects, the first being Red and the LAST being Orange. . .

how would I devide the difference in color value to each of the eight remaining intermediate images?

make sense?? How would I know the colro value of say image # 7 in the seriese??

I am duplicating MC's and need each one to be a sucessively different shade , like from red ro orange, with 10 MC's inbetween (dynamicaly generated, I have that part, I just cant make them change color each time)

please help. .

THanks
Darin

PLEASE BE MY HERO
PLEASE DEAR GOD HEEEEEELLLLLLLLLLP !!

pulling my hair out over this one !!!

I am trying to target a parents parent. BUT it only works when I use the specific instance name. ??

This one works: ( "flake" is the instance name of the parent parent MC)

onClipEvent (load){
flakecol=new Color(_parent._parent.flake)

Great !! BUT, this must work no mater what the parents instance name is ( or, even if it does not have one)

so I tried this
flakecol=new Color(_parent._parent.this)
and this
flakecol=new Color(_parent._parent[this])
and this
flakecol=new Color(_parent._parent(this))


and even this
name = "flake" // this is a varible created on the flake MC

flakecol=new Color(_parent._parent[name])

and even this
name = flake // this is a varible created on the flake MC

flakecol=new Color(_parent._parent[name])

and I don't know how many others I don't even remember. . . . .
Why in the world does this only work with the EXACT instance name, and not a variable ???? I have seen it done in books, that is where I am getting this from ?!?!?

please help - this is killing me ;-(

Darin

I Need A Hero...
I have some text and when I press space I want it to fade away. Can you please give me the actual actionsript as I know nothing about Flash, I am doing an intro for a video I'm making, thankyou. Plus, if I need to turn anything into a symbol or whatever, just say.

Thankyou so much

I Need An Actionscript Hero....please
hi

hope someone can help me...I am getting so confused at the moment.

I have a function which fades one mc's alpha to 0 and once it has reached 0 it fades mc two to an alpha of 100. This did work fine until I realised that I had only been testing it between two mc's and now that I have five mc it wont work.

any ideas....my script is:

function:

function fadeContent(targetA, targetB, destinationA, destinationB, fadespeed) {
targetA.onEnterFrame = function() {
var targAa = destinationA-targetA._alpha;
targAb = (targAb+targAa)/fadespeed;
targetA._alpha += targAb;
if (Math.round(targAa) == 0 && Math.round(targAb) == 0) {
delete targetA.onEnterFrame;
targetB.onEnterFrame = function() {
var targBa = destinationB-targetB._alpha;
targBb = (targBb+targBa)/fadespeed;
targetB._alpha += targBb;
if (Math.round(targBa) == 0 && Math.round(targBb) == 0) {
targetA = targetB;
delete targetB.onEnterFrame;
}
};
}
};
}

can someone please help me.

Heroes Hero
I am a great fan of the TV series Heroes and I love the way the painter (I never managed to learn his name) I want to create some stuff like that, I have the talent and can do the sketching and filling. But I want it to acquire the perfect light amount for it to seem a bit dark but not that digital dark, more like a natural obscurity. Thanks!

Fire Bullet Out Of Hero?
when you press control i want a MC bullet to come out of an another MC Hero, but that MC is moving all the time, how would i get the bullet to come out of the centre of my hero, if i i use the arrow keys to move it around?
Not moving the bullet around, moving the hero?

Actionscript Hero With A Heart?
hey guys - i have posted many times beofre - asking for help - but now i am on my knees (sort of)! i really need some help

i know it is asking a lot - but for a someone that know flash it shouldn't take longer than a few minutes! i have been working for a long time trying to figure this out and now i am reaching out to you for some help!!!!

please just spare a couple of minutes for a friend - even though you don't know them!

I am making a Flash CD for this non-profit day camp i worked for this summer. the cd is very large - but these last three VERY important things i can't figure out!

for all three of these links below - i need to bee able to insert more pictures in each and have them randomly displayed: (listed in order of importance)

Jigsaw puzzle
http://www.flashkit.com/movies/Games...2433/index.php

Memory:
http://www.flashkit.com/movies/Games...6081/index.php

Picture Slider:
http://www.flashkit.com/movies/Games...5813/index.php

this is very important to me and i know if you could just spare 5 minutes to look at each script you could easily see how to do it!

Sorry everyone for the bother

Thanks and i look foward to your speedy response

Yechiel

Super Hero Drawing
Hey guys, i am currently making a side scrolling flash game, anyway lets just say my art skills arnt "all that" does anyone know where i can get a good super hero image? someone who is flying? i know this is sorta a strange request but i tried drawing one, and it looks like crap anyway, thanks!

Villains Targeting The Hero
In a platform game, how do I make the villains target the hero so they can attack him. I am using Flash 5 (no MX).

I have two villains that have been attached without classes, and can only move them horizontally. Once I put them the villain on the stage, I'm unable to angle them to go and attack the hero. I would rather not use superclass/class structure.

I appeciate any and all comments!

Thank you,

Christine

Super Hero Sites
hey hey

i want to change my layout to my site to that of a comic bok looking thing

the problem being is that i dont have many comic books laying around, and i need some ideas for the layout part on how it should look and what would make it look authentic

if anyone has any ideas or any site or something, please let me know

thanks in advance

Pacman No Turnaround On Hero
Hi, I am currently working on a pacman style game, but I am getting stuck on the flipping and rotating part of the hero. The problem is that every time you press the arrowkeys the hero flips vertically aswell as horizontal, I only want it to flip horzontally.

This is the code for setting the pac's next move:

function setPacMove(d) {

with (_root) {

if (d == 0) {

nextX = pacX;

nextY = pacY-1;

Pacman._rotation = 0;

} else if (d == 1) {

nextX = pacX+1;

nextY = pacY;

Pacman._rotation = 0;

} else if (d == 2) {

nextX = pacX;

nextY = pacY+1;

Pacman._rotation = 0;

} else if (d == 3) {

nextX = pacX-1;

nextY = pacY;

Pacman._rotation = 0;

}

}

}

How can I stop it rotating and simply do a straight reflection????

Diggz

[help] Moving Hero With Keys
No, this isn't a basic "how d0 u move teh guy with teh butons. thnx 8)" question, although I might just be an idiot for not figuring it out. I know I could put a timer in the enterFrame function, to see if the user has pressed the key for a while, and then do it accordingly, but I think there is a MUCH easier way to do it.

OK, let me start over, See how the "hero" moves around in this: link. And see in my recent tile experiments how the character moves: link .(My site is acting funny, if the previous link didn't work, here:link ) Well, in mine, if you hold down the key for a little bit too long, it'll go two spaces, when you might have only wanted it to go 1 space. The penguin game goes one space, then, if you hold down the key for a while, goes really fast. What I want to know, is if their is a way to do this easily. I tried doing an onKeyDown function, but that didn't work all together. I addedListener but it was just messed up. The onEnterFrame works the best, but I would rather it be changed. Any help would be appreciated, thanks!

Guitar Hero Engine?
Hello! I'm new here, and I just wanted to come and aks for assistance.



You see, I'm making a guitar-hero like game, and everything is done so far (graphics, backgrounds, etc.) Everything but the code! I'm fluent in actionScript (somewhat) and I attempted to tackle the code myself, only to produce something barely working.



I was wondering if I could ask for assistance with a fairly basic, yet functional engine.



I'm looking for something along these guidelines:

1. Hit a note (keys A thru G) and increase score.
The keys are asigned as following:
A - Green
S- Red
D- Yellow
F- Blue
G- Orange

2. Miss a note, lose points

3. Miss too many notes, "fail" the song

And I was also wondering how to use this engine to a song.


Like, creating a note pattern to go with the guitar of a song. I use a guitar program called tabIt to make my songs. This is a good tool, because it has all the notation, so there's no guessing when there's a note. It shows you the timing and everything. I'm just not completely sure how to create note patterns for a beginner, medium etc. song.



If my explation above is vague, don't be afraid to ask questions. This is a project I want finished, and I would really appreciate some help on the AS part of this.


Thanks for any help, generalzim

[CS3] Guitar Hero Like Game HELP
I am trying to make a game like guitar hero -

What I want to do is have non fanctional graphics of arrows going over the button at the specific time just for visual effect - when the arrow and button aligns a mc will appear 100% alpha which contains the clip of sound that needs to play.

I am struggling/dont know how to make it so that the user must press space + either left/right/up/down at the same time.

Also it needs to be so that if they release these buttons too soon the sound clip stops playing.


If anyone can help with this IT WOULD BE REALLY APPRECIATED!

Be A Hero: Help Debug This Movie:
or at least give it a once over and mabey some tips. c'mon it'll be fun.

Guitar Hero Game
Hello All:

At the moment, I am working on this guitar hero type game. For those who have never heard about Guitar Hero, it is an interesting rhythm game using both concepts of Frequency and Amplitude. The game screen consists of a scrolling fret board that has various colored notes on it. Each color corresponds to one of the buttons on the guitar, which you must hold down while strumming on the flipper.

The main problem I am having at the moment is the sound synchronization. The game contains a quite long sound clip, so it is quite hard to keep the animation in sync with the sound. Obviously slow machine could play an animation much slower than a fast computer. But the sound on both machines are played pretty the same.

I am asking for help from you guys if any of you have any knowledge about gaining more control over audio sync? For example, what if I want to use programming to synchronize sound with notes moving animations in this game.

There are probably more than one solution out there, so please feel free to make a suggestion. I am looking for all options.

and of course your help will be greatly appreciated...

Thanks..

Guitar Hero Game
Hello All:

At the moment, I am working on this guitar hero type game. For those who have never heard about Guitar Hero, it is an interesting rhythm game using both concepts of Frequency and Amplitude. The game screen consists of a scrolling fret board that has various colored notes on it. Each color corresponds to one of the buttons on the guitar, which you must hold down while strumming on the flipper.

The main problem I am having at the moment is the sound synchronization. The game contains a quite long sound clip, so it is quite hard to keep the animation in sync with the sound. Obviously slow machine could play an animation much slower than a fast computer. But the sound on both machines are played pretty the same.

I am asking for help from you guys if any of you have any knowledge about gaining more control over audio sync? For example, what if I want to use programming to synchronize sound with notes moving animations in this game.

There are probably more than one solution out there, so please feel free to make a suggestion. I am looking for all options.

and of course your help will be greatly appreciated...

Thanks..

Tuba Hero Game Help
Hey, I'm developing a flash game called tuba hero. It will be somewhat like guitar hero. I need it to create random notes, move them across the stage, and register corresponding keystrokes when the notes reach a certain point on the stage. I don't know if anyone will know anything about this. If you do, please give me a hand.

URGENT Actionscript Hero Required
hi, a small yet urgent challenge for any actionscript heros:

imagine a cake, choped into 10 slices, viewed from above. my goal is to have this cake rotating at a constant speed until the user clicks on one of the slices. if a slice is clicked on i would like the cake to speed up and rotate a certain amount so that the selected slice is at 11 o clock, and then the cake stops rotating.

i've made a 60% working version but i'm getting bogged down now and progress is becoming slower... i'd love someone to show me a nice optimal way of doing all this (i'm not scared of maths, its just flash timelines etc that screws me up), any help'd be greatly appreciated, taaaa.

Sending My Hero To The Next Frame (hittest)
okay in my game your a car and you have to reach the finish line the finish line and the car are both movieclips now how do i use the hittest to go to the next frame when the car comes in contact with the finish??
okay i tried this scipting and it didnt work please help!

onClipEvent (load) {
if (this.hitTest(x, y, true)) {
_root.gotoAndStop(2);
}
}

Objects Auto-following Main Hero
Hey guys. I made an object that you can basicly move with the keyboard arrows. What I need is "monsters" that can automatically follow that object. They face the hero's direction and they move towards him. The goal of the game would be to flee from them. But they keep following you. You know what I mean?

[F8] Problem With HitTest And Hero Movement
hey guys,
I thougt I'd go and create a game in flash and do it right, turns out I got stuck at hitTesting the hero with the walls. What I've got so far is a one frame movie consisting of a scene with three layers, 1 for the controls which has in the first frame a stop; action assigned to it.
the second layer has a movieclip (Hero) in it which represents the hero.
the third layer has a movieclip (Test) in it instanced as 'wall', which is just a black cube about four times the size of the hero but small enough for him to move around it freely.

The Hero movieclip has almost all actionscript assigned to it:



Code:
onClipEvent (load) {
yspeed = 0;
xspeed = 0;
power = 3.5;
friction = 0.7;
}
onClipEvent (enterFrame) {
if (this.hitTest(!_root.wall)){
xspeed = 0;
yspeed = 0;}

if (Key.isDown(Key.LEFT)) {
if (!_root.wall.hitTest(_x+xspeed-power, _y, true)) {
xspeed = xspeed-power;}
}
if (Key.isDown(Key.RIGHT)) {
if (!_root.wall.hitTest(_x+xspeed+power, _y, true)) {
xspeed = xspeed+power;}
}
if (Key.isDown(Key.UP)) {
if (!_root.wall.hitTest(_y+yspeed-power, _x, true)) {
yspeed = yspeed-power;}
}
if (Key.isDown(Key.DOWN)) {
if (!_root.wall.hitTest(_y+yspeed+power, _x, true)) {
yspeed = yspeed+power;}
}
xspeed = xspeed*friction;
yspeed = yspeed*friction;
_y = _y+yspeed;
_x = _x+xspeed;
}
(all the xspeed, yspeed, power, friction stuff is to keep the movement a little realistic (slow start, acceleration and slowdown at end of run))
What happens is that the hero movement is ok, until he (is supposed to)collide(s) with the wall. When colliding the key input is blocked, but the hero slides on a little and ends up stuck in the black box (wall).

What I want to happen is the hero come to an will slow down before he collides with the wall so that he won't get stuck. (a dead stop against the wall is an option but I would prefer the key input to stop in time for the hero to slow down (as if he is saying 'Im not going to run into that wall')

I would very much appreciate any help on this problem

Note: I first posted this in the newbie forum, but realized that it was perhaps more suited here.

Help Hero Movement Like A Chess Game
Hy

I want to make the hero.mc available to move with the mouse when you click down and then you drag where you want to position the hero.mc example like in a chees game

Thanks for any info







Attach Code

var tiles:Object = new Object({width:52, height:26}); // The size of the 'flat' tile. Tiles are allowed to be different dimentions, to give the '3D' effect.
var offset:Object = new Object({x:400, y:100}); // Este objeto ayuda a centrar el 'slotmachine' en el stage.
var hero:Object = new Object({x:1, y:1}); // La posicion inicial del 'slotmachine'
var canvas:Object = new Object({mc:_root.createEmptyMovieClip("canvas", _root.getNextHighestDepth())}); // Contains the primary movie clip and map information.

canvas.map = new Array( // Determina la Topografia del mapa
new Array(200,200,200,200,200,200,200,200,200),
new Array(200,100,100,100,100,100,100,100,100),
new Array(200,100,100,100,100,100,100,100,100),
new Array(200,100,100,100,100,100,100,100,100),
new Array(200,100,100,100,100,100,100,100,100),
new Array(200,100,100,100,100,100,100,100,100),
new Array(200,100,100,100,100,100,100,100,100),
new Array(200,100,100,100,100,100,100,100,100),
new Array(200,100,100,100,100,100,100,100,100),
new Array(200,100,100,100,100,100,100,100,100),
new Array(200,100,100,100,100,100,100,100,100),
new Array(200,100,100,100,100,100,100,100,100),
new Array(200,100,100,100,100,100,100,100,100),
new Array(200,100,100,100,100,100,100,100,100),
new Array(200,100,100,100,100,100,100,100,100),
new Array(200,100,100,100,100,100,100,100,100),
new Array(200,100,100,100,100,100,100,100,100),
new Array(200,100,100,100,100,100,100,100,100),
new Array(200,100,100,100,100,100,100,100,100),
new Array(200,100,100,100,100,100,100,100,100),
new Array(200,100,100,100,100,100,100,100,100),
new Array(200,100,100,100,100,100,100,100,100)
);
onLoad = function():Void
{
initmap(canvas.map); // Draw the map
initplayer(); // Draw the player

return;

};
_root.onEnterFrame = function():Void
{
input(); // Handle keyboard movement
return;

};

function input():Void // Modifies the 'hero' object, handles collision detection ('hero' and wall)
{
// Any tile less then 200 is walkable, anything above is not.
// No need to change this code handle more tiles, just name the tiles a number.
// (not the best way to do this but simple, quick, and easy to do)
if(Key.isDown(Key.LEFT) && canvas.map[hero.y - 1][hero.x] < 200) hero.y--;
else if(Key.isDown(Key.RIGHT) && canvas.map[hero.y + 1][hero.x] < 200) hero.y++;
else if(Key.isDown(Key.UP) && canvas.map[hero.y][hero.x - 1] < 200) hero.x--;
else if(Key.isDown(Key.DOWN) && canvas.map[hero.y][hero.x + 1] < 200) hero.x++;
move();

return;

};
function move():Void // Moves the background and the hero
{
// These three lines handle swapping the tile depths to give the '3D' effect
var d:Number = (hero.y * tiles.height) + (hero.x * tiles.width) + hero.y;
hero.mc.swapDepths(d);
canvas.mc["tile_" + hero.y + "_" + hero.x].swapDepths(d - 1);

// Move the hero in the opposite direction the environment moves
hero.mc._x = (tiles.width / 2) * (hero.y - hero.x) + offset.x;
hero.mc._y = (tiles.height / 2) * (hero.y + hero.x) + offset.y;

return;

};
function initplayer():Void // Self-expalanatory
{
var d:Number = (hero.y * tiles.height) + (hero.x * tiles.width) + hero.y;

hero.mc = canvas.mc.attachMovie("hero", "hero_mc", d + 1, {_x:hero.x * tiles.width, _y:hero.y * tiles.height});

move();

return;

};
function initmap(map:Array):Void // Render map
{
var map_height:Number = map.length; // Determine height of the map
var map_width:Number = map[0].length; // Determine width of the map

for(var y = 0; y < map_height; y++)
{
for(var x = 0; x < map_width; x++)
{
// Movieclip depth is everything when doing an isometric game
var depth:Number = (y * tiles.height) + (x * tiles.width) + y;

// Attach tile to 'canvas'
var tile:MovieClip = canvas.mc.attachMovie("tile" + map[y][x], "tile_" + y + "_" + x, depth);

tile._x = (tiles.width / 2) * (y - x) + offset.x;
tile._y = (tiles.height / 2) * (y + x) + offset.y;

};

};

return;

};

Very Obnoxious ~ Quick Fix For Flashy Hero?
This should be a simple answer-

Ive got a continuous vertical scrollbar that reacts to the vertical position of the mouse, but ide like that relationship to be limited to only the area of the scrollbar, and not the entire page. That way its not jumping all around whenever the mouse moves anywhere - very annoying..

Here is my current code: onClipEvent (load)
{
ycenter=370;
speed=1/35;
}
onClipEvent (enterFrame)
{
var distance=_root._ymouse-ycenter;
_y-=(distance*speed);
}
onClipEvent (enterFrame)
{
var distance=_root._ymouse-ycenter;
_y-=(distance*speed);
if (_y > 0) _y=-1160;
if (_y < -1160) _y=0;
}

Im sure its something quite easy,
but im just not adept enough with flash to know what exactly...

Thanks for your help guys

Advance Flash AS2:: In Search Of A Hero
This is not for the faint hearted... this is an on going puzzle I am trying to get over and this is how far I've got and now I am hoping that someone else maybe able to help out. In my program text is imported from XML documents, some words need to link to an external glossary, for this all words that are meant to form links are stored in the tags --! and !--

Once the text is pulled into flash it strips out all the tags and places the words into an array, the tags are then replaced with <a></a> tags to form links within the text.

What I need it to do is for flash to recognise what word has been clicked inbetween the tags and place this word at the end of the web address. I have completly come to a stump on how flash would be able to recognise a word so I would really appeciate it if anyone could come up with any suggestions.

Thanking in advance,

Student Needs Help
Hi I’m a SCAD (savannah’s college of art and design) student looking for crisp high resolution pictures of a F4U-1A Corsair ( I believe this is the one with the three blades) I’m recreating this war bird in 3D space and I need everyone’s help in order to finish this project. If anyone could take photos or redirect me to sites that have up close shots of the nose of the corsair would be great! I need to see what the mold looks like that holds the blades together. I can’t find any sites that have any up-close detail of beautiful craftsmanship of the engine and blades.

** This is for a demo in flash and theses pictures will show highlighted detail that I need to express to a group of people. So using a combo with flash and theses photos would help

Thank you all in advanced for your help!

- Wintermute

Help A Student
hey people, this is my first post here at flash kit which is really a great site.

i'm working on a web page for myself and was wondering how to make the browser window automaticly shrink to fit my flash page when you go to it.

Student Please Help
Hi, I am a student, at college in sussex. And i am currently on my final project of my course and i wish to involve flash. I want to constantly get information from a text sheet into flash and constanly play the information in a flash movie. To make it "live". For Instance if the text file has the letter "g" in it, then flash play a the colour blue. Everytime the text file changes, like the letter "a" appears ont he text file, flash produce the colour blue.

Can anybody help

Dan

Student In NEED
Hey,

I have a situation that I need you help with. I am exporting this Flash banner to my PHP website. I exported the banner.fla file and the banner.swf. I ftp everything correctly ,but it is displaying a blank object. // It said, “Please press spacebar to activate this control. I did that ,and it still was blank. I also right clicked the banner and it said, “ movie could not be loaded.” I browse through my directory and I did see the files were loaded. I can view the files through iexplore , but when I use the code listed below it won’t work:


<body>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="

STUDENT IN NEED
Hey,

I have a situation that I need you help with. I am exporting this Flash banner to my PHP website. I exported the banner.fla file and the banner.swf. I ftp everything correctly ,but it is displaying a blank object. // It said, “Please press spacebar to activate this control. I did that ,and it still was blank. I also right clicked the banner and it said, “ movie could not be loaded.” I browse through my directory and I did see the files were loaded. I can view the files through iexplore , but when I use the code listed below it won’t work:


<body>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="

I've Been A Bad Student
I can remember some elementary math heh
anyway, could someone help me out with this little problem?




A is a static dot, let's say A(x,y)
C(x,y) is the dot of a possible click (could be anywhere)

now i want to know how to calculate the angle that the line A(x,y)and C(x,y) does with the line made by the horizontal passing by A(x,y)

TiA

Damsel Seeks Hero Actionscript Questions
Hi Guys,

I wrote in yesterday, but the response I got didn't jive with what I've actually done - So, I'm providing more info.

HOPE YOU CAN HELP!

**Here's what I wrote yesterday**:

I'm working on a virtual radio.

I have a POWER button that turns "on" the radio when its pressed. So, like a regular radio, it turns on the music.

The radio has Radio Data System, so it has a text screen that displays information such as song title and artist after the appropriate button has been pressed.

Wanting my radio to be (somewhat) realistic, I want the radio station's name to pop up on the text screen when the power is turned on.

1. What do I do to get text on the screen after initial power-on?

2. Upon power-off, the screen doesn't go blank as a normal radio would. What actionscript techniques can I employ to fix this?

This is what I have for the button's actions:

on (release) {
tellTarget ("/music") {
play ();
}
}

**Here's my new information**

In Music MC (in main layer 1, under Power button):

layer 1, frame 1 = stop ();
layer 1, frame 2 = music clip
layer 1, frame 3 = stop ();
layer 2, frame 1-3 = empty frames
layer 2, frame 4 =
tone = new Sound("/music");
tone.stop();
layer 2, frame 5 = stop ();

In another layer, I have MC's (Dataholder)which are dynamic text fields that hold that external .txt files that contain the data.There is a clear 1st frame, movie clip from frame 2-9,10-19 etc.

Associated with those movie clips are actions on another layer.
frame 1 = stop ();
frame 2-9 =
loadVariables ("http://www.websitename1.asp", "mcdata");
stop();
frame 10-19 =
loadVariables ("http://websitename2.asp", "mcdata");
stop();

etc.

In the buttons layer, the actions for each one is like such:
on(release) {
gotoAndStop(".txtfilename");
}

They begin on frame 1. Should I bump that to frame 2 and and put a stop action on frame 1?

Thanks guys!

Student Version Vs. Pro
Hi,

can someone tell me the difference between the Flash MX student version and the pro version? I am a student, but if there's a significant difference, I would like to kow.

cheers,
jen

Student In Need Rollovers
Hi,
I've made a website in MX for my final university project, but I've got a problem. I have buttons moving all over one half of the stage, and I need to be able to rollover them and have an image appear on the other half of the stage, but I need it to stay in the same place, even though its button is moving around.
Please can someone help!
Cheers, Aussie01

A New Student On Flash Mx Who Needs Your Help
Hi everyone;
As ý said at subject really i need your help.if you tell me how i can improve my experience on flash mx 2004,i will be so happy.if you know web site which can help me about tutorials of flash or give ebook(however if it is freee..)or tell me page book's name..
...i am from turkey..
thanks laddies and gentelmens.....

University Student In Need With Help With As3
Hi
i'm a brighton university student and currently building a flash mulitmedia application.
i have designed a bedroom and have made all the functions in the room, however i have lamp shade and can not work out how to allow the mouse to move the lamp shade around the room by pulling it with the mouse and then having the lamp shade retract back to the original position.
any ideas would be appreciated
thanks

New Flash Student
I am moving along in Flash. I'm studying and working with it every day. I am an experienced, out of work graphic design print artist looking to reinvent myself for designing web pages and consistently see jobs advertised for people who know Flash. I am determined to learn it. My question is this: Do I need to immediately learn Dreamweaver or anything else, or will I be able to post pages to the web just utilizing Flash?

Guitar Hero Type Note Effect In Flash
For a current project I am working on in a 3ds Max animation class I decided to do a little Guitar Hero video. I'm pretty ahead of my class and wanted to take this a step further and simulate the rest of the guitar hero interface since i have the time.

I've modeled My guitarists and his guitar and I'm ready to animate him but I wanted to write the chart first in flash and then I'll just match up keyframes to synch it

I already wrote out my chart sheet for the song I chose and know the general layout as far as beats per minute for the song.

At the moment I used probably the most primitive form to get the falling effect the way I wanted by cutting my scene into even portions and then placing all of my notes and just adjusting them every few frames for basically a stop motion effect

I originally wanted to go inside my notes and put a motion tween so I could just place the notes at the top of the screen and let them fall but with tempos ranging from 190-100 and quite a few freetimed parts in the song I was having a lot of issues with notes falling at the wrong time and it seemed like a pretty uphill battle. That's when I started with the stop motion idea

At the moment I'm using a 1min 10 sec mp3 and moving at 30fps

I've already converted the beats per minute to frames per second and most of the music is in synch.

What I really need help in are the parts of the song where The guitarists holds on for fermatas or retards a section.


This is not going to be an interactive interface

In the end this will just be a short movie showing off my 3d animation and how I integrated flash into my project.

The main idea is to figure out the keyframes so I can correctly match up my character animations to the chart and I'm currently running out of ideas. Unfortunately the flash instructors at my campus aren't sure how I should approach it and I'm only really finding examples of lip synching from my searches.

I thought of bringing it into 3dsmax but I've been warned a few times that I might have some issues bring sounds into max and getting the results I want.

If you can help at all or have any suggestions I'd be glad to hear them.

I will check back on this post the next few days or if you'd like I can be emailed at DScarlatella@yahoo.com

Thanks for your help

First Person Who Gives Me An Easing Scroller That Loads Dynamic Txt Is My Hero
all I want is a simple text box component, with easing on the scrolling, and the text can be dynamically loaded from an external html file, like sample.html or something. Simplest things are the bloody hardest to find!!!

Stuggling Student Needs Urgent Help
can anyone recommend to me the best way to create a shopping cart facility within my Flash website?

my lecturer (at uni) recommended using PHP but hes bein all too vague about it, ive never used PHP before

can anyone help, make any suggestions or point me in the direction of a tutorial?

any feedback would be greatly appreciated

Student Has Lighting Question
What's a good way to create coool lighting in flash?

Student Uni Project: Assistance
Hi All,

I am currently creating an interactive cd rom for my final year uni project and am experiencing problems with the actionscripting for sounds. I'm not very expreienced with actionscript so need your expert advice if anyone can help..

I am trying to load a sound on release of a button. There are two buttons with instance names of "hearing" and "deaf" also.. i have added an ID identifier to the sound clip which i want to play "sound1" Theres only one sound clip at the moment as still working on it.

Problem tends to be that when I apply the actionscript to the actions layer, the interaction movie seems to jump scenes or play a scene that is not in the set order if that makes sense..

heres the actionscript that i have applied into actions layer of the "home" scene where the buttons are located.

_parent.hearing = new Sound();
_parent.hearing.attachSound("sound1");
play();

_parent.deaf = new Sound();
_parent.deaf.attachSound("sound2");
play();

Many Thanks

David

Help Student With Question About Feasability.
I am a senior graphic design student who has been assigned to create an interactive installation piece. I have gone through the concept development and have hit a wall. I have limited knowledge Java/ActionScript.

A projection shows a constantly flowing progression of news tickers from around the world. These tickers are culled from the internet and RSS feeds so as to be current. When a person moves through a field observed by an iSight camera, an application discerns their profile and then translates it into an outline that is then projected into the news tickers. This outline displaces the text, allowing it to wrap around the outline as the person moves through the sensor field.

I need to know if i could feasibly create in flash translates a signal recieved from an iSight camera of a person into an outline that would be able to displace text in an animated live environment. Any advice (or code!) you could give me would be greatly appreciated.

Thanks in advance!

Help 1st Time Student User On Mac
I use oval tool and select color but it does not fill with selected color.. Even background color will not work. Any suggestions?

Help 1st Time Student User On Mac
I use oval tool and select color but it does not fill with selected color.. Even background color will not work. Any suggestions?

Help 1st Time Student User On Mac
I use oval tool and select color but it does not fill with selected color.. Even background color will not work. Any suggestions?

Macromedia Student Discounts?
Does anyone know if Macromedia offer student discounts to people in the UK.

I can find the student pricing easily on the US site, but the UK site doesn't seem to have any.

Cheers
- Odie

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