What's new?
MMB 4.9.5 BETA 1 (download)
MAIN ADDITIONS AND REPLACEMENTS :
MMB Video object:
MMB Video object is now completely rewritten! The days of
an obsolete and not reliable MCI video playback are
counted! The MCI object still remains there and unchanged
(for technical experts), but the Video object is now a
fully featured and easy to use DirectShow player. Of
course, there are some dependencies on the installed video
codecs; however, if you have installed Windows Media
Player 7 or higher, you should have all the usual codecs
installed. Now it is possible to run multiple video
objects on a page at the same time!
Bitmap object enhancements:
Added a lot of new Image related scripting commands and
designer enhancement. Now you will be able to preserve the
Image size, or stretch image to fit window, resize/rotate
the image and preserve its aspect ratio and lots of other
things. Look at the detailed Bitmap
Object description .
Polygonal Hot spot:
ZoomTool:
MMB Script:
A lot of new scripting commands were added to work with
strings, date/time, video, image/hotspot/polygon
object resize and rotation, and many others. BTW,
complete list of all MMB functions, CBK variables and
predefined functions is now accessible over the
right-click menu in MMB scripting dialog (both
basic and enhanced windows) and scripting functions
are no longer case sensitive.
OTHER ENHANCEMENTS:
-
All windowed objects (Flash, HTML Browser, Binding,
ListBox or AV) can now be added on Master Page and
Master Top Layer and controlled via script! This allows
you to use single Flash object on the Master Page as a
project menu or single ListBox for entire project.
-
RunScript function in MouseOver event ("Interaction with
other objects" object properties tab) now detects the
objects on Master Page and Master Top Layer.
-
Significantly improved "Snap To Grid" feature. Snap To
Grid now works with all objects as expected (including
creating objects and dragging the object corners! ;)
-
Added Drag&Drop event tab to the ListBox script
dialog.
-
Added possibility to change the colors of a Menu Item
button style (in a design time).
-
Added tooltips and ability to change the default cursor on
some next objects (Bitmap, Polygon objects, Matrix, Text
and Text Edit).
-
Added the ability to change the color of HTML status
bar and progress bar (designer).
-
Added the option to run just one
instance designer/compiled application.
-
Added a button to delete all guide
lines (menu Edit>>> Edit Guides).
-
Added buttons and shortcuts to Page
Manager for inserting (INS) and deletion (DEL) the
publication pages.
-
Added the ability to change the colors of
AudioVisualization object - Equalizer (both from
designer and script).
-
Added a Minimize button to the standard project window.
-
Added the ability to completely disable the Flash right
click menu.
-
Added the ability to load Flash file in its original
size and maintain its aspect ratio.
-
MMB4.9 files can now be saved in 4.8
compatible file format. All 4.9 related things will be
removed and scripts will be amended.
-
Each change in a Dimension tool can be
confirmed by Enter and not only by "Apply" button as
previously.
-
FMOD audio library updated to version 3.6.2.
-
Restored the ability to change the Player.exe icon
(Compile dialog).
-
The main Object toolbar is now redesigned to popups
(according common features). However, if you don't like
the popups, you can switch back to the previous long
toolbar (View>>>Toolbars>>>Object
Toolbar (simple)).
-
Video Object now supports audio playback (mp3,ogg,
mi, mi, midi, rmi, wav, snd, au,
aif, wma, asf), but without the ID tags!
-
Added the option to enable/disable
multiselection, item numbering and audio time in
a ListBox object.
-
ListBox object now supports Drag&Drop from outside of
MMB application (e.g. from windows explorer).
-
Added the option to load the audio and video files as a
parameter of a compiled MMB application. Of course,
if you want to run a video from command line a video
object must be available in the running application.
-
Added On Load, On Start and On Stop/Finish events to the
Video object (check the Run Script option in Video
properties).
-
Polygon object can now be resized.
-
Already opened and changed projects are marked with * mark
in the MMB title bar (behind the project name).
-
Added the option to compile final
application without the FMOD audio library (NoFMOD option
in Compile dialog).
-
MMB internal playlist (m3l) now
supports Video files storage.
-
Improved speed of closing Enhanced Script window.
-
Multiple embedded sounds can now be played at the same
time.
-
Message box caption is now set according the project
window title (Project>>Project Settings menu).
-
When you type a function to the script window and the
function is auto-completed, then cursor now remains inside
the parenthesis or quotes.
-
ListBox item numbers and time (for audio/video file) can
now be disabled (in designer as well as in runtime by
script).
-
Improved fast clicking detection in hotspot object.
-
Added "Search for ID tags" option to the ListBox
properties. This option is useful in cases when a
non-audio content of the
<List> is loaded.
Disabling this option can significantly increase the speed
of loading.
SCRIPTING ENHANCEMENTS:
-
Added
ListBoxParam
() function to setup some of ListBox
properties in a runtime (like a Background and Text color,
enable/disable Drag&Drop, etc.).
-
Added
ColorPicker
() function with
CBK_SelColor to selecting and
storing colors.
-
Run command now
returns the return values from the running applications
(of course if return codes were implemented in these
applications). The return codes are displayed in
CBK_ReturnVal.
-
Added commands to resize/rotate Bitmaps, Hotspots (w/o
image) and filled polygon objects.
-
SearchForSong now
supports file extension filtering...
SearchForSongs
("C:\",”mp3,ogg,wav").
-
Added a lot of new
CBK_Time and
CBK_Video related commands.
-
Added
<Temp
>,
<Windows
>,
<System
> predefined variables.
-
All <> variables (like a
<SrcDir
>,
<CD
>,
<System
>) can now be expanded to a string
variable.
-
RunScript
and
ScriptTimer
commands can now be called from the
Master Page or Master Top Layer -
RunScript ("Master
Page::Script")
-
LoadVideo
and
ReplaceImage
functions now supports OpenFile
button in the "Path" parameter. You will no longer need to
Copy and Paste the absolute paths from somewhere else
(i.e. windows explorer).
-
ViewJPG function now
support loading the BMP files and is renamed to
ViewImage
SongListTime,
CBK_Total,
CBK_Time, CBK_VTotal and
CBK_VTime now returns their
values in hh:mm:ss format.
-
Better rescaling algorithm is now used
in ViewImage
function.
-
Added some new
predefined functions
(
WinVer,
ScreenCol,
PubWidth,
PubHeight,
UsingWinNT , ...)
-
Added new CBK variable for obtaining the current page
name - CKB_PageName
.
-
WMA and ASF now returns correct CBK
time variables.
-
Audio CBK now supports reading OGG
tags.
-
Added two new CBK variables for obtaining the total
time of songs in the internal song list -
CBK_TotalList
and CBK_TotalSecList .
-
Added many new string handling functions .
-
Added PageExit event.
-
FMOD and Flash Error/Warning messages can be disabled
(Compile page) and then handled by
CBK_Error variable.
-
Predefined functions ObjectX
,
ObjectY
,
ObjectWidth
,
ObjectHeight
and
IsVisible now supports string
variables as a parameter i.e.
ObjectX (object$).
-
Added new ListBoxSort
("object","param") function.
Possible parameters: NAME, TIME, REVERSE and
RANDOMIZE.
-
Added new
ListBoxMoveItem
("ListBox1","PositionNum").
-
Added FMODConfig
function for changing the
configuration of FMOD audio library (DX, SW or None + MPEG
accurate playback) at runtime.
-
Added three new predefined functions
for checking the actual mouse state -
MouseLButton(),
MouseMButton() and
MouseRButton() Returns 1 if
mouse is pressed and 0 if released.
-
If..End conditional loop finally
supports Else
;)
-
Added WAIT parameter to Run command. This will cause
pausing the MMB application until external application is
running. Usage: Run
("C:\WINNT\notepad.exe","WAIT") or more advanced
example Run
("C:\WINNT\notepad.exe","TOPMOST,WAIT c:\your.txt")
-
Transparent parts of the bitmap objects will not detect
the mouse clicks.
-
Scripts can now be saved/loaded to/from external files
(Designer option...sorry guys, but the runtime loading of
external script files is not yet available ;)
-
Added BackgroundPlay ,
BackgroundPause and
BackgroundStop
commands for controlling the Background music at runtime.
-
Added a syntax completion to MMB script. However, because
this feature doesn't need to satisfy everyone, you can
turn it OFF by right click menu in script window.
-
Function SongListSave
now allows you to save the internal songlist to file with
any extension you want to use. But the file format of the
saved list will be still plain txt (or MMB internal
m3l format if you want)
SongListSave("SongList","c:\test.aaa").
-
Added CBK_URLPath for obtaining the actual path from HTML
object.
-
Predefined String functions can now be merged within
the single line of code e.g. s$=
CHR( 55
)+ CHR(
60 )
-
SongListLoad now
supports loading of m3l, m3u, pls and txt file formats.
CHANGES:
-
Predefined functions are no longer case sensitive. You can
type "
objectwidth()
" or "
ObJecTWidth()
" and it will be automatically converted to
ObjectWidth().
-
Function L
istBoxAddItem no
longer supports RANDOMIZE parameter. Use new
ListBoxSort
("object"," RANDOMIZE
")
function instead of previous
L istBoxAddItem
with RANDOMIZE parameter
.
-
Predefined functions
ScreenWidth
and
ScreenHeight
are no longer filled after the
publication start-up. If you want to obtain the actual
screen width/height size, use the new
ScreenWidth()
and
ScreenHeight()
functions. All older scripts
that use the old syntax must be updated!
-
MXCOL
and
MXROW Matrix
variables are no longer filled after the publication
start-up. They are filled only if a Matrix object is
used.
-
MouseDown/MouseUp events are now
performed only above parental objects. If you, for
example, click and hold the mouse button above an active
object (e.g. button), then you move mouse over
another active object and release the mouse button above
it, the MouseUp event of the second (target) mouse will
not be called.
-
String variable used as the first parameter of
the LoadText function will no longer load the
contents of a second LoadText parameter. The variable used
as a first parameter of LoadText can be now used as a
name pointer to an object. This will allow you to
dynamically replace the text in a series of text
objects or buttons.
FIXES:
- Fixed Text object Alignment if the Antialias option is
enabled.
-
Fixed Edit box refresh.
-
Fixed Video FullScreen toggling via the Script object with
the assigned shortcut.
-
Fixed bug in a
ListBoxDeleteItem
function.
-
Fixed a problem with WMA/ASF playback (right after
the MP3/OGG playback).
-
Fixed some script highlight issues.
-
Fixed a bug with reseting UI.
-
Fixed a Copy/Cut bug in the Script right clik menu.
-
Fixed an object Width bug when the "Default text" is
deleted from the Input text.
-
Fixed bug that prevents to change the Video object
Width/Height after video load.
-
MVM file extension in VideoLoad dialog is now corrected to
WMV file extension ;)
-
<> macros (e.g.
<SrcDir
>) can now be assigned to the string
variables without the need to use quotes...for
example
test$=<SrcDir>
-
Double click on a function now
pass all parameters to the Script wizard. Previously,
some parameters were not passed e.g.
ScriptTimer("TimerA=MoveTrackSlider1","
50 ")
-
Each change of an mbd project should
invoke the "project is changed" event and then mbd file
should not be closed without Save request.
-
Right click menu (Undo, Copy,
Paste,...) in script editor is now back.
-
Fixed Alpha button preview in the
Alpha button load dialog.
-
Fixed bug in Run
command, which prevent correct parsing of the program
parameter.
-
EditBox variables are now correctly refreshed when they
are filled via
LoadText or
DisplayValue
functions.
-
DisplayValue function
can now fill the EditBox with a numeric value (not only
Text object as previously).
-
ObjectWidth /
ObjectHeight now returns the
correct numbers for Video object.
-
Fixed a long time reported, but never found, the load
bitmap crash..uff..it was really tremendous ;)
-
Fixed some CBK audio related problems.
-
Fixed a ListBox destroy problem after
RunMBD use.
-
Fixed a ListBox numbering problem. Sometimes happened,
that the 10th item in the ListBox was numbered as 1.
-
Fixed crash when trying to run an non-mbd file from the
command line as a parameter of compiled MMB
application.
-
Fixed a refresh problem in a Dimension tool.
-
Fixed CBK_Total a
CBK_TotalSec for continuos CD
playback.
-
CBK text objects now work correctly if
they are placed on Master Top page or Master Layer.
-
CD stop should now work correctly with the
audio CBK related variables.
-
Fixed scroll bars in designer.
-
Fixed some memory leaks in Flash and Text object;)
-
Fixed a problem that cause 1+1=1 ;)
-
Fixed bug in PlaySound
and MIDIPlay that
cause playing midi files in loop when the LOOP parameter
was not turned ON.
-
Fixed conflict between Matrix object and GetArrayItem
function.
- Fixed memory leak in Designer
when Custom Shape was used.
- Fixed LoadText trimming.