The second project in line we anounced is the AlbumFlow.
It works almost the same like the MovieFlow beta 1.0, also the connection off the wiimote is done by ‘bluesoleil’ (or some kind).
For more details of how this works, please take a look at the MovieFlow topic.
Download here AlbumFlow Beta 1.0

For coding the cover in the second view, i just add some simple lines:
if _global.myMp3path & member("albumNaam").text & "\front.jpg" <> Void then
sprite("cover_holder").member.filename = _global.myMp3path & member("albumNaam").text & "\front.jpg"
sprite("cover_holder").width = 300
sprite("cover_holder").height = 300
sprite("cover_holder").member.regpoint = point(0, 0)
else
sprite("cover_holder").member.filename = _movie.path & "img\cover_holder.png"
end if
- Place a default image named cover_holder.png in the folder ..AlbumFlow\img\
For scrolling the menu items we add 5 text fields. The text will be identical to the filenames.
It looks like you are scrolling in a men, but actually only the text is changing!
To scroll with the wiimote or arrowkeys you can use the next code for example:
+ Comments and more explenation will be soon updated!!
On preparemovie
_global.getItemNumber = 0
end
On enterFrame
_global.item1 = _global.getItemNumber + 1 _global.item2 = _global.getItemNumber + 2 _global.item3 = _global.getItemNumber + 3 _global.item4 = _global.getItemNumber + 4 _global.item5 = _global.getItemNumber + 5
if _movie.framelabel = "album" then
if _global.item3 > _global.aantalNummers or _global.item3 < 1 then
nothing
else
sprite("nummers").member.text = string(_global.item3 & "/" & _global.aantalNummers)
end if
end if
if (_key.keyPressed(125)) then
if _global.item3 >= _global.selectedAlbum.count then nothing else _global.getItemNumber = _global.getItemNumber + 1 end if end if
if (_key.keyPressed(126)) then if _global.item3 <= 1 then nothing else _global.getItemNumber = _global.getItemNumber -1 end if end if
end -- enterframe








1 Comment at "Albumflow Beta 1.0 - Wiimote controlled"
[...] your own programs with C++ or Director. We can easely integrate this with our earlier project, Albumflow so keep looking at our website labcoding.com for new updates! Share and Enjoy: These icons link [...]
Comment Now!