LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problem in loading flash files through activex container

Solved!
Go to solution

i am trying to access flash files with the help of activex container.i have selected movie property of shockwave flash to load the flash file.but when filw path is provided to this property it is having extension".fla"

so after running the VI i am unable to see the animation.

i have also changed the extension to ".swf"but still not getting the animated picture after running the vi...

there is no error as vi can be in running mode

can anyone help me to find out why the flash file is not getting loaded .....

0 Kudos
Message 1 of 9
(3,568 Views)

I think you are looking for this vi.

Try running it with the swf file attached

 

Be sure you have shockwave flash runtime installed.(Flash Player Pro)

 

Renaming .fla  to .swf wont work. Both are two completely different formats.

 

.fla would be files which would open only in Flash (Not Flash Player) since they are project files. They dont play or execute.

.swf are files which are exported from .fla files for end users.

 

Cheers!

 

Message Edited by Parag D on 08-26-2009 04:39 PM
Message Edited by Parag D on 08-26-2009 04:43 PM
-FraggerFox!
Certified LabVIEW Architect, Certified TestStand Developer
"What you think today is what you live tomorrow"
Download All
Message 2 of 9
(3,555 Views)

i have done the same thing in my program along with the pause n back option...

but still my problem is not solved.

 

how to get ".swf" animated file to give as a file path?

0 Kudos
Message 3 of 9
(3,549 Views)

can you post your code?

 

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 4 of 9
(3,547 Views)

thanks...now i can play the animation.

 

can you tell me how to stop that animation once the vi is closed.beacuse in my case it goes on playing even if i stop the vi..

andwhen next time i run the vi it does not start from initial frame...

how to start the animation from beginning when i run the vi again?

0 Kudos
Message 5 of 9
(3,538 Views)

Open the .fla with Macromedia Flash (not flash player)

Goto file> export movie> export to .swf

 

You can ask any flash developer to do that

-FraggerFox!
Certified LabVIEW Architect, Certified TestStand Developer
"What you think today is what you live tomorrow"
0 Kudos
Message 6 of 9
(3,534 Views)

Hi,

Why dont you try Gotoframe Invoke node at the start of the program ? Intitalize it to 0th frame so each time when you will run Vi it will start from begining. 

 

 

Best of luck

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
Message 7 of 9
(3,532 Views)

Hi parag ,

Will u please tell me what that will do?

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 8 of 9
(3,531 Views)
Solution
Accepted by topic author LV_user1

Hi shruti G,

 

For stopping animation at the end of the program use STOP PLAY invoke node. Try this and tell me. Always try to search options.

 

Best of luck

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 9 of 9
(3,528 Views)