Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > Adobe Web Programming > Flash (all versions)
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Flash (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 21st, 2004, 11:48 AM
Friend of Wrox
 
Join Date: Jul 2003
Location: York, , United Kingdom.
Posts: 142
Thanks: 0
Thanked 2 Times in 2 Posts
Default Movie Clip won't tween after colour changed

I have a movie clip that I set the colour of using actionscript, before it goes through a motion tween. For some reason, after the colour has been set, the motion tween doesn't take place. Anyone know what could be happening?
Reply With Quote
  #2 (permalink)  
Old December 22nd, 2004, 05:59 AM
Authorized User
 
Join Date: Jun 2004
Location: chandigarh, , India.
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to vikas
Default

One question: why dont you move it using _x and _y coords instead of tweening?
Now regarding your problem, could you paster your AS code over?

vikas/alakh
alakhniranjan@rediffmail.com
Reply With Quote
  #3 (permalink)  
Old December 22nd, 2004, 06:56 AM
Friend of Wrox
 
Join Date: Jul 2003
Location: York, , United Kingdom.
Posts: 142
Thanks: 0
Thanked 2 Times in 2 Posts
Default

I have already done the workaround to change the size (sorry, it's a 'size' tween!) by setting a function to fire every 100ms. Just wondering why the 'normal' flash tween stops working when you change the colour of a movieclip.

The actionscript I used to change the colour of the movieclip is as follows:

Code:
    new Color(_root.topbg).setRGB(colourValue);
Thanks

Reply With Quote
Reply


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing Fore colour and back colour darrenb Access VBA 2 May 25th, 2007 07:10 AM
pixel colour shanthi85 Beginning VB 6 0 May 22nd, 2007 11:23 AM
Put a Video Clip on Web phungleon Flash (all versions) 3 September 6th, 2006 05:33 AM
form must be maximaized . dont have clip control haahoou Beginning VB 6 6 January 21st, 2004 05:42 PM
Motion Tween Problems Ben Horne Flash (all versions) 3 November 1st, 2003 10:09 PM



All times are GMT -4. The time now is 11:41 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.