Hi everybody !
I create a small app playing with Flash ActiveX (such as Flash Player)
I have some question, it will be very kind of you if you help me in detail.
1) Is there a code to detect the Flash ActiveX exist in a PC or not ??.. If it doesn't exist, the program will close.
2) I create a Flash file (presentation flash) and embedded to my App. In my Flash file, there are some "Scene". How can we make a button to control that flash file: GotoFrame(frame_number) , GotoLabel(Name_Of_Label)...etc....I test and success with "GotoFrame", but the thing I want is "GotoLabel" or "GotoScene" ...
Would you please help me....!!
Thank you.
Flash ActiveX control
-
FloHimself
- Enthusiast

- Posts: 229
- Joined: Wed May 14, 2003 3:38 pm
- Location: Lüneburg - Germany
-
bidanh00co
- User

- Posts: 56
- Joined: Thu Jul 07, 2005 10:06 am
-
bidanh00co
- User

- Posts: 56
- Joined: Thu Jul 07, 2005 10:06 am
Thank jack !
That's a good site to help me work in C++ with FlashControl.
But I see that the Method "TCallLabel" that they discribed requires 3 parameters:
void InvokeTCallLabel(HWND hwndFlashPlayerControl, LPCTSTR target, LPCTSTR label)
- hwndFlashPlayerControl
- target
- label
But in source code of Flash Embedded ActiveX, the author just give a "TCallLabel(a,b)" with 2 parameters required.
So, I wonder what does parameter "b" stand for ??
2. What is the difference between GotoFrame and TGotoFrame ? and "TCallLabel" & "TGotoLabel" ???
That's a good site to help me work in C++ with FlashControl.
But I see that the Method "TCallLabel" that they discribed requires 3 parameters:
void InvokeTCallLabel(HWND hwndFlashPlayerControl, LPCTSTR target, LPCTSTR label)
- hwndFlashPlayerControl
- target
- label
But in source code of Flash Embedded ActiveX, the author just give a "TCallLabel(a,b)" with 2 parameters required.
So, I wonder what does parameter "b" stand for ??
2. What is the difference between GotoFrame and TGotoFrame ? and "TCallLabel" & "TGotoLabel" ???
-
FloHimself
- Enthusiast

- Posts: 229
- Joined: Wed May 14, 2003 3:38 pm
- Location: Lüneburg - Germany
This is the best resource i found for the description of the methods:
http://www.macromedia.com/support/flash ... sh_03.html
TCallLabel seems to call some action on the scene,
while TGotoLabel is the goto.
referring to this example from fred:
viewtopic.php?t=11465
you should call it like:
iirc the strings arguments are unicode!
so maybe it works with:
http://www.macromedia.com/support/flash ... sh_03.html
TCallLabel seems to call some action on the scene,
while TGotoLabel is the goto.
referring to this example from fred:
viewtopic.php?t=11465
you should call it like:
Code: Select all
oFlash\TGotoLabel("/MovieClip", "MyLabel")so maybe it works with:
Code: Select all
oFlash\TGotoLabel(Ansi2Uni("/MovieClip"), Ansi2Uni("MyLabel"))My favorite numbers: 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
-
bidanh00co
- User

- Posts: 56
- Joined: Thu Jul 07, 2005 10:06 am
-
FloHimself
- Enthusiast

- Posts: 229
- Joined: Wed May 14, 2003 3:38 pm
- Location: Lüneburg - Germany
