Jump to content

Menülere Flash Video Atama


dersimli887
 Share

Recommended Posts

AutoPlay Media Studio ile bir çalışma yapmak istiyorum. Şöyle ki , Tree sekmesinden bir ağaç menüsü oluşturuyorum burda isimlendirdiğim maddeleri tıkladığımda video açılmasını istiyorum. videoları menüdeki isimlendirdiğim bölümlere nasıl atarım ? bi sorum daha var diyelim ki bu ağaç sekmesini tablonun soluna koydum... sağ taraftada swf uzantılı videoların açılmasını istiyorum bu paneli nasıl eklerim ? Acemiyim yardımcı olursanız sevinirim. Teşekürler.
Link to comment
Share on other sites

Bir örnek hazırladım, işiniz kolay olsun diye fonksiyon kullandım. Örneği incelerseniz açıklamada yazdım zaten

şimdi görünüm şu şekilde

Item 1
-- Ders 1
-- Ders 2
-- Ders 3
-- Ders 4

burda;
ders 1 = "1.1"
ders 2 = "1.2"

şeklinde indexleri ifade eder.

if e_NodeIndex == "1.1" yani Ders 1 seçili ise hangi videoyu çalıştıracaksanız

VideoIzle("dosyaadi")

yazmanız gerekli. Dosyalarda Autoplay\Videos klasorunde olsun.

[code]http://www.mediafire.com/?h8faae1gz40gs0a[/code]

Link to comment
Share on other sites

Hocam :
örnek:
-set
--konular
---İçerik
----içerik A
----İçerik B

if e_NodeIndex == "1.1.1.1" then
VideoIzle("içerik A")
if e_NodeIndex == "1.1.1.2" then
VideoIzle("içerik B")

şeklinde yapıyorum olmuyor. nerede yanlışım var acaba doğrusu nedir.
(Videoları Videos klosörüne attım. )

Edited by dersimli887
Link to comment
Share on other sites

yinede olmadı :(

Error: attempt to call global 'VideoIzle'(anil value)

Stack Traceback:

1:[Page1 -> Tree1 -> On Double-Click] Line: 2 in mailn chunk

gibi bi hata veriyor.

Büyük harf etkilemez herhalde ?

Edited by dersimli887
Link to comment
Share on other sites

global functions da su kodlar varmı:

[quote]function VideoIzle(sVideo)
MediaPlayer.Stop("Plugin1")
MediaPlayer.Load("Plugin1", _SourceFolder .. "\\Autoplay\\Videos\\" .. sVideo .. ".swf")
MediaPlayer.Play("Plugin1")
end[/quote]

Link to comment
Share on other sites

[b]Hocam malumaliniz bende de aynı durum var ancak bendeki flashlar kullanılacak. Örneğin, http://hotfile.com/dl/116574979/01a1aac/a1.swf.html tarzı flashlar. Bunları nasıl çalıştırabilirim?
[/b]

Edited by XeLLoS
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...