vince <lab-101@usa.net> wrote:
Im having some problems with the ptflash widget… all ive done
is create a new project and drop a ptflash widget into it … then
i edit the flash filename property and generate/build… when i
try that i get
abmain.o(.rodata+0xa0): undefined reference to PtFlash' cc: /usr/bin/ld error 1 make[1]: *** [shr] Error 1 make[1]: Leaving directory
/root/devel/flashtest/src/gcc_ntox86’
make: *** [shr] Error 2
i cant find any documentation for this widget in the help file,
but i assume im probbly missing some critical init task…
Hmmm. Seems to be here in the online version, which is probably
newer than what’s packaged in the released beta of RTP.
Here’s a snippet:
***************** begins ****************************
PtFlash
A container that displays Macromedia Flash 4 animation
Class hierarchy:
PtWidget → PtBasic → PtContainer → PtFlash
For more information, see the diagram of the widget hierarchy.
PhAB icon:
Public header:
<photon/PtFlash.h>
Description:
PtFlash is a container widget that displays Macromedia Flash 4
animation.
New resources:
Resource C type Pt type Default
Pt_ARG_FLASH_FILE 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.
The file must exist on your filesystem; PtFlash doesn’t
support http://… URLs.
****************** ends *****************************
From the error you see, I’d guess you aren’t including
<photon/PtFlash.h>
Hope that helps.
Norbert Black
QSSL Training Services