To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > Flash Help > Flash ActionScript

Reply
 
Thread Tools Search this Thread Display Modes
Old 10-12-2004, 09:52 PM   #1
N_R_D
The G5 SP
 
N_R_D's Avatar
 
Join Date: Apr 2004
Posts: 1,118
this is probably really easy

All I want is for when any key is hit on the keyboard, root plays the next frame.

there has to be a way.
N_R_D is offline   Reply With Quote
Old 10-12-2004, 09:56 PM   #2
jbum
Senior Member
 
jbum's Avatar
 
Join Date: Feb 2004
Location: Los Angeles
Posts: 2,920
code:


stop();

_root.onKeyDown = function()
{
this.nextFrame();
}

Key.addListener(_root);

__________________
jbum is offline   Reply With Quote
Old 10-12-2004, 09:58 PM   #3
N_R_D
The G5 SP
 
N_R_D's Avatar
 
Join Date: Apr 2004
Posts: 1,118
WOW that was quick !

Thanks Jim


Man...I did everything you said to on the menu thing and it still choppy....

do PNGs slow things down like gradients?

I cant for the life of me figger it out
N_R_D is offline   Reply With Quote
Old 10-12-2004, 10:00 PM   #4
jbum
Senior Member
 
jbum's Avatar
 
Join Date: Feb 2004
Location: Los Angeles
Posts: 2,920
PNGs slow things down, yes. Specially if they contain an alpha channel. If doesn't contain alpha, you might want to flatten it or try converting it to JPEG.
__________________
jbum is offline   Reply With Quote
Old 10-13-2004, 04:49 PM   #5
N_R_D
The G5 SP
 
N_R_D's Avatar
 
Join Date: Apr 2004
Posts: 1,118
cause there is no vector.......I made everything in PS and it has alpha......thats gotta be the reason.

Thanks Jim
N_R_D is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > Flash Help > Flash ActionScript

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:17 PM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.