I’m completely new to flash stuff… I saw the tutorial which is made by kirupa about creating a hyperlink in flash mx… and I did it… but how can I create a text-based hyperlink… like the normal HTML A.Links? and how can I use the normal font “for example: verdana type”…in flash and make it looks like normal HTML text without smoothing , etc. effects…
Sorry for my newbie questions…but I’m so new to this, and wanna create a flash home page.
*Originally posted by lairusi *
**Make a text using the text tool then, convert that text into a button, add the actionscript. And you’re done **
I tried that… but the hyperlinking won’t cover all text-area… it will only cover the points of each charactor…and not the whole frame of this text…that’s why I asked for support here…
make a textbox with an instance name ‘myFeild’, and have this actionscript on the timeline
[AS]myField.htmlText = “<a href=“www.kirupa.com”>Kirupa</a>”[/AS] or something like that… and remember to have html rendering enabled…
*Originally posted by ahmed *
**make a textbox with an instance name ‘myFeild’, and have this actionscript on the timeline
[AS]myField.htmlText = “<a href="www.kirupa.com">Kirupa</a>”[/AS] or something like that **
HTML rendering, ehm… I was forgetting that!
I appreciate your kind help, it works finally! is this way I can add any html tags to flash?
eek… i used this line, the same one i posted above, and it works fine… are you sure the field is wide enough to hold ‘kirupa’…
[AS]myField.htmlText = “<a href="www.kirupa.com">Kirupa</a>”[/AS]
plus, you cant use all html tag
HTML tags and entities supported by Flash (optional tag attributes in brackets):
<**a href=“url”>