News:

PlayBASIC2DLL V0.99 Revision I Commercial Edition released! - Convert PlayBASIC programs to super fast Machine Code. 

Main Menu

loadflash not working

Started by darkx, July 08, 2008, 05:46:37 PM

Previous topic - Next topic

darkx

I just finally got PB and tried out the load flash I know that the code below won't play or work even if I got the flash loaded because it'll end right alway but I don't care about that right now. Anyways heres the problem when ever I try to compile this code it says
Quoteexpecting equals
if anyone could help me I'd Appreciated it.



LoadFlash "gg.swf",1,0,0



also I'm currently using version 1.71g

kevin

 Did you include the library ?

However, I doubt it'll work with 1.71

darkx

library? how would you include the library?
QuoteHowever, I doubt it'll work with 1.71
what's that suppost to mean?

kevin


darkx

#4
#include "libraryname" I don't see how this has to do withh flash movies anyways which library do I include and where?
[edit]
never mind I figured it out thanks for the help....BTW PB wasn't as same as DBP as I thought it was

darkx

#5
ok I got load flash working but the screen justs blinks for 1sec when i use play flash and then nothing heres the code I'm using is there something wrong with it?
#Include "PBFlash.pba"
SetFPS 60

Repeat
Print "Please Release the enterkey"
Sync
Cls 0
Until KeyState(28)=0



LoadFlash "i.swf",1,0,0
playFlash 1
While IsFlashPlaying(1)=1
if keystate(28)=1
exit
endif
sync
EndWhile


End



BTW is there a command to load avi movies?

[edit] I also tried the pb example and it doesn't work either. whats wrong?