Ceriwis  

Go Back   Ceriwis > HOBI > Komputer & Teknologi > Programming

Programming Share, tanya jawab, saling bantu antar programmer dengan berbagai macam bahasa pemrograman.

Reply
 
Thread Tools
  #1  
Old 20th November 2011
JagoVB JagoVB is offline
Ceriwiser
 
Join Date: Nov 2011
Posts: 508
Rep Power: 14
JagoVB mempunyai hidup yang Normal
Default [HELP][Flash AS 3] mengecilkan ukuran flash

gan ,

permasalahannya gne neh ,

ane udah bikin flash template n animasi flash ,

trus ane maw masukin tu animasi flash yang udah dalam bentuk flash template ane ,

cuman karena swf dari animasi flash yang ane buat gede, jadi berantakan di template ane,



gmana yak cara buat ngecilin ukurannya , defaultnya 550x400,

ane maw ganti jd 350x200 gt la ,

ad yang taw ?

(bukan size filenya ya, tp ukuran flashnya)



ne scrip ane buat ngeload animasi flash nya

tp kgedean , gmana yak ?

trus bisa gag ya ad bordernya ? soalnya kalo gag pake border, gambar" yang di luar dari 550x400 tu jg kliatan ,


Code:

var ldr = new Loader();
var url:String = "14final.swf";
var urlReq:URLRequest = new URLRequest(url);
ldr.load(urlReq);
ldr.contentLoaderInfo.addEventListener(Event.COMPL ETE, completeHandler);
addChild(ldr)
ldr.x=-180
ldr.y=-200
function completeHandler(event:Event):void
{
var loadedName:Object=event.currentTarget.content;
loadedName.gotoAndPlay(5);
}

mhon pencerehannya



Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


 


All times are GMT +7. The time now is 06:57 PM.


no new posts