Flash display in captivate
Hi again people,
I created a flash file and inserted it in captivate. The
flash files contains 4 movie clips that is hidden (not on stage),
and when I click on a button, the movie clip move from hidden to
stage.
Now, is all good until i insserted it in captivate and
publish it. I can see the flash files plus all the 4 hidden clips.
Can this be fixed?
thanks
Smoke and mirrors
I am assuming a button on your slide that you want to use to
bring the swf into play, but the problem is that the swf is already
displayed before the button is clicked??
I can think of 2 options that might work:
Have your swf appear after the button pause state in the
timelin in Captivate (Animation Properties/Options/Appear After xx)
Use a caption or screen image to "mask" the swf and set it to
disappear 0.1s after the user has clicked the button.
Hope this helps
Andrew
Similar Messages
-
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at captivate.veela_as3::rdSwfLoader/rdSwfLoaderEnterFrame()
at captivate.veela_as3::rdEmbeddedSwfPpt/rdSwfLoaderEnterFrame()
Any suggestions welcome - very frustrated by the introduction of this error by Captivate 5.5 - thanks for any help in advance
I've attached some code below - which works perfectly for SWFs created using Captivate 5.0 but an identical recording done with Captivate 5.5 provides the error when unloading.
My Captivate SWF is controlled by an interface SWF (for slide navigation) which is provided inside a menu SWF (which will eventually display several recordings to choose from). Basically, the menu SWF loads the interface SWF and displays a menu button which unloads the Captivate SWF and the user returns to the menu.
I do wonder if the problem exists because I have CP5.5 installed as a trial version and there could be a conflict between this and the full install of CP5.0. Incidentally, I did find that if I removed the FMR (Full motion recording) slides the error does disappear on the simulation recordings. But this doesn't help me with PPT to Captivate recordings where there is no FMR. Plus I actually want to keep the FMR if possible anyway . Hope this makes sense.
Menu SWF
stop();
var myLoader:Loader = new Loader();
//Demo 1 Button
demo1but.addEventListener(MouseEvent.CLICK, loadDemo1);
function loadDemo1(event:MouseEvent):void
demo_title.visible = false;
body_text.visible = false;
demo1but.visible = false;
demo2but.visible = false;
demo3but.visible = false;
demo4but.visible = false;
demo5but.visible = false;
lines.visible = false;
inst_txt.visible = false;
container_mc.addChild(myLoader);
var url:URLRequest = new URLRequest("http://....../interface.swf");
myLoader.load(url);
demo_menu_btn.visible = true;
dispatchEvent(new Event("actionhideMenuBtn",true));
//Demo Menu Button
demo_menu_btn.addEventListener(MouseEvent.CLICK, returnToDemoMenu);
function returnToDemoMenu(event:MouseEvent):void
MovieClip(myLoader.content).dispatchEvent(new Event("unloadE"));
demo_menu_btn.visible = false;
container_mc.removeChild(myLoader);
dispatchEvent(new Event("actionrevealMenuBtn",true));
demo_title.visible = true;
body_text.visible = true;
demo1but.visible = true;
demo2but.visible = true;
demo3but.visible = true;
demo4but.visible = true;
demo5but.visible = true;
lines.visible = true;
inst_txt.visible = true;
Interface SWF
import flash.system.fscommand;
import flash.net.URLRequest;
import flash.display.MovieClip;
import flash.media.SoundMixer;
var Xpos: Number = 50
var Ypos: Number = 96
var my_loader:Loader = new Loader();
my_loader.load(new URLRequest("http://....captivate_movie.swf"));
my_loader.x = Xpos;
my_loader.y = Ypos;
this.addEventListener("unloadE",unloadSwf);
function unloadSwf(e:Event):void{
my_loader.unloadAndStop();
addChildAt(my_loader,0);
stop();
//NEXT BUTTON//////////////////////////////////////////////////////////////////////
nextBut.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler);
function fl_MouseClickHandler(event:MouseEvent):void
MovieClip(my_loader.content).rdcmndNextSlide = 1;
//BACK BUTTON//////////////////////////////////////////////////////////////////////
backBut.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler1);
function fl_MouseClickHandler1(event:MouseEvent):void
MovieClip(my_loader.content).rdcmndPrevious = 1;Think of it this way. Think of the login.oscar.aol.com server as major town and port 5190 as the major highway to get to that town. Of course there are other ways to get to that town via other roads that are open (i.e. other ports that are open).
So if there's a big traffic jam on port 5190, why not choose another road/port (assuming the road/port is open or accepting traffic), such as 443? Consider it the back road that few people know about, in a sense, and maybe that would be why you're seeing better results with this port as opposed to the default port, 5190.
That may or may not be the reason, but that's why a different port works sometimes better than the default port.
-Ryan -
Flash animations in Captivate look choppy
I am using Flash animations in Captivate 3. The animations
are published to Flash Player 6 before being embedded in Captivate.
The Captivate project is in turn published to Flash Player 9.
The animations look good in the published Captivate SWF when
I run the SWF directly in Flash Player. However, if I run the SWF
in a browser (I tried both IE & Firefox, having Flash Player
9.0.45.0), the animations look very choppy and slow. What could be
the reason?
Regards,
MohsinKevin & Rick,
Thanks for your responses. I diagnosed the problem. It did
not have anything to do with frame rates.
What was actually happening is that my Captivate SWF was
1024x768 originally, but when opening it in an HTML, I was NOT
loading it at 100% of its size. Instead, I was loading it at
880x660 in the OBJECT tag of my HTML, which was causing the issue.
Even when I would open the SWF directly using IE, IE would resize
the content in order to display it completely, thereby causing the
animations playing within to rescale. This, somehow, made them look
choppy.
Cheers!
Mohsin -
Drag and drop flash template in Captivate
Hi,
I'm having troubles inserting drag and drop exercises, generated through a Flash template, into Captivate as a swf. They sometimes work but the result is very instable. Here are two examples with the exact swf : one works fine and the other one doesn't display the buttons. The only difference is a blank slide in the second one...
Has anyone tried this before have any idea?Michael
Thanks for taking the time to check out the files.
Here's the problem : example 1 shows OK, the buttons are visible and active. These two top buttons (circled in red) are from the embedded swf file, whereas the third one in the bottom was created in Captivate. They have the same look and feel sothat users won't notice the difference.
Now, in example 2, these buttons from the swf file don't show. The Captivate button works fine.
The two swf files are basically clones, nothing has been altered exept for sounds and images. The code is from the Test template that comes with Flash. They work perfectly fine while played alone, but have this behavior where embedded in Captivate.
I have the exact same problem whatever the way I open them (Flash player, Firefox or IE 7), and my Flash player is up to date. Both the swf and the cp are AS 2. -
When importing a flash animation into captivate flash will not call external files
Is there a way to import flash into captivate and it still be able to call external files (ie. sound, video xml)? When I import flash into captivate it will not call any external file.
Hi all
Wow, I was so hoping fellow Adobe Community Expert Paul Dewhurst would pop in on this thread.
Why? Well, Paul sent me a way cool gizmo a while back that hacked the Info button. It used an external file for some of the information! So somehow Paul managed to sort what it took to insert a Flash object into Captivate and have that object extract data from an externally located file.
Cheers... Rick
Helpful and Handy Links
Captivate Wish Form/Bug Reporting Form
Adobe Certified Captivate Training
SorcerStone Blog
Captivate eBooks -
Hello, i've a class named LoadImages with the code:
package
import flash.display.MovieClip;
import flash.events.MouseEvent;
import flash.events.Event;
import flash.display.Loader;
public class LoadImages extends MovieClip
private var _root:MovieClip=new MovieClip();
public function LoadImages(numImages:Number, rt:MovieClip)
and i've a second class named MainJogo that call's LoadImages:
package
import flash.events.*;
import flash.display.Loader;
import flash.display.MovieClip;
import flash.display.Stage;
import LoadImages;
public class MainJogo
#error
private var imgMc:LoadImages=new LoadImages(2,this);
#error
public function MainJogo(url:String)
if i just post the MainJogo class code in TimeLine there is no problems but if i run the app like this with 2 classes i keep getting the error
1067: Implicit coercion of a value of type Class to an unrelated type flash.display:MovieClip.
Can someone help me please?
thanksMainJogo is not a Movieclip so "this" (in the scope of MainJogo) is not a MovieClip.
if MainJogo did extend the movieclip class, you would probably still need to cast "this" as a MovieClip.
you could use:
package
import flash.events.*;
import flash.display.Loader;
import flash.display.MovieClip;
import flash.display.Stage;
import LoadImages;
public class MainJogo extends MovieClip
private var imgMc:LoadImages=new LoadImages(2,MovieClip(this));
public function MainJogo(url:String) -
These are my errors: in Adobe Flash CS5.5
I don't understand why this script doesn't work. I am new to Action Script 3.0 and I watched this incomplete video on youtube. -- http://www.youtube.com/watch?v=LC7BaZCForE&feature=relmfu -- and I got the fails below.
Scene 1, Layer 'actionscript', Frame 1, Line 11 1067: Implicit coercion of a value of type flash.display:MovieClip to an unrelated type Class.
Scene 1, Layer 'actionscript', Frame 1, Line 11 1118: Implicit coercion of a value with static type Object to a possibly unrelated type flash.display:DisplayObject.
Main Timeline:
import flash.filters.GlowFilter;
import flash.events.MouseEvent;
import flash.display.MovieClip;
var navBtnGlow:GlowFilter = new GlowFilter(0x999999, 0.5, 0, 15, 1, 2, true, false);
navbar_jj.addEventListener(MouseEvent.MOUSE_OVER, navOverF);
navbar_jj.addEventListener(MouseEvent.MOUSE_OUT, navOutF);
function navOverF(event:MouseEvent):void{
event.target.filters = [navBtnGlow];
navbar_jj.setChildIndex(event.target as MovieClip(event.target), 1);
dropmenus_jj.gotoAndStop(navbar_jj.getChildAt(1).name);
trace("We are Rolled Over..." + navbar_jj.getChildAt(1).name)
function navOutF(event:MouseEvent):void{
event.target.filters = [];
Clicker Drop Down
import flash.events.MouseEvent;
stop();
leadersframe_btn.addEventListener(MouseEvent.MOUSE_OVER, goBackF);
function goBackF(event:MouseEvent):void{
gotoAndStop (1);Use:
navbar_jj.setChildIndex(MovieClip(event.target), 1);
Or
navbar_jj.setChildIndex(DisplayObject(event.target), 1); -
1172: definition flash.display.GraphicsPathCommand could not be found
What do I need to do to make the following statement recognized?
import flash.display.GraphicsPathCommand;
I imported an example drawing project AS3Effects from Gilbert Mizrahi based on the works from Todd Yard.
In that project the actionscript code and mxml code recognize the import above. But any of my other projects, applications, or actionscript classes I get the error above.
What am I missing?I figured it out. Under the properties for the Project you define the version of Player to require. Player 9 does not inclued GraphicsPathCommand.
I changed the version to 10.0.0 and I now see the Player 10 supported classes in the auto-complete or whatever it is called.
I'm glad the forum is here for the tough questions. -
Need of flash.display.loader
Im currently in need of a library that contains flash.display.loader. I searched in google but the libraries I found doesn't contain display.loader. Would you mind to give me link where I can download this? Thank you guys.
It's part of the standard "package" from Adobe. You already have in Flash professional or Flex SDK.. I don't know what you use..
Just add a line at the begining of youf code:
import flash.display.Loader; -
Multiple Flash Movies in Captivate 1.0
ok, heres the problem!
I have imported a sound control into captivate which gives me
better savings on the audio file size rather than letting captivate
do the compression. These controls are limited to play and pause.
well the problem is that I forgot to add a 'rdcmndPause = 1'
command to the pause button actionscript and a subsequent
'rdcmndResume = 1'. So although the narration is pausing and
playing as you would expect, unfortunetly the slides are still
playing onwards.
has anyone taken a stab at controlling imported flash
animations from other movies?
I suppose the concept is that rather than re-export all of my
narration files across again with the additional actionscript I
would like to be able to add a small 'widget' which checks the
status of the sound file and acts accordingly?
Any help would be greatly appreciated.It seems that when you import an external flash movie into
Captivate 1, the full path is...
"_level0.slide0__image_mc.s0_i9_swf_mc.m_swf_mc"
...this was the start of the solution for my problem so I
thought it best to post in case it helps out anyone else.
BTW - The slide number changes (obviously) and so does the
'i' reference depending on the attributes you have given to your
imported movies. -
IMPORTING FLASH FILE IN CAPTIVATE
Hi!
I have an interactive training module created with Flash. It has buttons, videos, and quizzes.
Now, to make it compatible with SCORM. I was advised to use Captivate.
Is it possible to export the whole flash file in Captivate? Please help.
Thank you very much!If this was all developed in Flash then the best bet is to use the Pipwerks SCORM wrapper to make your Flash file compatible.
More info here: http://pipwerks.com/
You may be able to insert your Flash file as an animation into Captivate, but this won't make it SCORM compatible. You might be able to recode the Flash file as an interactive widget and make it have a Success result when the user passes the module. Then when you insert it into Captivate you can set the interactive widget to have a score.
More information about coding widgets can be found here:
http://www.infosemantics.com.au/widgetfactory/info -
Importing Flash Animation into Captivate
I am trying to Import an animation from flash 8 into
Captivate. It allows me to do this however the frame rate of the
animation which was created in flash when imported to Captivate
changes. Does anyone know how change the frame rate of the
animation in captivate.Hi laxmi1 and welcome to the community
Hopefully when you created your Flash animation, you
published as Flash 6 output.
I believe the standard frame rate for Flash is 12. Captivate
is 30. So you can either bump the Flash rate up to 30 and
re-publish, or in Captivate, you can adjust the frame rate to match
Flash and set it for 12. To do this, click Movie >
Preferences... > Preferences tab. From there, it should be quire
obvious what to do.
Hopefully this helps... Rick -
Mac mini 2011 discrete graphics - flashing display (hp2207h model)
Has anybody experienced a flashing display immediately after power on and throughout the boot with hdmi? I currently have this problem with an HP 2207h display. If others see this with other types of monitors, please reply as well. If anybody has a solution, feel free to reply.
For my testing, the hdmi cable is a known working cable, and the hp display works fine with wintel pc (bios and OS)...no flashing.
My mac mini is the 2011 model with discrete ati graphics.The graphics on the mini are integrated on the logic board, in a similar manner to your iMac. If the video circuitry 'breaks', you'd have to replace the logic board.
The Mac Pro is the only current mac that has a separate video card. All others are integrated on the logic board. Have you considered a refurbished Mac Pro? There are currently 6 available in the US Apple online store: http://store.apple.com/us/browse/home/specialdeals/mac?mco=OTY2ODY3Nw
Nobody here knows Apple's release plans, and speculating is against the rules. You might see what this site has to say: http://buyersguide.macrumors.com/#Mac_Pro
If you buy a system with integrated graphics on the logic board, you might consider Applecare to at least cover you for 3 years. -
Flash.display.DisplayObjectContainer.stopAllMovieClips():void
AIR SDK 3.8.0.440 has flash.display.DisplayObjectContainer.stopAllMovieClips():void instead of stopAllChildren(). Is there any change in the behavior (stopAllChildren was not actually working it seems), or is it still unsafe?
Also it seems it's not implemented on Android.
-
Export Project To Flash CS5 From Captivate 4
Can I export to Flash CS5 from Captivate 4? The File > Export > Project To menu only provides options for Flash CS3 and Flash CS4 and they are greyed out. I have only CS5 Master collection installed.
Hello there,
Unfortunatley, you cannot export to Flash CS5 from Adobe Captivate 4. You would need to upgrade/purchase Adobe Captivate 5 to do this.
The other option would be to export to see if you can still download trial copy of Adobe Flash CS4 Professional, export your Captivate file and then open it in Flash CS5 Pro.
Best regards,
Mark
Maybe you are looking for
-
Using Time Machine HD, can I transfer applications to new iMac
I have been using time machine to an external drive for 3 years. I'm going to buy a new iMac in June. When I transfer data etc. using the TM external drive, will it transfer my applications? Many of my apps were downloaded and I don't have discs. Whe
-
GRC 10.0 Access request Management Audit
Hello All, Can Anyone let me know what Auditors Check When they Audit GRC 10.0 Access request Management (excluding Configuration). Thanks Mohammed Wasim
-
Any way to mass locate files?
Ok, I've reimported my library, but iTunes looked in My Music/iTunes instead of My Music where all the files were. Now all the songs and their data (play count, ratings, etc) are in the library, but can't play because I need to relocate the files. No
-
The problem with de noiser on sound in Premiere pro 2014.1
I use de noiser on the sound file in TL. but after rendering its action does not begin immediately, but after 2 seconds. This happens no matter, applied de noiser to the clip, or the entire track. sorry for my bad english.
-
Ok, i'm a boob, i was using firefox, hit some button inadvertantly and now when i double click to open it, it goes straight to minimized. Using 33.1.1 with windows xp.