Skip to main content
April 27, 2006
Question

Flash Button In Captivate To Control Breeze Presenter

  • April 27, 2006
  • 3 replies
  • 2774 views
Hello everyone,

I would like to create a button in flash that once click, will automatically advance a slide in the Breeze Presenter. This button will be in a Captivate simulation that I have. The way my simulation works is that the user has to click on a start button (created in flash) in the Breeze Presenter, and the simulation is opened in a new, full screen window. Once the simulation has completed, I would like to be able to have the user click a "Close" button, and then have the movie close, and the Brezze Presenter go onto the next slide. Any help at all would be GREATLY appreciated.

Thanks

Doug
This topic has been closed for replies.

3 replies

May 3, 2006
Its all good, you have been more than helpful... I am sure I will have some more Flash questions soon.....

Thanks!
May 3, 2006
I had a problem with fuzzy captivates too. It wound up being due to the html file that was calling it had something funky going on with it. Since you're putting the Captivates into a slide, which is then compressed further by Breeze I believe upon publishing, you may get some fuzziness. Marc B helped me to troubleshoot that one : )

Since you're putting them right onto Breeze, about the only thing you can do is ensure that you are capturing them at the right size and also once put onto the breeze slide you are stretching them to the proper size needed to display sharply. But I've found that Breeze will make things at least a tad bit fuzzy and there's nothing I could figure out to fix it. I'll be doing a lot more Breeze stuff later this year and will spend some time (days if I have to) before beginning trying to figure out the best approach.

One thing I would recommend is to avoid bringing it into Flash altogether. I started doing that a while back because I thought it provided me versatility, but then quickly realized that it wasn't really giving me any benefit, and just resulted in flash timelines of over 5000 frames and often more. For some of my stuff I only use Breeze as a server and on it I house my own separate captivate player (not Jester's) that I developed, and I call in the captivates into that. I had a problem with those being fuzzy and it turned out to be the html file (which brings up a whole other breeze issue - the ability to use loadMovie in Breeze isn't supported properly, but contrary to who you speak with at Macromedia, it can and does work with a workaround). The html file that calls the swf's was stretching the captivates ever-so-slightly.

Wish I could help more. If you want you could send me your swf and I'll try it out on my end. You can upload it here:

http://breeze97993712.beta.breezecentral.com/mark/

I'll try to play around with it to see if I can figure anything out with it.
May 3, 2006
Hey Mark,

Thanks for your reply. What I came to realize that bringing it into Flash is not a good idea, as it takes away all of the mouse movements and stuff like that. I am going to stick with the 720 x 540 resolution, I am quite satisfied with it. My desire would be to be able to insert 800 x 600 .swf files into PPT, but realized that PPT is cropping them because they are not within the recommended 720 x 540. So I am now satisfied with the quality, but, the buttons are still an issue, I am just missing something I guess, as mentioned before, I want to be able to have a *start* button in the Breeze Presenter window, that will open a new window, which actually starts a Captivate simulation. At the end of the simulation, I want a *finish* button that the user can click on, and then continue the Breeze presentation where it left off. I am trying to use fscommand and localconnection but am not having any luck, if any of you geniuses could drop some suggestive code for me, it would be greatly appreciated. Again, thank you all for your help.

Doug
April 28, 2006
Marc, you definitely are a genius with this stuff. Thanks for all your help, hopefully I can get this going

Thanks

Doug
April 27, 2006
Hi,

As I understand it, slides are advanced by the code built in to the "viewer.swf" Flash object. The only way you could cause the viewer to advance the slide (other than clicking one of its buttons) would be if it was programmed to respond to external communications. I have heard that earlier versions of Breeze actually included the project file (*fla) for the viewer file, which would be necessary to see if (and how) the viewer is set up to receive commands. It may use the fscommand() method, or it may use the LocalConnection() method. We'd need to know what command(s) it responds to, and what the local connection name is (for the latter).

If anyone has access to a viewer *fla file and can look these up, or one of the nice Macromedia people would like to provide the info, I'll happily write the code for this. The only other option is to send random commands to the viewer, and see if it responds.
April 27, 2006
Thanks for replying, I found this post in the archives....

http://www.directorforum.de/archive/index.php/t-41713.html

Would this help at all?

Thanks

Doug
April 27, 2006
Hi,

I haven't had any luck modifying the property "rs" to cause it to change slides, either by referencing _level0 or _root. I assume that "rs" is something custom in the breeze viewer code, as it's not a standard property or method, but it may be from an earlier version. Really, we could solve this in a few seconds if we could see the Actionscript associated with the viewer.swf file I'd be willing to bet we don't have to mess around with _root, that it accepts external commands for simple stuff like this.