I suck at Flash
- Started
- Last post
- 8 Responses
- lajj
Hi,
I have to modify a flash site, and I really suck at Flash.Say that I have 50+ buttons (at different places, in different stages), each one have his own text to display on the bottom of the page.
There must be a way to load or display text at the same exact coordinates of the stage when you rollover a button (in actionscript)?
I dont mind having to change the buttons to movieclips and whatnot, I just want to finish this today.The way it's made now, the guy had the text at the "rollover" state of each button, wich is a real pain because i have to move every button, meaning that I also have to move the text afetrward. (pretty sure he sucked at flash too)
Take a look at it, in the portfolio section.
http://campagne.agencemediapress…Now, I'm not looking for a magic trick, i'm just looking for a tutorial, or a couple of keywords to google, because I dont even know what terms to look for...
Thanks !
- PonyBoy0
on your button rollover script... add the following:
my_text.x = whatever;
my_text.y = whatever;
- ckentish0
oh dear - that was a strange way of doing it... just have a dynamic text field at the bottom with a variable and change the variable on rollover. should be quite easy.
- WrappedInBooks0
^that's the best way to go about via Flash...but it seems like it'd be cut and dry to do it with css/html/jquery
- funkage0
Like what ckentish said.
You could have an array containing the descriptions (that's what they seem to be) of each thumbnail. Assign ids (numbers, eg, 0, 1, 2, etc) to each thumb and point to the respective text in the array upon rollover. So, thumb1 would maybe point to array[1].
Or you could assign the text as a variable to the thumb itself (thumb.desc = "My text") and then insert the text into a dynamic textfield upon roll overs.
- PIZZA0
Seriously why is this even in Flash.
I'd just nuke it from orbit and remake it in HTML, probably take less time
- lajj0
Thanks all, I will look into this dynamic textfield option !
And I would have love to start the job in html, but the DA here thought flash was the only option... I find is lack of knowledge disturbing...
thanks again !
- vaxorcist0
Hmmm...... "modifying" or "updating" a flash project made by somebody else is often a trip inside their mind.... there are many different ways to do things in various different versions of flash, so this job may be more about figuring out how somebody else thinks rather than figuring out flash..... and/or a total redo is sometimes easier than a minor "update" because "this one little thing" means you have to rethink alot more things than you intend to.....
- vaxorcist0
checked the site.... doing this in HTML/CSS/ javascript is EASY.... you don't even need jQuery, but you could use it.....
NOTE also that this much info, if stuck inside hand-made buttons on a pure-flash site would be a REAL PAIN to update in the future.... as you may be finding out now....