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.
Similar Messages
-
Help with multiple flash movies in same website
I'm trying to create a website in dreamweaver. I created the
artwork in fireworks. a slice of it i exported to flash to create
rolling clouds over the background. i also want in the same swf
file a screen for my main content. ( I used a scrollPane component
that works nice. But for each button on my web menu (home,
schedule, ect...), I want to be able to put new content in my
scrollPane. My buttons don't reside in my flash movie. Do I need to
create a new movie for each web page?
I'm not sure how to procede.
Can anybody help?
bradIt 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. -
Flash movie controlling Captivate navigation in an Aggregator project
Hi everyone,
I have a Flash movie which shows a Continue button after an interaction is completed by the user. This functionality prevents the user from clicking through the interaction slides so there is no captivate playbar or nav available. This Continue button works fine in advancing the Captivate movie that contains the Flash movie while published as an individual captivate file. However, when I take that published captivate movie and load it into an aggregator project, the communication of the cpCmndGotoSlide variable does not function properly. I'm using the following code in the Flash movie:
// captivate access...
var myRoot:MovieClip = MovieClip(root);
var cptxMovie:MovieClip = MovieClip(myRoot.parent.root);
var slide:String = cptxMovie.cpInfoCurrentSlide; // get current slide for workaround below
// Continue button handler...
// cptxMovie.cpCmndNext = 1; // wouldn't work at all
var theNextSlide:Number = Number(slide) + 1; // workaround for cpCmndNext not working
cptxMovie.cpCmndGotoSlide = theNextSlide;
Is this because I'm calling the root, and the root is the outermost parent (the aggregator movie) and I need to communicate with the immediate parent of the flash movie (the submodule captivate)?
How can I access the intermediate captivate while it is in aggregator?
This is an AS3 flash and captivate and I'm using Captivate 5.
Thanks in advance!
BrianHi Tristan,
Thanks for the reply and the great code!
I tried it out and got the dynamic text field to display that it had found the main timeline, however, it still would not advance properly. Maybe I'm not doing something right with it. Here's how I had it:
// captivate access...
var cptxMovie:MovieClip = getParentWithProperty("cpCmndGotoSlide", this);
var slide:String = cptxMovie.cpInfoCurrentSlide;
function getParentWithProperty(propertyName:String, startFrom:DisplayObjectContainer):MovieClip {
if (startFrom.hasOwnProperty(propertyName)) {
trace("Found the Captivate Main Timeline");
checkCode.text = "Found the Captivate Main Timeline";
return startFrom as MovieClip;
else if (startFrom == stage) {
trace("Could not find the Captivate Main Timeline");
checkCode.text = "Could not find the Captivate Main Timeline";
return null;
else {
return getParentWithProperty(propertyName, startFrom.parent);
// advance button handler...
function advance(e:Event):void {
for (var i:uint=0; i < orangeCircleArray.length; i++) {
orangeCircleArray[j].removeEventListener(MouseEvent.ROLL_OVER, onRollover);
orangeCircleArray[j].removeEventListener(MouseEvent.ROLL_OUT, onRollout);
var slideNum:Number = Number(slide);
var theNextSlide:Number = slideNum + 1;
cptxMovie.cpCmndGotoSlide = theNextSlide;
btnContinue.removeEventListner(MouseEvent.CLICK, advance);
Thanks! Brian -
Multiple flash movies on 1 web page?
So, I'm working on a new site. Very graphical and will have a
lot of cool bells and whistles. At first, I was creating it
entirely in flash but I abandoned the idea because I just can't
help but click the back button when I feel I need to, and doing
that takes you all the way back to the previous HTML page instead
of previous thing in the flash movie and it gets annoying fast, and
I know if it happens to me it'll happen to plenty of others. So, I
was thinking about just building it as html/dhtml with all the cool
css tricks everyone and their mom are doing these days.
The old versions was set up with one big movie for the
interface, and smaller movies for the content that get loaded in
with the loader component. Worked pretty well. So, I was thinking..
what if I still kept those content pieces and loaded them in over
the HTML, using DHTML to position stuff and the little
wmode=transparent thingy so you can still see the background HTML
bitz that need to be there. I mean, I know it can be done and how
to do but my question is, what if I want to have the menu in flash
too? and maybe the site logo animated? Or a rotating flash add at
the top that's loading in a few different ads and cycling through
each one like a slideshow? Will 3-4 different flash elements on 1
page be bad? My first guess is it will slow things down a lot, but
will it? I mean, it's not HUGE files it's more like smaller bits..
logo, menu, ad and content .. the content will mostly just be text
and some photos, nothing too fancy. I don't want it to slow down
people's computers OR take forever to load/display (which it
shouldn't). So it will be HTML pages loading in flash movies, so
the back button will finally work!
The reason I'm considering doing this is more for font issues
than anything else, and some cool transparency effects I can
accomplish with smaller files and better compatibility than if I
use PNG files
Any thoughts? is this a good idea or should I just try to do
it all with DHTML stuff? I can do it that way, i was just thinking
using Flash might be easier & better for some parts...Yes, it is fine to do that.
Dave -
www.offroadfire.com
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ -
Controling Flash movies from another movie
I have a site that has multiple flash movies in it. One on
the top level within a tablecell, the other loads into a central
iframe. I want the movie in the table cell to play when the movie
in the iframe hits a certain point, but I can't figure out the
targetting. Is it even possible to use the gotoandplay() function
to target a movie that is not within the curent movie? If so what
would my targeting path look like?
Thanks.sagew wrote:
> How do you get a movie (embedded I guess) from the
library of one Flash file
> into another Flash file? I'm working from a template
file and I want to use
> something from the original template file to replace one
I messed up.
Open two files, go to library CTRL L and you can view in the
same time library of
all the open files at the moment. Than you can copy paste
simply the content.
Regards
Urami
Happy New Year guys - all the best there is in the 2006 :)
<urami>
http://www.Flashfugitive.com
</urami>
<web junk free>
http://www.firefox.com
</web junk free> -
Passing multiple session values from cold fusion into a flash movie
Hello all,
I know that to pass multiple variables into a flash movie
you could use the embed tag like this(with the & between each
variable):
<embed
flashvars="variable1=value1&variable2=value2"
></embed>
Now to pass a single session variable from coldfusion in i
did the following; which worked:
<embed
src="ASdb.swf"
FlashVars="UserName=<cfoutput>#session.userName#</cfoutput>"
width="550" height="400" autostart="true">
</embed>
Note that i had to use the cfoutput tags to get the value
stored in the variables. Now; i tried to do the same thing for two
session variables and the second one does not get read in. Here was
my code:
<embed src="ASdb.swf"
FlashVars="UserName=<cfoutput>#session.userName#</cfoutput>&testTypeID=<cfoutput>#session .testTypeID#</cfoutput>"
width="550" height="400" autostart="true">
</embed>
Can someone please tell me what I am doing wrong? Thank you
very much in advance.Hold on there was a little error: My final code that did not
work was the following:
<embed src="ASdb.swf"
FlashVars="UserName=<cfoutput>#session.userName#</cfoutput>&testTypeID
=<cfoutput>#session.testTypeID#</cfoutput>"
width="550" height="400" autostart="true">
</embed> -
Captivate/Flash Movie Starts Automatically
I'm learning to use RoboHelp X5 and tried placing an .swf
(Flash movie) that I created with Captivate within my WebHelp. In
Captivate I added a playback control bar (forward, pause, play,
etc.), which works great standalone. However, after generating the
WebHelp, when I view the page that the movie is on, the movie
starts automatically---actually it waits about 8 seconds, but then
just starts. I would expect the person viewing the movie to have to
use the playback control to manually start the movie. Is there an
option somewhere that I need to turn on/off?
Thanks,
JohnHi John and welcome to the community
There are two ways I'm aware of that can be used to
accomplish this.
The first and possibly simplest way is to simply insert a
click box at the very beginning of the movie. By default, click
boxes are configured to pause the movie until the user interacts by
clicking the click box area. Actually, if you are presenting your
movie in .EXE format, I believe this is the only way you can
accomplish it.
The second way is to configure the HTML code used in the HTML
Companion page. Obviously this only works if you are presenting
your movie in .SWF format and using the companion HTML page to
display the movie.
Captivate creates the following code when you create Flash
(SWF) output and select the Export HTML option.
<!-- saved from url=(0013)about:internet -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"
http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<title>Movie Title</title>
</head>
<body>
<center>
<object classid="clsid
27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
width="640" height="480" ID="Captivate1">
<param name="movie" value="MovieName.swf">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="loop" value="0">
<embed src="MovieName.swf" width="640" height="480"
loop="0" quality="high" pluginspage="
http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" menu="false"></embed>
</object>
</center>
</body>
</html>
If you amend this code by inserting <param name="play"
value="false" /> and play="false", you achieve the goal of
displaying the movie in a "paused to begin with" state.
Amended code is below
<!-- saved from url=(0013)about:internet -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"
http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<title>Movie Title</title>
</head>
<body>
<center>
<object classid="clsid
27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
width="640" height="480" ID="Captivate1">
<param name="movie" value="MovieName.swf">
<param name="play" value="false" />
<param name="quality" value="high">
<param name="menu" value="false">
<param name="loop" value="0">
<embed src="MovieName.swf" play="false" width="640"
height="480" loop="0" quality="high" pluginspage="
http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" menu="false"></embed>
</object>
</center>
</body>
</html>
Hope this helps... Rick -
Force flash to open file download box in front of the flash movie
Folks,
I'm making a dvd title using flash to auto start when people
pops the dvd disc in.
I have a button 'Click here to download the movie' and
clicking the button should pop up a file download box so people can
save the movie file(.mov) to their desktop.
Problem is that the file download box shows up behind the
flash movie so people won't be able to see the download box since
it's hidden behind the flash. This is critical since I intend the
flash to open as a full-screen mode.
Is there a way to force the flash to open the download box in
front of the flash movie?
I tried getURL and fscommand ("exec", "filename.exe") and
even fileReference commands to try different way of linking the
movie file, and they all open download box behind the flash.
Please help~~~Please do not post the same topic in multiple forums. The
only thing I can suggest is when they click on the button to
download, you take flash out of full screen while they download the
video, you can use fileReference to control and monitor the
download. Use a listener object to monitor when download is
complete, then set flash back to full screen.
How are you scripting the full screen? -
Embedding flash movie in a web page
I have created a flash movie using actionscript 3 and an xml file with a list of images for a slideshow. After clicking publish, I can view the slideshow by previewing the html file it creates for you. However, I want to embed this flash movie in a different web page. When I try to add it in Dreamweaver, by dragging and dropping the swf file into the page, a flash placeholder is generated, but the movie does not play when previewed. It is just blank white space.
Now I watched the Tom Green tutorials on "flash the easy way" and my flash (CS4 professional) did NOT generate the AC_RunActiveContent.js files. I did find and download the file and manually added it to my Scripts folder. Still no joy.
I will note that the html file that embeds the flash video is in a different directory than the movie itself. Surely this cannot be the issue, otherwise people's websites would be incredibly messy with multiple flash videos. I am trying to put all the flash movies in their own child directories of a /flash directory to keep them neat and organized.
I am not sure what to do next. How do you make the dang thing play on a web page that is in another directory?If you are loading content ala using an xml file, that may be the source of the problem. When you load a Flash file into a web page, that web page becomes the frame of reference for any files that the swf loads. So if you tested this where the html file was in the same folder, but then moved things into different folders, then you need to adjust the Flash to load things as if it is in the html file's folder
-
Flash movie in IE modal window freezes
Hi,
We have a Flash application, written in AS 2, that presents system simulation to learners. During the process we present "audio popups" using External Interface to call a JavaScript function that ultimately calls window.showModalDialog (It's for a corporate environment that requires IE). The page it opens contains a flash file. When one of these audio popups occurs on the first step of the simulation, the flash in the popup is frozen.
Is anyone aware of a scenario that could cause files in modal windows (or possibly just 2 Flash movies on the same page) to freeze up? The file loads, but doesn't play beyond frame 1 and is unresponsive if there is a button.
I can change the Flash file in the popup and the result is always the same, so it's not the file in the popup.
I've replaced the Flash file on the root page with a simple launch file that only calls the popup and it works fine.
Also replacing the modal window with a window.open seems to work as well, but right now we'd like to continue using the modal.
Possibly worth noting, if the modal window is open for too long, I get a "A script in this movie is causing Adobe Flash Player 10 to run slowly...." notice when I close the popup. Not sure if it's related.
Thanks for any help,
JeffHi kp
Is this Captivate 1 or 2? There are no issues to my knowledge
with either playing the movie in IE7. I use IE7 and see movies just
fine.
My question about version stems from the fact that there are
typically more files to distribute with Captivate 2 than there are
with Captivate 1. However, this can also depend on what you have
selected when you publish. For example, in Captivate 1, you would
have three files to ship if you used the .SWF output with the Full
Screen option. There would be two HTML files and a .SWF.
With Captivate 2, assuming you haven't deviated from the
defaults, you have four files. Two .SWFs, one .HTM and a JavaScript
file.
When you said you see a "black" screen, does this mean the
screen is really black? Or was that a typo and you meant to say it
was "blank" instead. If so, you need to be aware that there is an
additional file you need to include. If you fail to copy the
JavaScript file, the page is blank. I'm thinking this is a strong
possiblity here.
Cheers... Rick -
Multiple flash files change when a button click using javascript function
hi.. am new in flsh...
i want to multiple flash files change when a button click using a javascript<script>
var count=0;
function mafunct(newSrc){
alert("hi");
var path="a"+count+".swf";
flash+='<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" WIDTH="100%" HEIGHT="100%">';
flash+='<PARAM NAME=movie VALUE="'+path+'">';
flash+='<PARAM NAME="PLAY" VALUE="false">';
flash+='<PARAM NAME="LOOP" VALUE="false">';
flash+='<PARAM NAME="QUALITY" VALUE="high">';
flash+='<PARAM NAME="SCALE" VALUE="SHOWALL">';
flash+='<EMBED NAME="testmovie" SRC="Menu.swf" WIDTH="100%" HEIGHT="100%"PLAY="false" LOOP="false" QUALITY="high" SCALE="SHOWALL"swLiveConnect="true"PLUGINSPAGE="http://www.macromedia.com/go/flashplayer/">';
flash+='</EMBED>';
flash+='</OBJECT>';
count++;
alert(path+"aa");
</script>
<button onclick="mafunct()">next</button> -
Multiple Flash player in One WebPage.
hi,
I tried to test Smart Seeking with multiple flash player in One WebPage.
So, Only one player is started and the others is buffering.
What's problem ?
I changed properties like 'MaxIOThread', 'MaxConnection'. but it's useless.
Please advice to me.
Thanks,right!
here is my source.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<htm style="width:100%;height:1000"l>
<head>
<title>Smart Seeking</title>
<script type="text/javascript">
var flashid = 0;
function flashWrite(url,w,h,id,bg,vars,win){
var flashStr=
"<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='"+w+"' height='"+h+"' id='"+id+"' name='"+id+"' align='middle'>"+
"<param name='allowScriptAccess' value='always' />"+
"<param name='allowFullScreen' value='true' />"+
"<param name='movie' value='"+url+"' />"+
"<param name='FlashVars' value='"+vars+"' />"+
"<param name='wmode' value='"+win+"' />"+
"<param name='menu' value='false' />"+
"<param name='scaleMode' value='noScale' />"+
"<param name='showMenu' value='false' />"+
"<param name='align' value='CT' />"+
"<param name='quality' value='high' />"+
"<param name='bgcolor' value='"+bg+"' />"+
"<embed src='"+url+"' FlashVars='"+vars+"' wmode='"+win+"' menu='false' quality='high' bgcolor='"+bg+"' width='"+w+"' height='"+h+"' name='"+id+"' id='"+id+"' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />"+
"</object>";
document.write(flashStr);
</script>
</head>
<body style="width:100%;height:1000">
<script type="text/javascript">
flashWrite('TestPlayer.swf','100%','1000','swf','','css=assets/css/NasmoPlayerStyle.css&c onfigURL: config/config.xml&filepath :2010-05-12/sion1219_20100512210001.asf','transparent');
</script>
</body>
</html> -
Hello,
I imported a Flash movie (created in 8, saved in 6 to work
with Captivate). It's a graphic of an engine with a list of engine
parts on the left. The student needs to drag the engine part name
to the engine part in the graphic. My question is: Does Captivate
allow for an imported Flash to be interactive?
The inverse of that question would be this question: If I
exported the entire Captivate project to Flash (it's about 5
slides), what is the latest edition of Flash that will work with
Captivate? I tried exporting the project to Flash 8 and got a
warning that the latest Macromedia version that works is 2004, but
I have since upgraded to Macromedia Studio.
I'm just looking for whatever scenario will allow my cool
Flash drag n' drop to be a part of this Captivate-created practice
test.
Thanks!Hi naimahav
Take a look at the following link and you be the judge as to
whether drag-n-drop can be used in a Captivate movie...
Click here to
see the page
Captivate can be coaxed to work with Flash 8. Take a look at
the link below for details.
Click here to read the
TechNote
Cheers... Rick -
How to sync multiple flash players on multiple networked computers
I want to play, stop or start simultaneously the same flash
movie (presentation) installed on multiple computers connected to a
LAN. Do you have any idea how to do this?It has to do with networking. Go to your computer
administrator and tell them what you want, they will link all the
computers to one and you can have full control. Alternativly just
put it up via a projector! -
I've been trying to recreate the flash movie they have on
http://www.comcast.net/news/
its in the middle of the page.
I have everything except I cannot get that black fadein to
go as smooth and fast. I've tried making more frames
and less frames, but it doesn't seem to make open as smooth.
Is there a way to code a different fps for just the fade in?
or
Does anyone have any ideas?
Thanks in advanceYour attachment appears to be lost in the queue... not abnormal for the new and improved forums.
Anyways, for what I think you are trying to do you should look into using the Tween class. If you Google "AS2 Tween" the first result you get (a Kirupa article) may be enough to get you started--I didn't look beyond that one. In your case you would probably be tweening the _y property of the page movieclip. When it comes to changing pages, you might also want to incorporate a listener so that you can first tween out the current page before you tween in the new page. You can have multiple tweens working at the same time for the same object, so you might want to add an _alpha tween into the mix as well.
Maybe you are looking for
-
How can I stop multiple downloads of the same email from sympatico.ca?
Sympatico email has been set up with POP enabled and Do What the App says when deleting downloaded messages. TBird Account has been set up with server settings Leave Messages On Server unchecked. Starting a month or so ago, a second copy of an email,
-
Restoring iPhoto6 library to iPhoto6 on a new computer via DVD
Hello - Recently my Mac was stolen, it did have iLife 6 on it. Luckily I backed up my photo library to a DVD. I have a new iMac G5 with iLife 6 and tried to restore my Photo library. I dragged and dropped the entire file from the DVD to the iPhotos l
-
Dirty loader. what is the unload concept? Please help me.
I have load external swf file with loader. The external swf file have animation with embeded mp3 file . when i click the btn unload the external swf file .external swf file is unload ok. But Problam is after few seconds sound is hearing. I think ani
-
How can i pass array as parameter
I want to pass user input array to a separate class and do mathematical operations . I want to know how to pass thedata entred by user to another class method or same class separate method
-
I used to be able to batch name my photos with a title and then let i-photo put a number after it (like airshow 1, airshow 2.....) Now it won't work it looks like its going through the process but when I check info the photos still have the file name