12-04-2004, 02:53 PM
|
#1
|
|
Registered User
Join Date: Dec 2004
Posts: 12
|
typewriter style text
Hi,
Hoping someone here can help me, I'm sure I'm being really stupid or missing something, but im having difficulties creating a very simple button. I have a button that when rolled over makes the curser change...no problem (uses this script:
on (RollOver) {
_root.Cursor.gotoAndPlay(2)
}
)
What I want is to have an mc play at the same time. This mc writes text out, it is very simple, I have the text broken apart, then for each frame a new letter is added until the whole word is there. I have a stop() message at the 1st and last frame. I added the same script as above to the button to make the mc gotoAndPlay frame 2 as well as the cursor. Like this:
on (RollOver) {
_root.Cursor.gotoAndPlay(2);
_root.Text.gotoAndPlay(2);
}
The idea is that when you roll over the button, text comes up at the bottom of the screen.
However, it doesn't work. Ive tried everything I can think of and no matter what, nothing comes up when i roll over.
Im sure ive just missed something real simple.
Thanks a lot for your time and help
Cheers
|
|
|
12-04-2004, 03:29 PM
|
#2
|
|
resU deretsigeR
Join Date: Apr 2002
Location: India
Posts: 21
|
...
Quote:
|
Originally Posted by splendid
Hi,
Hoping someone here can help me, I'm sure I'm being really stupid or missing something, but im having difficulties creating a very simple button. I have a button that when rolled over makes the curser change...no problem (uses this script:
on (RollOver) {
_root.Cursor.gotoAndPlay(2)
}
)
What I want is to have an mc play at the same time. This mc writes text out, it is very simple, I have the text broken apart, then for each frame a new letter is added until the whole word is there. I have a stop() message at the 1st and last frame. I added the same script as above to the button to make the mc gotoAndPlay frame 2 as well as the cursor. Like this:
on (RollOver) {
_root.Cursor.gotoAndPlay(2);
_root.Text.gotoAndPlay(2);
}
The idea is that when you roll over the button, text comes up at the bottom of the screen.
However, it doesn't work. Ive tried everything I can think of and no matter what, nothing comes up when i roll over.
Im sure ive just missed something real simple.
Thanks a lot for your time and help
Cheers
|
Can u send the fla?
|
|
|
12-05-2004, 12:24 PM
|
#3
|
|
Registered User
Join Date: Dec 2004
Posts: 12
|
ok, im not sure how to but i will find out then post it up, 
cheers
|
|
|
12-07-2004, 04:28 PM
|
#4
|
|
Registered User
Join Date: Dec 2004
Posts: 12
|
I fixed it...was to do with instance names (I didn't have any)...now i feel stupid
thanks anyway
|
|
|
12-08-2004, 01:41 PM
|
#5
|
|
Addicted To FLASH
Join Date: Dec 2001
Location: Egyptian in UAE
Posts: 12,436
|
hey splendid
welcome to the forums
why don't u make it dynamically?? see the typeWriter's text effect tut in the tutorials section
__________________
â€* GOD Is Near â€*
Questions Don't PM for Questions . Thanks
An eye for an eye, make the whole world blind
_____________________________________________GHANDI
|
|
|
12-09-2004, 12:56 AM
|
#6
|
|
Registered User
Join Date: Dec 2004
Posts: 12
|
hey, thanks a lot, wish id seen that before...its taking me a while but im gradually getting the hang of it.
One other question. I have created a scree which has a lot of hidden buttons that pop up when you roll over them. There are 3 symbols but a lot of instances, prob over 100, and it runs quite slowly. I created it using a short fade animation mc as a button up and over state. Is there anyway to make this run a bit quicker, the only way i have found so far is to make the fade animation shorter, which isn't very good for me. Also, is it possible to make more than one button pop up in the vacinity of the mouse, say 3/4, or does this get rather complicated?
Thanks a lot for your help and advice, i appreciate it
|
|
|
12-09-2004, 07:33 AM
|
#7
|
|
Addicted To FLASH
Join Date: Dec 2001
Location: Egyptian in UAE
Posts: 12,436
|
I don't get what u want but I think u can do it dynamically
__________________
â€* GOD Is Near â€*
Questions Don't PM for Questions . Thanks
An eye for an eye, make the whole world blind
_____________________________________________GHANDI
|
|
|
| Thread Tools |
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT. The time now is 01:56 PM.
///
|
|