Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Yull67
  
 
 
 Yull67
 To: steve yeung
  Where is steve yeung?
 flushing
 New York - United States
 steve yeung
 Tags
Subject: RE: Error with Macromedia Flash Factory obj
Thread ID: 143704 Message ID: 143715 # Views: 2 # Ratings: 0
Version: Visual FoxPro 8 Category: Active X Controls & OLE Automation
Date: Friday, August 31, 2007 8:04:28 AM         
   


Hi Steve,

You just made me curious, so I went to Adobe and installed their latest Flash player (I'm rather conservative so I don't have usually the latest hype installed on my machine).

The installation creates a separate directory in Windows/System32/Macromed/Flash

I carefully read the installation log file to find out at the first glance what on earth got copied on my system. :) Opened VFP and created a new form and tried to add the same control you tried. Got the same error.

> Thanks for your fast response! What you said makes a lot of sense... However, when I went to Adobe's site, it seems that they
> only release one version of the Flash Player 9 IE plug-in - The one that all users can download for free -> http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash. There doesn't seem to be a commercial "full" version of the Flash player - It seems to be a standalone package that supposedly once installed has all the support libraries required to make the player run on its own.
> This is the version that I have installed on my dev machine.
>

I don't think that the control we tried should or can be used as we did. Too much to write how I've gotten to this conclusion. However, I've also seen two other controls in VFP: Shockwave ActiveX Control and Shockwave Flash Object. I don't know if the ActiveX Control got installed now or I might have installed it with the Shockwave Player previously. What I can tell is that the Shockwave Flash Object is the player you "need".

To make the story short, the control has no documentation, so I had no idea how to use it. Although I know - or I think I know :) - a great deal about programming, I have no fun at all reverse-engineering other people's work. I find this sort of activity extremely boring, and ultimately useless. You don't even learn anything new, 'cause in order to do this sort of "activity", you already have to have a lot of knowledge about the inner workings of things. So, why not put that sort of knowledge to work for a better cause? :) OK, enough of this.

Anyway, I know the Shockwave Flash Object is the player you need, since if you place it on a form and run the form, right-clicking on the object brings up the well-known context sensitive popup menu having the "About Adobe Flash Player 9..." as last item.

Alright, having no intention at all to blow my brains over how to make it work, I went again to Adobe's site in search for some documentation, although I wasn't too optimistic since I already had formed an opinion that the company doesn't want this control to be directly used in standalone applications. At least, not for free. :) Otherwise, it would have provided some (even sparse) documentation on how to use it. Anyway, this wasn't a "development version", but a production one, so I thought I might have a chance. I think this thinking answers too your question below about Adobe "teasing" developers. It's not "teasing". It's the right to make money with the controls they own. ;) Welcome to the world of components! :) Actually, I thought that this control might be allowed only in web browsers - you can do that, you know. And, I wasn't too far from the truth. Check their licensing page for Flash Player distribution and go to the FAQ here: http://www.adobe.com/licensing/distribution/faq/

Read carefully everything in there, but especially this question: "Where can I find information on embedding an Adobe Player in my application?" I think it will answer all you questions. :) Anyway, from my point of view the problem's settled. I lost all my interest in it. I appologize for being so blunt.

> The only other software that I can think of that may have additional support libraries is Adobe Flash CS3 Professional which is used to create Flash animations (.swf). There is a Trial version that is available for download from Adobe (You need to create an Adobe account first, which I did) but it is 400MB and it is a "restricted" version. The full commercial product is an "unrestricted" version.
>
> I just need to display flash animations in a form, not create them (I am not a web developer - just a humble client server developer). The download is too

Aw, come on. A "humble" client-server developer? You mean, all web developers are some sort of giants? Or maybe "kings"! Ha! Ha! Ha! I'm not one, or becoming one (at least in the commonly perceived sense) probably in the foreseeable future. Question of taste: I don't like web development. Well, not all of it, maybe only the part with creating the pages and all that DOM-based scripting thing. But the Internet can be used in much many ways other than creating web sites - it's a huge, juicy network after all :) - so I don't feel that I lost anything. I cannot learn everything either. However, as you can probably see, I'm not quite "humble". :)

> large to try to download just to see whether or not it will resolve the ole problem and even then that version may not resolve the problem since it is a "restricted" version. It seems strange that Adobe would provide an ActiveX control that can be seen by IDEs such as the VFP IDE or VB IDE and yet not make it usable by the IDEs - I don't think that they would deliberately "tease" developers.
>

It's one thing to "see" a control in an IDE, and quite a different thing to be able to use it. What you see, are just all the controls installed and registered on your machine. That doesn't necessarily mean that you can, or are allowed to, actually use them all. Believe me, there are a whole host of licensing mechanisms that will prevent you to use such a control when put in place. It's nothing "strange" in this, it's just a way to make money. However, I agree that money can be made in strange ways! :D BTW, how many free applications do you use in your day-to-day's work? :)

> Please let me know if anything else comes to mind for resolving this problem. Thanks again!

Well, the only thing that comes to mind is to use the Microsoft Internet Browser control. There is even a foundation class wrapped around it in VFP - at least in VFP 9 version which I'm using - check the 'Web Browser Control Foundation Class' in the Help file. However, I never used the control or the class, but you will find a lot of really knowledgeable people on this site that may surely be able to help you with that. BTW, it might be a good idea in this sense, to re-post your question about how to use the IE browser control to display flash movies/animations, since you will attract knowledgeable people's attention very quickly on it.

Good luck,
Yull

ENTIRE THREAD

Error with Macromedia Flash Factory obj Posted by steve yeung @ 8/31/2007 3:54:03 AM
RE: Error with Macromedia Flash Factory obj Posted by Yull67 @ 8/31/2007 4:39:52 AM
RE: Error with Macromedia Flash Factory obj Posted by steve yeung @ 8/31/2007 6:14:20 AM
RE: Error with Macromedia Flash Factory obj Posted by Yull67 @ 8/31/2007 8:04:28 AM
RE: Error with Macromedia Flash Factory obj Posted by steve yeung @ 9/1/2007 1:43:45 AM
RE: Error with Macromedia Flash Factory obj Posted by Cetin Basoz @ 8/31/2007 10:58:15 AM
RE: Error with Macromedia Flash Factory obj Posted by Yull67 @ 8/31/2007 12:44:07 PM
RE: Error with Macromedia Flash Factory obj Posted by steve yeung @ 9/1/2007 12:55:19 AM
RE: Error with Macromedia Flash Factory obj Posted by Bernard Bout @ 8/31/2007 8:51:21 AM
RE: Error with Macromedia Flash Factory obj Posted by steve yeung @ 9/1/2007 12:20:38 AM
RE: Error with Macromedia Flash Factory obj Posted by Bernard Bout @ 9/1/2007 3:14:02 AM