iFlash Embedder - Works?

Miscellaneous Forums/General Discussion/iFlash Embedder - Works?

Seems like the Flash container worked for most people, can you please try the new iFlash.dll, BMAX users use the following source :-
Global iPtr:Int = LoadLibraryA("iFlash.dll")
Global EmbedFlash(movie_url:Byte Ptr,x:Int,y:Int,width:Int,height:Int,parent_hWnd:Long)"win32"=	GetProcAddress(iPtr,"EmbedFlash")
Global KillFlash()"win32" = GetProcAddress(iPtr,"KillFlash")

Graphics 640,480,0

url:String = "http://igloader.com" ' Yes you can embed webpages!
url:String = "file://c:/WINDOWS/Help/Tours/mmTour/segment1.swf"

Print EmbedFlash(url.toCString(),0,0,512,256,primarydevice.hwnd)

While Not KeyHit(KEY_ESCAPE)

	'KillFlash()

	'Flip 1

Wend


Works here.

Here too.

works here,

but on pressing esc i get "Unhandled Exception:Unhandled Memory Exception Error" also i need to click the blitzmax runtime window so the keypress 'esc' event is detected. seems flash has focus?

I get that error with the latest version of BMAX period!

works fine (minus the "Unhandled Exception:Unhandled Memory Exception Error") Thats pretty frickin killer! Thanks!

Grey? works on your machine?

The dll has now been removed from distibution.

oh, never tried it. Let me know when the webbed stuff implments it and I'll try it out again.

This is perfect Indiepath.