VB School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a VB Expert!

Join 307,096 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 2,028 people online right now. Registration is fast and FREE... Join Now!




Shockwave ActiveX in Visual Basic 6

 

Shockwave ActiveX in Visual Basic 6

prodigio

4 Nov, 2009 - 08:20 AM
Post #1

New D.I.C Head
*

Joined: 4 Nov, 2009
Posts: 4

Hi. I'm Italian... excuse me for my english tongue.gif
I've a problem to control, with VB6, a shockwave flash activex.

I create one flash file (.SWF) that I load into my VB program with shockwave activex.
This .swf file containing on stage an instance of graphic symbol include in library, named Inter.
The library containing also one graphic symbol named Bari.

My question...

How I can replace the Inter symbol with Bari symbol by Visual Basic 6 code?

Help me please.... Expert, help me... sad.gif

In attachment there are all files of this small project example....


Attached File(s)
Attached File  Symbol.zip ( 20.19k ) Number of downloads: 12

User is offlineProfile CardPM
+Quote Post


bytelogik

RE: Shockwave ActiveX In Visual Basic 6

4 Nov, 2009 - 10:15 AM
Post #2

D.I.C Head
**

Joined: 6 Oct, 2009
Posts: 63



Thanked: 5 times
My Contributions
Visual Basic cannot edit the flash file. You have to use some flash editor for this purpose.
User is offlineProfile CardPM
+Quote Post

prodigio

RE: Shockwave ActiveX In Visual Basic 6

4 Nov, 2009 - 10:24 AM
Post #3

New D.I.C Head
*

Joined: 4 Nov, 2009
Posts: 4

QUOTE(bytelogik @ 4 Nov, 2009 - 10:15 AM) *

Visual Basic cannot edit the flash file. You have to use some flash editor for this purpose.


No Bytelogic.
I referred to runtime moment... and it's possible.
For example: FlashControl.Setvariable "TextInstanceName", "MyText"

this example modify infact the text filed of instance text control.

But I don't know how I can replace any symbol in runtime.
You're not expert.... excuse me.

There are any expert please??

This post has been edited by prodigio: 4 Nov, 2009 - 10:26 AM
User is offlineProfile CardPM
+Quote Post

bytelogik

RE: Shockwave ActiveX In Visual Basic 6

4 Nov, 2009 - 12:05 PM
Post #4

D.I.C Head
**

Joined: 6 Oct, 2009
Posts: 63



Thanked: 5 times
My Contributions
"You're not expert.... excuse me."

I am sorry if I could not help you.

I just checked this example:
http://www.planet-source-code.com/vb/scrip...95&lngWId=1

Yes, you can change the values of the variables at runtime by using the SetVariable method.

I did searched on such topic, but unfortunately, I could not get any direct relevant example. But I will keep trying, and let you know regarding any solution.



User is offlineProfile CardPM
+Quote Post

prodigio

RE: Shockwave ActiveX In Visual Basic 6

4 Nov, 2009 - 12:35 PM
Post #5

New D.I.C Head
*

Joined: 4 Nov, 2009
Posts: 4

QUOTE(bytelogik @ 4 Nov, 2009 - 12:05 PM) *

I did searched on such topic, but unfortunately, I could not get any direct relevant example. But I will keep trying, and let you know regarding any solution.


smile.gif OK, thank you so much smile.gif
I'm waiting for your reply

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 11:50AM

Live VB Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month