Saturday, March 27, 2010

Opening text onto the same page (please...

Hello can anyone help im trying to acomplish a really simple
task but im having a mental block and cant remember how its done.
All im trying to achieve is: i have got some text on a page that
needs replacing for the rest of the paragraph, but what i dont want
is the script to take me to a different page all i need is that
when the user clicks a down arrow the text on the same page
replaces with more text that completes the existing paragragh. I
hope someone can help me i know its imple but im having trouble.



(Ps all i need is code that can be placed onto a simple
button that will change text on a single page without the script
taking me to either a new marker or page it just loads it onto the
same page and replaces the existing text.)Opening text onto the same page (please...
Assuming your text sprite is sprite 1 (change it if needed):



on mouseUp me

sprite(1).member.text=''This is the second part of the text''

end



Alternately, if you have 2 text members, one for each section
of the

text, you can make a text sprite alternate between them



on mouseUp me

sprite(1).member.text=member(''part2'').text

end

No comments:

Post a Comment