Archive

Archive for the ‘FLASH Tips’ Category

Flash – Getting image from folder

August 15, 2008 Adeel Ansari 1 comment

Flash – Getting image from folder

right_picture2._with = 250;

right_picture2._height = 80;

_root.importImage = “picture.jpg”;

this.loadMovie(“images/”+_root.importImage);

Flash – Fullscreen/Close

August 15, 2008 Adeel Ansari Leave a comment

Flash – Fullscreen/Close

fullscreen

fscommand(“fullscreen”, “true”);
quit
on(release) {
fscommand(“quit”);
}

Flash : Getting data from text file/html file

August 15, 2008 Adeel Ansari Leave a comment

Flash : Getting data from text file/html file

Flash

var textFileData:LoadVars = new LoadVars();
textFileData.onLoad = function(){
name_txt.htmlText = textFileData.name;
}
textFileData.load(“text.html”);

text.html
&name=<a href=’http://www.google.com’ target=’_blank’><font color=’#ff0000′><b>google.com</b></a></font><br>

Flash Fullscreen, Without changing image size

August 15, 2008 Adeel Ansari Leave a comment

Flash Fullscreen, Without changing image size
stop();
getURL(FSCommand:allowscale, false);
getURL(FSCommand:fullscreen, true);