Flash Help!!

This is a discussion on "Flash Help!!" within the Flash & Multimedia Forum section. This forum, and the thread "Flash Help!! are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Sep 2nd, 2006, 04:40
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Question Flash Help!!

OK here is a really hard question for you guys. I really don't think you guys will be able to answer this but here it goes anyway.

I am making a new website!! But I am having difficulties with one part of the website. I searched google for 3 days now, but can't find what I am looking for. I have a website which has a top part and a bottom part and some buttons. All of these are movie clips, which have nice gradients on them. OK click on the movie clip, and under the color settings you can choose advanced and tent the red, blue, green, and even the alpha. I won't to have 3 buttons at the top that the user can click, and then the color of my website will change. But when I search google I find something close to what I am talking about, but I loose my gradient when I click on it because it does not tent my website, it changes the color to a solid color. So I am looking for some action script code that will change the tent color of my website. Please help me and let me know wither this is possible.

Here is the code I am working with currently, that messes everything up.

Code: Select all
on (release) {
    var colorful = new Color("_root.Test_button");
    colorful.setRGB(0x003366);
}
Here is the code I was think about using, but have not been able to get it working.

Code: Select all
myColorTransform   = new Object(); 
 myColorTransform  .ra =   50  ; 
 myColorTransform  .rb =   244  ; 
 myColorTransform  .ga =   40  ; 
 myColorTransform  .gb =   112  ; 
 myColorTransform  .ba =   12  ; 
 myColorTransform  .bb =   90  ; 
 myColorTransform  .aa =   40  ; 
 myColorTransform  .ab =   70  ;
I have no ideal what is wrong. Please SOMEONE, ANYONE, help me fix this thing before I start to go CRAZY!!
Reply With Quote

  #2 (permalink)  
Old Sep 2nd, 2006, 12:11
Reputable Member
Join Date: Jul 2006
Location: exeter
Age: 20
Posts: 103
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Flash Help!!

You have got me thinking i have an idea and will get back to you asap after ihave had a think about it in the mean time hiope you get it fixed!
rusty
p.s ask justin
Reply With Quote
  #3 (permalink)  
Old Sep 2nd, 2006, 12:33
Highly Reputable Member
Join Date: Aug 2005
Location: 3rd Branch Up, Old Oak.
Age: 48
Posts: 658
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Flash Help!!

I've seen this done before, but not with Flash.
Every time I've seen it, it was done using a style sheet (external, so it's applied to the whole site).
Reply With Quote
  #4 (permalink)  
Old Sep 2nd, 2006, 22:14
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Flash Help!!

Yeah I would use a style sheet, but the new site is going to be in flash. You know. I also would just have 3 different websites, one for each color. But who wants to do that. 3 Times more updating. I need to know how to change the tint color of a movie clip in flash. The code above is supposed to do just that I just can't get it working.
Reply With Quote
  #5 (permalink)  
Old Sep 3rd, 2006, 05:11
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Cool Re: Flash Help!!

Rusty you thought of anything yet?
Reply With Quote
  #6 (permalink)  
Old Sep 3rd, 2006, 17:02
Reputable Member
Join Date: Jul 2006
Location: exeter
Age: 20
Posts: 103
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Flash Help!!

I have just been looking though a couuple of books that i have i have found nothing in their, i was just trying to put the same thing together myself quickly i will get back to you if i have any more thoughts hope you sort it out first though!

on (release) {
var colorful = new Color("_root.Test_button");
colorful.setRGB(0x003366);
}
that bit of code their shouldent the _root. be outside of the (); statement not sure their
Reply With Quote
  #7 (permalink)  
Old Sep 3rd, 2006, 17:46
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Cool Re: Flash Help!!

No that code is right. It is just that code will change the color of my movie clip to a solid color, which means my nice gradient is gone So I need to figure out how to work the second code their which will tint the movie clip to another color, keeping the gradient!!
Reply With Quote
  #8 (permalink)  
Old Sep 3rd, 2006, 18:05
Reputable Member
Join Date: Jul 2006
Location: exeter
Age: 20
Posts: 103
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Flash Help!!

Ok no worrys i will cary on having a think!
Reply With Quote
  #9 (permalink)  
Old Sep 6th, 2006, 02:13
JacobHaug's Avatar
SuperMember

SuperMember
Join Date: Dec 2005
Location: On Internet
Posts: 4,859
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Flash Help!!

Thanks
Reply With Quote
Reply

Tags
flash, help

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sr. Flash Developer > SynCruiser Flash Widget ipanema Job Opportunities 0 Apr 10th, 2008 23:20
Flash Designer (Central London, Flash, Flash Games, Flash banners, 22K-28K) CapitalStrategy Job Opportunities 0 Aug 13th, 2007 09:39
Flash Designer (Central London, Flash, Flash Games, Flash banners, 22K-28K) CapitalStrategy Job Opportunities 0 Aug 13th, 2007 09:04
playing flash within flash with slow internet connection bejamshi Flash & Multimedia Forum 4 Jan 19th, 2007 02:07


All times are GMT. The time now is 03:28.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43