Ooops
November 25, 2020, 08:58:43 AM

Author Topic: [bb] Flash and BlitzPlus by Beaker [ 1+ years ago ]  (Read 719 times)

Offline BlitzBot

  • Jr. Member
  • **
  • Posts: 1
[bb] Flash and BlitzPlus by Beaker [ 1+ years ago ]
« on: June 29, 2017, 12:28:41 AM »
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[/url]


Code :
Code: BlitzBasic
  1. Global window=CreateWindow( "Flash UI in Blitz+",0,0,340,380, 0, 1)
  2. SetMinWindowSize window,200,0
  3.  
  4. Global html=CreateHtmlView( 0,0,ClientWidth(window),ClientHeight(window),window,3 )
  5. SetGadgetLayout html,1,1,1,1
  6.  
  7. HtmlViewGo html,CurrentDir()+"flash URL test.html"
  8.  
  9. While WaitEvent()
  10. ;       DebugLog "eventID $"+Hex(EventID())+"  eventDATA "+EventData()
  11.  
  12.         Select EventID()
  13.  
  14.                 Case $401
  15.                         Select EventData()
  16.                                 Case 1
  17.                                         DebugLog "BUTTON PRESSED"
  18.                         End Select
  19.                        
  20.  
  21.                 Case $803       ;WINDOW CLOSED EVENT
  22.                         Select EventSource()
  23.                                 Case window
  24.                                         End
  25.                         End Select
  26.         End Select
  27.        
  28.  
  29. Wend
  30. 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/[/url]


 

SimplePortal 2.3.6 © 2008-2014, SimplePortal