Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 12-04-2004, 02:53 PM   #1
splendid
Registered User
 
Join Date: Dec 2004
Posts: 12
Default 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
splendid is offline   Reply With Quote
Old 12-04-2004, 03:29 PM   #2
shie123
resU deretsigeR
 
shie123's Avatar
 
Join Date: Apr 2002
Location: India
Posts: 21
Default ...

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?
shie123 is offline   Reply With Quote
Old 12-05-2004, 12:24 PM   #3
splendid
Registered User
 
Join Date: Dec 2004
Posts: 12
Default

ok, im not sure how to but i will find out then post it up,
cheers
splendid is offline   Reply With Quote
Old 12-07-2004, 04:28 PM   #4
splendid
Registered User
 
Join Date: Dec 2004
Posts: 12
Default

I fixed it...was to do with instance names (I didn't have any)...now i feel stupid

thanks anyway
splendid is offline   Reply With Quote
Old 12-08-2004, 01:41 PM   #5
farafiro
Addicted To FLASH
 
farafiro's Avatar
 
Join Date: Dec 2001
Location: Egyptian in UAE
Posts: 12,436
Send a message via MSN to farafiro Send a message via Yahoo to farafiro
Default

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
farafiro is offline   Reply With Quote
Old 12-09-2004, 12:56 AM   #6
splendid
Registered User
 
Join Date: Dec 2004
Posts: 12
Default

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
splendid is offline   Reply With Quote
Old 12-09-2004, 07:33 AM   #7
farafiro
Addicted To FLASH
 
farafiro's Avatar
 
Join Date: Dec 2001
Location: Egyptian in UAE
Posts: 12,436
Send a message via MSN to farafiro Send a message via Yahoo to farafiro
Default

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
farafiro is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:35 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.