Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > ActionScript Forums Group > Simple Stuff (Newbies)

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-11-2002, 03:14 PM   #1
quinu
Senior Member
 
Join Date: Dec 2001
Location: Stockton, UT, USA
Posts: 256
Default simple alpha tween question

I am trying to create a simple little alpha tween with a bitmap, but the effect box is not selectable. I only have the one bitmap in the frame and it is converted to a graphic. Can anyone tell me what to do to make the effect box selectable?

Or can anyone tell me how to begin scripting alpha tweens?
quinu is offline   Reply With Quote
Old 10-11-2002, 03:55 PM   #2
pom
Allez les Bleus!!!
 
pom's Avatar
 
Join Date: Oct 2002
Location: Paname
Posts: 2,493
Default

That's odd. Try and redo it. Drag your image on the screen, press F8, choose graphic, and then reselect if need be, and you should be able to use the effect box.

pom
pom is offline   Reply With Quote
Old 10-12-2002, 01:33 PM   #3
ScratUAD
Registered User
 
Join Date: Jun 2002
Location: Canada
Posts: 99
Default

(try setting it as a movie clip instead of a graphic) that might work...
ok.... one way to do an alpha diffusion... is a tween:
start at one frame with alpha as either 0 or 100 and F6 to another frame (to copy it) and set alpha = 100 or 0 respectively.

the other way is action script.
only two frames needed, and a loop.
"UH Oh! A LOOP!" don't sweat it... it's easy.

frame 1 of 2 contains just the object, no code.
frame 2 of 2 contains object, and:
ActionScript Code:
Object._alpha++;   //++ to fade in or -- to fade out if (Object._alpha = 100) {    //100 if fading in, 0 if fading out     gotoAndPlay(insert place to go here); //can be scene, frame...etc. } else {     gotoAndPlay(frame1of2);   //the first of the two frames can be label... or number }

any questions?
ScratUAD 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 12:01 AM.

///
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.