Multimedia Player. 
Posted: 23 September 2007 11:28 AM   [ Ignore ]
Sr. Member
Avatar
RankRankRank
Total Posts:  265
Joined  2007-09-22

Just wanted to share some code for anyone that is working on a flash music/video player.
http://www.weberdesignlabs.com/blog/?p=28 - It’s used to mimic Cover Flow , and it’s quite nice but may need some optimizations here and there.
I didn’t write it , just found it on the web and thought i’d share it with you guys.

Profile
 
 
Posted: 30 June 2008 01:54 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  508
Joined  2008-02-22

Kool. I’ll have to check this out. thanks

 Signature 

http://www.justinriggio.com cool mad
http://www.niceminds.com My blog

Profile
 
 
Posted: 09 July 2008 09:27 PM   [ Ignore ]   [ # 2 ]
New Member
Avatar
Rank
Total Posts:  47
Joined  2008-07-01

Really Nice,

I am going to have to look more at later. Thanks for sharing, I have a few questions. Could someone explain how you would switch it over to be used with a multitouch library? I am confused at were the event listeners and all the mouse events are in this project. Other then being hard for a beginner to understand, this is a really cool project.

-Can it load all video formats or just FLV and mov files?

-What exactly does MC_tween do? “I keep on getting an error message that it can’t find the MC_tween.as file. I may have just installed the extension wrong!”

***Was looking for a coverflow project from an NUI member though.***

Thanks again for sharing!!

 Signature 

“Good ideas are only bad ideas that work!”

Profile
 
 
Posted: 11 July 2008 04:57 PM   [ Ignore ]   [ # 3 ]
New Member
Rank
Total Posts:  18
Joined  2008-06-23

I don’t know what Cover Flow is but this basically looks an image slideshow.  I think it will load only SWF, JPG, GIF, or PNG files.

FYI: This is MC_Tween:
http://hosted.zeh.com.br/mctween/documentation.html

You need to install it first, follow the directions here:
http://hosted.zeh.com.br/mctween/downloads.html

Once you have it installed, all you need to do is add the following to the top of your actionscript

#include "mc_tween2.as"

Then you can call any of the MC Tween functions like this:

movieClip.slideTo(xyseconds"linear"delay);

Replace the following
movieClip: this is the instance name of your movieclip on the stage
x: the x coordinate where you want to move to
y: the y coordinate where you want to move to
seconds: the time in seconds in which you want this to happen
linear: there are several differnt animation types
delay: the time in seconds you want to set as a delay

There is also the Class called tweener that pretty much replaces MC_Tween.

Profile
 
 
Posted: 11 July 2008 07:06 PM   [ Ignore ]   [ # 4 ]
New Member
Avatar
Rank
Total Posts:  47
Joined  2008-07-01

Thanks agian stargazer424,

Thank you for replying to almost all my posts.  Coverflow is a graphical interface that you can use to search and play you files and music. It is found on iTunes and also on the iPhone and iTouch. See this link to Wikipedia here http://en.wikipedia.org/wiki/Cover_Flow
Thanks for explaining what MC_Tweener is that really helped thanks. I think that you looked at the wrong example and i think it was because it was a bad link. the correct location is http://www.weberdesignlabs.com/blog/?p=28.
On the link that Vlado gave it is not the top post it is closer to the bottom.

P.S. check the other post your example really helped and i am tring to figure out what exactly the physical really does.

Link to other post http://nuigroup.com/forums/viewthread/2426/

 Signature 

“Good ideas are only bad ideas that work!”

Profile
 
 
Posted: 12 July 2008 08:48 PM   [ Ignore ]   [ # 5 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  527
Joined  2006-11-09

Looks great!!!

Also to note our Touch API only support AS3… because its performance is FAR greater than previous virtual machine.

There is a basic TUIO parser in AS2 here: http://nuigroup.com/forums/viewthread/1275/

 Signature 

~

Profile
 
 
Posted: 13 July 2008 02:28 PM   [ Ignore ]   [ # 6 ]
New Member
Avatar
Rank
Total Posts:  47
Joined  2008-07-01

Thanks Nuiman,

I am glad that an nui admin is finally interested in the little things.( aka the coverflow interface) It is great that you are willing to share that the Touch API is working. I am just a little confused as to what it really does. When i got the AS2 source i could only pick out that it just reads to see if it is connected to the OSC server than relays a message. If you could explain a little more in dept of what the Touch API really is and how an AS3 developer could get from it, that would really clear things up.

thanks,
1337Noobster

 Signature 

“Good ideas are only bad ideas that work!”

Profile
 
 
Posted: 13 July 2008 03:23 PM   [ Ignore ]   [ # 7 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  1288
Joined  2007-04-08

The as3 classes (Touch API) can be found on the touchlib svn. http://touchlib.googlecode.com

 Signature 

My Multitouch Blog
My Youtube
Multitouch FAQ - Need Help? Click here!

Profile
 
 
Posted: 13 July 2008 04:01 PM   [ Ignore ]   [ # 8 ]
New Member
Avatar
Rank
Total Posts:  47
Joined  2008-07-01

So all the classes in the touchlib SVN are the Touch API. thank you cerupcat for explaining this to me i was not aware of the fact that they were being called the Touch API. Now that i have looked back at the coverflow example i have now relized that it is in AS2. That would help to explain Nuiman’s post. Meaning that the Touch API would not give support to that project since it is AS2. Since that is true i was wondering if it was possible for someone to create a coverflow project that is supported with the Touch API. I was looking to make an appLoader that could load swf file with a coverflow scroll instead of a grid.It would help if someone could help me out as to were to even start. I tried to use the current appLoader and just put a coverflow scroller to effect. It was not pretty! If someone could help me to create this that would be the biggest help.

Thanks again to everyone especially Vlado for shareing this coverflow project. Sorry about the confusion nuiman.

 Signature 

“Good ideas are only bad ideas that work!”

Profile