You are here:

C++/Resizing flash movie ...


 Hello sir,

 I have imported the "ShockWave Flash" ocx in my program. I assign it a movie. When my program is run, the movie is played well; But when I want to resize this component(ActiveX), using "SetBounds" method, the change in the width and height of the movie is not applied until I send it some command(e.g. GotoFrame(2)) and click on it.

Do you know some way to resize the movie with instant affect? (like what is done in internet explorer)

what do you think I have not done?

thank you very much.  


As for Flash, I do not know anything about it whatsoever. But, I have an idea I thought might help. When you do C++ Windows graphics stuff, you have to call InvalidateRect() to tell the screen to automatically refresh itself. There is probably a Flash function like that one that needs to be called explicitly.

I hope this information was helpful.

- Eddie


All Answers

Answers by Expert:

Ask Experts




I can answer questions about the C++ language, object oriented design and architecture. I am knowledgable in a lot of the math that goes into programming, and am certified by I also know a good deal about graphics via OpenGL, and GUIs.


I have completed numerous games and demos created with the C++ programming language. Currently employed as a software engineer in the modeling and simulation field. I have about 7 years experience.

©2017 All rights reserved.

[an error occurred while processing this directive]