SyntaxBomb - Indie Coders
Languages & Coding => Blitz Code Archives => BlitzPlus Gui => Topic started by: BlitzBot on June 29, 2017, 00:28:41
Title : Flash and BlitzPlus
Author : Beaker
Posted : 1+ years ago
Description : You can use Flash for user interactions in B+ using a HtmlView and various tweaks. Pretty simple to setup. The bb code for it is below but you will need the zip file ( www.zen28085.zen.co.uk/flashBlitzTest.zip ) to get the flash and html files.
Also see here:
<a href="../Community/posts4f8c-2.html?topic=51053" target="_blank">http://www.blitzbasic.com/Community/posts.php?topic=51053</a>
Code :
Global window=CreateWindow( "Flash UI in Blitz+",0,0,340,380, 0, 1)
SetMinWindowSize window,200,0
Global html=CreateHtmlView( 0,0,ClientWidth(window),ClientHeight(window),window,3 )
SetGadgetLayout html,1,1,1,1
HtmlViewGo html,CurrentDir()+"flash URL test.html"
While WaitEvent()
; DebugLog "eventID $"+Hex(EventID())+" eventDATA "+EventData()
Select EventID()
Case $401
Select EventData()
Case 1
DebugLog "BUTTON PRESSED"
End Select
Case $803 ;WINDOW CLOSED EVENT
Select EventSource()
Case window
End
End Select
End Select
Wend
End
Comments :
BugZilla(Posted 1+ years ago)
If the BlitzMax application is running in fullscreen double buffered mode will this code still run?
SebHoll(Posted 1+ years ago)
<div class="quote"> If the BlitzMax application is running in fullscreen double buffered mode will this code still run? </div>In short, no.
markcw(Posted 1+ years ago)
Mirrored the flashBlitzTest.zip here: <a href="http://blitznews.wordpress.com/blitzmirror/" target="_blank">http://blitznews.wordpress.com/blitzmirror/</a>