U Flashu mogu da se ucitavaju html stranice formatirane sa CSS ( oba actionscripta-2 i 3).
Sto se tice prezentacije na CD najbolje je koristiti neki projector za dalje uredjivanje-preporucujem Zinc
Npr. ucitavanje html-a u AS2:
Code:
//kreiraj instancu skrollbar komponente
this.createClassObject(mx.controls.UIScrollBar , "my_sb", 20);
// precizirajmo na koji text fild se odnosi scroll bar
my_sb.setScrollTarget(my_txt);
// velicina skrolla
my_sb.setSize(16, my_txt._height);
// scroll
my_sb.move(my_txt._x+my_txt._width, my_txt._y);
//definisemo osobine ucitanih stranica
var myStyle:TextField.StyleSheet = new TextField.StyleSheet();
myStyle.load("lektire/stil.css");//path do style sheeta
my_txt.styleSheet = myStyle;
my_txt.multiline = true;
my_txt.wordWrap = true;
my_txt.html = true;
var story:XML = new XML();
story.ignoreWhite = true;
story.load("lektire/andric/1.html");//path do html stranice
story.onLoad = function() {
my_txt.htmlText = story;
}
Citat:
Onda kreiraj
autorun.inf fajl i u njemu upisi:
Code:
open=prezentacija.exe
icon=prezentacija.exe
Pod stavkom icon mozes da upises putanju do tvoje ikonice...
Code:
open=prezentacija.exe
icon=prezentacija.ico
Ne treba editor, nakon autoruna prikazuje zeljenu ikonu definisanu u icon.ico.