Macromedia Flash Widget

Greetings,
I’m looking for any kind of documentation on the macromedia
flash widget that comes with PhAB. There seems to be a lack of
documentation on this widget in the help files, and on the net.

I am particularily looking for information reguarding how to
know when a particular flash file has finished playing, or getting the
play time left with the current file.

If there was an example program using this flash widget, that
would probably answer most, if not, all of my questions.

Nick

Nicholas Cogghe <me@here.com> wrote:
: Greetings,
: I’m looking for any kind of documentation on the macromedia
: flash widget that comes with PhAB. There seems to be a lack of
: documentation on this widget in the help files, and on the net.

It has been documented, but the new docs haven’t been released yet. There
isn’t much to it, just one new resource:

Pt_ARG_FLASH_FILE

C type Pt type Default


char * String NULL

The full path of the Shockwave Flash file (extension .swf or .SWF) to
display. The file starts to play as soon as you set this resource.

Note: The file must exist on your filesystem; PtFlash doesn’t
support http://… URLs.

: I am particularily looking for information reguarding how to
: know when a particular flash file has finished playing, or getting the
: play time left with the current file.

: If there was an example program using this flash widget, that
: would probably answer most, if not, all of my questions.


Steve Reid stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems

Thanks Steve. I already have this part of the program working
fine. My problem is that I don’t know how to find out when one flash
file has finished, so I can run the next flash file.

Is there some kind of callback, or some kind of event (notify
event that is built into the widget?) that I can trigger my code to
change the flash file?

Nick Cogghe

It has been documented, but the new docs haven’t been released yet. There
isn’t much to it, just one new resource:

Pt_ARG_FLASH_FILE

C type Pt type Default


char * String NULL

The full path of the Shockwave Flash file (extension .swf or .SWF) to
display. The file starts to play as soon as you set this resource.

Note: The file must exist on your filesystem; PtFlash doesn’t
support http://… URLs.


Steve Reid > stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems

What are the chances that QNX releases the source for this widget so that
developers can add other useful functionality to it? It is sorely lacking at
the moment but it is potential is considerable.

]{ristoph

“Steve Reid” <stever@qnx.com> wrote in message
news:9327sq$o0o$1@nntp.qnx.com

Nicholas Cogghe <> me@here.com> > wrote:
: Greetings,
: I’m looking for any kind of documentation on the macromedia
: flash widget that comes with PhAB. There seems to be a lack of
: documentation on this widget in the help files, and on the net.

It has been documented, but the new docs haven’t been released yet. There
isn’t much to it, just one new resource:

Pt_ARG_FLASH_FILE

C type Pt type Default


char * String NULL

The full path of the Shockwave Flash file (extension .swf or .SWF) to
display. The file starts to play as soon as you set this resource.

Note: The file must exist on your filesystem; PtFlash doesn’t
support http://… URLs.

: I am particularily looking for information reguarding how to
: know when a particular flash file has finished playing, or getting the
: play time left with the current file.

: If there was an example program using this flash widget, that
: would probably answer most, if not, all of my questions.


Steve Reid > stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems

“Kristoph A. Cichocki-Romanov” schrieb:

What are the chances that QNX releases the source for this widget so that
developers can add other useful functionality to it? It is sorely lacking at
the moment but it is potential is considerable.

The source to macromedia flash can not be released, as it is property of
MM.
The feature that you requested is currently not supported in the MM flash
widget. Please also note that you are not looking for the end of the file,
but the end of playing the widget. MM-Flash supports many ways of
controlling what is played of a flash file (like loops and so on). Many
times Flash files try to load other flash files from the WEB (this is not
supporoted by the Photon widget version). So it might not be that trivial
to implement.

I would suggest that you file an request for your enhancement under the
following link

http://support.qnx.com/report/problem_report.html

Sven

]{ristoph

“Steve Reid” <> stever@qnx.com> > wrote in message
news:9327sq$o0o$> 1@nntp.qnx.com> …
Nicholas Cogghe <> me@here.com> > wrote:
: Greetings,
: I’m looking for any kind of documentation on the macromedia
: flash widget that comes with PhAB. There seems to be a lack of
: documentation on this widget in the help files, and on the net.

It has been documented, but the new docs haven’t been released yet. There
isn’t much to it, just one new resource:

Pt_ARG_FLASH_FILE

C type Pt type Default


char * String NULL

The full path of the Shockwave Flash file (extension .swf or .SWF) to
display. The file starts to play as soon as you set this resource.

Note: The file must exist on your filesystem; PtFlash doesn’t
support http://… URLs.

: I am particularily looking for information reguarding how to
: know when a particular flash file has finished playing, or getting the
: play time left with the current file.

: If there was an example program using this flash widget, that
: would probably answer most, if not, all of my questions.


Steve Reid > stever@qnx.com
TechPubs (Technical Publications)
QNX Software Systems


Sven Behnsen QNX Software Systems GmbH Phone: +49 511 94091-0
email: sbehnsen@qnx.de Am Listholze 76 Fax : +49 511 94091-199
Web: www.qnx.de D-30177 Hannover BBS : +49 511 94091-300
Info: info@qnx.de Germany ISDN : +49 511 94091-310

On Mon, 08 Jan 2001 16:20:45 +0100, Sven Behnsen <sbehnsen@qnx.de>
wrote:

The feature that you requested is currently not supported in the MM flash
widget. Please also note that you are not looking for the end of the file,
but the end of playing the widget. MM-Flash supports many ways of
controlling what is played of a flash file (like loops and so on). Many
times Flash files try to load other flash files from the WEB (this is not
supporoted by the Photon widget version). So it might not be that trivial
to implement.

OK, just to clarify things in my mind.

The flash widget can not tell me (in any meaning of the
phrase) that the file it is currently playing is finished?

Hmm… I mean, it seems that the flash widget knows how to
loop a flash file. I would have thought that some kind of notify event
or callback could be put into that spot in the code. The code in the
rest of the program is handling the chaning of the playing files. I do
not need the flash widget to do anythign but play files, and then tell
me when it’s done.

I’ll request the enhancement, but I’d just like to stat that
functionality such as this should have been incorperated from the
beginning. =)

Nicholas Cogghe