Welcome to GraphicForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

A novice user who needs some help with Flash.

 
   Graphic Forums (Home) -> Newbie Corner RSS
Next:  Where find examples/tutorials about JSFL?  
Author Message
iDStylez~"{*3lG!N*}"~

External


Since: Mar 04, 2008
Posts: 1



(Msg. 1) Posted: Tue Mar 04, 2008 7:17 am
Post subject: A novice user who needs some help with Flash.
Archived from groups: macromedia>flash (more info?)

Greetings ^_^
As you can see, i'm new to Adobe support forum. i just got started with the
Macromedia Educational Version "Studio MX" for my grd. 12 co-op placement, at a
software service company. My specific placement is revolved around web
designing and graphic arts, my future career goal is focused on only those that
i have described.

Problem #1: I'm working with Flash MX ver.6, however i'm having problems
figuring out with which ActionScript Version it uses.

Problem #2: My first task/ project at my co-op placement was to design an
introductory webpage for a livestock insurance company using flash/
dreamweaver. I have already finished my visual layouts plus my action "opening
barn doors with motion tween applied", however i'm struggling with the
actionscripting part:sad;. [u]I'm trying to creat 2 buttons and 1 timer [/u] ;
1st button (when released by user and a real mind bogger:confused;) that
activates the action scene and fades to the actual client's webpage. 2nd button
is a skip intro button and a "timer" if the user is stalled on the page or
occupied with something else (e.g. like the phone or door and etc.)

If anyone could help me out with these issues, please ^^, it'll be awesomely
great.

Thanx,

Elgin

 >> Stay informed about: A novice user who needs some help with Flash. 
Back to top
Login to vote
mhunter

External


Since: Jun 23, 2004
Posts: 6



(Msg. 2) Posted: Wed Mar 05, 2008 9:49 pm
Post subject: Re: A novice user who needs some help with Flash. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Aree you looking for button code?

 >> Stay informed about: A novice user who needs some help with Flash. 
Back to top
Login to vote
clbeech

External


Since: Dec 07, 2006
Posts: 20



(Msg. 3) Posted: Wed Mar 05, 2008 10:50 pm
Post subject: Re: A novice user who needs some help with Flash. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

hey elgin -

1) flash6 will be using AS1, AS2 wasn't introduced until flash7.

2a) to assign a 'handler' to a button, on the main timeline, create an new
layer, call it 'actions'. then place the codes you need for each button on
that layer. it will look something like this:

my_btn1.onPress = function() {
//do whatever here
}

2b) however you need additional functionality for the second button, because
you want two things to happen, a) initiate the transition is the 'skip' button
hasn't been pressed, and b) cancel the 'timers' action if the button does get
pressed. but even if the first button is pressed we should still assume that
the interval should be terminated, so we would wnat to make sure that that
happens as well.

for this you would use a 'setInterval' method (which will act like a timer)
but we also need to 'stop' the interval once it fires or if the button is
pressed, so we would do so by calling: clearInterval(var); the 'var' is the ID
of the interval that were starting up.

So now we need to apply these things all together, so in the first frame of
your new 'actions' layer, the code would be all as follows:



stop();

var timer:Number;

clearInterval(timer);
timer = setInterval(gotoPage, 10000); //10sec

function gotoPage() {
clearInterval(timer);
gotoAndPlay(frame#here);
}

my_btn1.onPress = function() {
clearInterval(timer);
gotoAndPlay(frame#here);
}

my_btn2.onPress = function() {
clearInterval(timer);
gotoAndPlay(frame#here);
}
 >> Stay informed about: A novice user who needs some help with Flash. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Flash novice - I made a video that is saved as a wmv. I import it to a new flash document. I create another layer to add text at certain frames in the video, but when I play it, all I get is a white background with the text popping up at the right times, it's like...

flash novice here! looking to find out why my button - and when i publish it, the button functions with the up, over, and down behaviors, but won't go to the url when i click on it... any suggestions? thanks! jane

novice/beginner flash tutorials - Are there recommended novice/beginner flash tutorials? I am somewhat experienced with Dreamweaver. Thanks

Novice help - :embarrassment; Just installed this software and not trained yet. However I need to, yesterday, create a quicktime file or windows media file that simply has a picture show with music in the background - one that I can email and have others play it....

Please Help a Novice - I have a Flash item that I cannot figure out: I have 2 boxes (1 image and 1 text/background, side-by-side) that I have converted into a single Movie Clip. I want the text/background to be hidden until the user rolls over the image portion, at which poin...
   Graphic Forums (Home) -> Newbie Corner All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]