Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Extensions and Plugins > Components

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-25-2006, 09:50 AM   #1
cYb3rc0re
Registered User
 
Join Date: Oct 2003
Location: Bitola
Posts: 4
Question Component parameters dynamicaly changed from begining question

Hi,

I have a question regarding components, changing parameter dynamically (but from the begining). I have one menu component and 3 menus on the stage. The menu component has parameters for the color of the normal text, and the hover (mouse-over) text, so there is no problem defining them from the flash component parameters for every menu.

So I am making it so the client can edit only one html file containing the parameters of the whole design (menu colors, position, images etc.) but I have problem with setting the color of the texts at the begining (when the menus load). I did it with "menuName.onLoad = function()" but it isnt passing the variables "when the menu loads" and if I mouse over and then "it realises that the menu is loaded" and sets the colors. Untill I do that, the colors are as set from the parameters from the flash.

I get no result if I do "this.menuName.noverColor = 0x222222;" on first frame, it is successfull only if i place it in a function (as the onLoad, or custom made just for calling the colors), but the menu keeps the preset colors from flash at the begining.
cYb3rc0re 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Open component so you can add any actions you want through the parameters panel vick_dini Components 1 09-13-2005 08:33 PM
DateChooser Component - Cannot Set Text Parameters BullFrawg Components 6 09-01-2005 03:39 AM
A component I made after a question of [WEBDREAMER] xxlm ActionScript 1.0 (and below) 11 05-12-2003 02:01 AM
Question about adding parameters to getURL action Jack31081 ActionScript 1.0 (and below) 4 12-16-2002 01:45 PM
Ftree Component Question bellertson ActionScript 1.0 (and below) 1 07-22-2002 07:34 PM


All times are GMT. The time now is 01:45 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.