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
PHPmaster PHPmaster is offline
Ceriwiser
 
Join Date: Nov 2011
Posts: 332
Rep Power: 14
PHPmaster mempunyai hidup yang Normal
Default [help] flash. [mohon, nyembah2 mintak tolong nih]

bingung mau posting di thread mana..soal nya gak ada tempat utk flash.

gini gan..

gw ada 2 file flash as 2.0..... dan 1 buah file flash as 3.0.

file flash as 2.0:

1. gambar

2. guestbook (yang terhubung dengan file PHP)



file flash as 3.0:

1. index=untuk nge-load kedua2 external file flash as 2.0



kedua2 external file flash as 2.0 berhasil di-load pada index as 3.0



permasalah nya: guestbook as 2.0 yang di-load pada index as 3.0, tidak berhasil terhubung dengan database nya.

tapi ketika guestbook nya gw jalanin sendiri (tanpa flash index), guestbook nya berhasil terhubung dengan database nya.

ini kira2 kenapa yah gan?




Spoiler for ini script loader utk load external swf nya gan::






var loader2:Loader = new Loader();



addChild(loader2);



home.addEventListener(MouseEvent.CLICK, load2SWF);

function load2SWF(event:MouseEvent):void {

loader2.load(new URLRequest("gambar.swf"));

pageloader.addChild(loader2);





}



//

contact.addEventListener(MouseEvent.CLICK, load3SWF);

function load3SWF(event:MouseEvent):void {

loader2.load(new URLRequest("guestbook.swf"));

pageloader.addChild(loader2);





}









</div>

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 05:34 PM.


no new posts