Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Playing flash files



I get the importer , but how to proceed further to render the flash file onto a GWorld (created from pointer retreived from a Direct3d surface)
Or there is some other way to go about it.
 
The requirement is as follows      -        I want to render the flash file onto a Direct3d Surface.To achive this we create a GWorldFromPtr giving it the pointer to the Direct3D surface.
Starting with DecompressSequenceBegin, we call DecompressSequenceFrameS for each sample got from GetMediaSample.
 
Now when I open a .swf file i get a single track, with a single sample.
Above process works fine with .mov files.How to go about doing the same thing for .swf files.
 
 
 
 
 
 


 On Monday, October 24, 2005, at 01:49 AM, Jasleen Kaur wrote:


How can I play .swf files using QuickTime.I am using QuickTime 6.      

I tried using  GetGraphicsImporterForFile ..., But I get cantFindHandler error.


Jasleen,


A .swf file is a movie, not a graphic. You may find GetMovieImporterForDataRef helpful. All my Flash importing code is in Java so I can't give you an example.



Henry Martin

Little Planet Learning, Inc.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.