Facebook Teens
You'll need to login or register in order to fully use all the features and view all the sections of this site.
Thank you.


Join the forum, it's quick and easy

Facebook Teens
You'll need to login or register in order to fully use all the features and view all the sections of this site.
Thank you.
Facebook Teens
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Facebook Teens
Similar topics

You are not connected. Please login or register

  

View previous topic View next topic Go down  Message [Page 1 of 1]

danilodeleon

danilodeleon
Administrative Team
Administrative Team
https://www.youtube.com/watch?v=T1_PCD7swtA&feature=player_embedded

video tutorial



Links are useful to lead the user to a destination. On this Flash Actionscript 3.0 High Definition (HD) tutorial we show how to embed links and HTML from a text file and make them clickable on a dynamic text box using the htmltext property in Actionscript.

HERE IS THE SOURCE CODE
Code:
//Embedding Links and HTML on Flash
//by AVRAHAM SALTOUN
// solutions at say-web dot com
// FREE TO USE AND DISTRIBUTE

/* To load text we will need to create
two variables:
1) URL Request – with text location
2) URL Loader, that will contain the text, after loading */

var req:URLRequest = new URLRequest(”Secret.txt”) ;
var loader:URLLoader = new URLLoader();

// We are supposing the TEXT file is in the same folder
//as the FLA File….

// The Loader Event Listener:

loader.addEventListener(Event.COMPLETE, fileLoaded);
/* This will fire after loading is complete, the
fileLoaded function, that we will ActionScript 3.0 Lesson 25: Embedding Links and HTML on Flash 992424 create. */

loader.load(req);
//This will place the text into the loader.

function fileLoaded(event:Event):void {

// Let’s Append some text using the append text method
external_txt.htmlText= loader.data;
external_txt.appendText(” Here is my appended text !!”);



Last edited by danz on Mon Oct 05, 2009 9:31 am; edited 2 times in total

http://profiles.friendster.com/danilodeleon

hatelov315

hatelov315
Guest
Guest
tanks
sir
foe
this
tutorials
hihihihi






http://profiles.friendster.com/michaii21

urios10

urios10
LEVEL 2
LEVEL 2
flash.. omg.. i hate actionscript :-s.. but anyways, thanks for sharing this.. it really helps.. Surprised

http://www.friendster.com

danilodeleon

danilodeleon
Administrative Team
Administrative Team
welcome:)hope it helps a lot for you guys

http://profiles.friendster.com/danilodeleon

XoXo

XoXo
Retired Moderator
Retired Moderator
nice.. i know this but it really helps to newbies / people who dont know this

http://kheem.weebly.com

haunted24

haunted24
Guest
Guest
nice tutor...Keep it Up....

http://dynamicprofilecodes.darkbb.com/forum.htm

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum

 

ChatBox
Free forum | ©phpBB | Free forum support | Report an abuse | Forumotion.com