Neler yeni

Yeni mesajlar Yeni konular En çok mesaj En çok tepki En çok görüntülenen

Flash siteye dışardan farklı bir flash çağrma?

53gokhan

🌱Yeni Üye🌱
Katılım
8 Ocak 2010
Mesajlar
20
Tepkime puanı
0
Arkadaşlar sitenin erken açılması için sitenin bazı bölümlerini dışarıdan çağrmak istiyorum çağrmak istedğim flashlarıda aynı diznine koycam bunu nasıl yapabilirm ?
 

Benzer konular

siir-delisi

🏅Acemi Tasarımcı🏅
Katılım
28 Şub 2011
Mesajlar
80
Tepkime puanı
0
Code Snippets üzeri göstermek istiyordum ama CS3 da yok.

Simdi sahnene bir kare ciz ve sag tikla convert to symbol ve movieclip cevir, bu sizin sitenizi simule ediyor.
-Simdi sol bölümde propertiesde instance adi
movieClip_1 ver.
-Timelinede yeni layer olustur, actionscript icin ve birinci layer bas F9 tikla
-assagidaki code ekle

/* Click to Load/Unload SWF or Image from a URL.
Clicking on the symbol instance loads and displays the specified SWF or image URL. Clicking on the symbol instance a second time unloads the SWF or image.

Instructions:
1. Replace "https://www.helpexamples.com/flash/images/image1.jpg" below with the desired URL address of the SWF or image. Keep the quotation marks ("").
2. Files from internet domains separate from the domain where the calling SWF resides cannot be loaded without special configuration.
*/

movieClip_1.addEventListener(MouseEvent.CLICK, fl_ClickToLoadUnloadSWF_2);

var fl_Loader_2:Loader;

//This variable keeps track of whether you want to load or unload the SWF
var fl_ToLoad_2:Boolean = true;

function fl_ClickToLoadUnloadSWF_2(event:MouseEvent):void
{
if(fl_ToLoad_2)
{
fl_Loader_2 = new Loader();
fl_Loader_2.load(new URLRequest("https://www.helpexamples.com/flash/images/image1.jpg"));
addChild(fl_Loader_2);
}
else
{
fl_Loader_2.unload();
removeChild(fl_Loader_2);
fl_Loader_2 = null;
}
// Toggle whether you want to load or unload the SWF
fl_ToLoad_2 = !fl_ToLoad_2;
}

code Snippetsten aldim, cs5 te hazir bulunuyor, codun icinde ingilizce aciklamalarida mevcut.

ortalarda image1.jpg adresi mevcut oraya istedigin swf yada jpg dosyasinin komple adresini ekle ve online dene.


Misal buna benziyor, yukaridaki linkte jpg aliyor, siz swf linki yazarsaniz, online olan, onu alacaktir. Bu codelar ama swf tiklamayla calisiyor, bir sefer swf tikla.

https://s1.directupload.net/images/110404/jt2jj3v9.swf
Basarilar
 
Üst