lukeBrisbane
03-12-2009, 04:47 PM
Hi,
I'm trying to set the parameters of a custom component using AS3. Firstly, i'm very new to AS3 and am finding this very difficult. All i want to do is set a dynamic image path using a variable but this cannot be done in the parameters panel. I guess this needs to be done through AS. Any help in regards to getting this happening will be appreciated. I'm struggling to even set the variable and talk to the component so your help will be very appreciated.
Thanks,
luke.
Parameter name - imagePath
Component Name - photoHolder
what i've tried:
var pathVar
pathVar="images/folder1"
imagePath=pathVar
I'm trying to set the parameters of a custom component using AS3. Firstly, i'm very new to AS3 and am finding this very difficult. All i want to do is set a dynamic image path using a variable but this cannot be done in the parameters panel. I guess this needs to be done through AS. Any help in regards to getting this happening will be appreciated. I'm struggling to even set the variable and talk to the component so your help will be very appreciated.
Thanks,
luke.
Parameter name - imagePath
Component Name - photoHolder
what i've tried:
var pathVar
pathVar="images/folder1"
imagePath=pathVar