Pausing Captivate 6 with a swf created in Flash Pro
Not sure why my code isn't working but I've tried a few different things based on what's worked for other people. The code is placed on the frame where I need the interaction to pause. None of them appear to be working. I have a custom Flash interaction that the student needs to complete before continuing with the course.
Here are the things I've tried:
MovieClip(root).rdcmndPause = 1;
var mainmov:MovieClip = MovieClip(root);
mainmov.rdcmndPause = 1;
var myRoot:MovieClip = MovieClip(root);
var mainmov:MovieClip = MovieClip(myRoot.parent.root);
mainmov.rdcmdPause = 1;
FYI, I've tried both rdcmndPause and cpCmndPause for each of the above. Anyone have any ideas? Also, I'm getting ready to upgrade to Captivate 8. Have they made it any easier in that version to do this sort of thing?
Thanks,
Jeff
in frame 1 of my fla source code, i used this var and event to interact with the captivate variables:
var captivateVariables:*;
addEventListener(Event.FRAME_CONSTRUCTED, isAdded);
and then this function:
function isAdded(e:Event){
//txt.appendText("isAdded\n");
removeEventListener(Event.FRAME_CONSTRUCTED, isAdded);
try{
captivateVariables = Object(parent.parent).getMovieProps().variablesHandle;
//txt.appendText("captivateVariables: " + captivateVariables.cpCmndPause + "\n");
catch(e:Error){
and then i inserted it onto a captivate slide in frame 1.
note: txt is a dynamic text area i put on the flash stage so i can see what was happening, since there is no trace statements coming from a running captivate file.
Similar Messages
-
Publishing with AC2 to create 1 flash file
I am working with a CMS that can work well with flash files
individually. They tend to be rendered just fine (therefore I get
to bypass the html export). Upon trying Adobe Captivate 2, the
publish feature creates 2 flash files (and others, but later on
that) - one for the skin, one for the content. Is there some way to
get AC2 to publish the skin and content into one file? Or am I
going to have to do that in Flash 8?Larry
I am new to this forum and have found helpful information for
problems I have had, posted from you and others. Thank you and the
others for your volunteer help. Volunteer service is not always
rewarded. I do want to say for myself and others, you are
appreciated.
Though, I have noticed a trend in several of the threads.
Especially when information is provided to new users.
You asked
"What more could I have done to be nice (enough) for your
highly cultivated sensibilities?"
You could have simply left out the following in your reply:
"I've been around for years, and am having to "guess" at what
your intent is, so you can imagine how many folks might have even
less clue than I, and they might also know the answer, if they
could understand the question."
I sense a need for you to bring up that you have knowledge of
the product and volunteer your help at every turn. Simply providing
the answers to the problems will send the same message.
You obviously understood the two acronyms used. andKlinger
even spelled out Adobe Captivate 2 in the sentence preceding the
one in which he used "AC2." I would think on a forum where CMS,
LMS, SCORM, SWF, HTML, JS, and many others are used, we could
simply put an assumption statement in the response.
Your choice of paraphrasing one of the most arrogant
characters in movies is informative.
"Intelligence trumps muscle, Imagination Trumps Both!"
Arrogance shuts the door to communication.
Let's make new users feel welcome by toning down the
commentary and just try to help.
It is ironic that after many of dressing downs you follow it
up with "Welcome to the community." -
Need Your Help with Loading SWF into another Flash Movie!
Hello,
I have created TWO Flash movies. They work just fine
individually, but I get problem when I put one into another one!
The main Flash is a Menu and the second one if a Photo Album.
The Menu is series of animation (Moving Objects) which finally
comes into rest and create the menu. The photo album is another SWF
file which is called with in the first Flash Movie (The Menu). The
SWF file is loaded as follow into the Main Flash.
MovieClip.prototype.drawRect = function(x, y, w, h) {
this.beginFill(0xFF0000, 100);
this.moveTo(0, 0);
this.lineTo(0+w, 0);
this.lineTo(0+w, 0+h);
this.lineTo(0, 0+h);
this.lineTo(0, 0);
this.endFill();
this._x = x;
this._y = y;
this.createEmptyMovieClip("mc6", 6);
mc6.lineStyle (3, 0x000000, 100);
mc6.drawRect(-77, -17, 20, 20);
mc6._xscale = 100;
mc6._yscale = 100;
loadMovie("photoAlbum.swf", mc6);
Problem arises when I click on the Play Button of the
photoAlbum.swf (Photo Album) since the execution of the play button
causes the Flash starts once again from the beginning of the entire
Flash Movie (Beginning of the animation creating the menu) and it
simply jumps into the Firm One of my Flash Movie.
Could you tell me how I can isulate what is in layer 6 (Where
the photoAlbum is loaded to) from the rest of my Flash Movie?
I hope I managed to explain my problem. I would like to take
this opportunity to thank you in advance for your help.
Cheers,
BabakHello Anya,
I have realized the problem arises from the Wait Function
which causes the Photo Album to pause for a period of time (Two
Seconds) once a Photo is fully displayed (I have Fade in/out Photo
Album). I realized everything works OK once I remove the function
and rather left the Photos to be flipped without any pausing (This
is an Auto-loading Album which simply Flips the photos!).
Here is the Wait Function which is causing all the trouble.
function wait()
stop();
var myInterval = setInterval(function ()
play();
clearInterval(myInterval);
}, 2000);
Thank you so much for your help.
Cheers,
Babak -
Saving Flash 7 SWF created in Flash 8
I understand from experience that viewing Flash 8 SWF files
on the Flash 7 Player results in text not showing up. The Flash 8
text is obviously superior, but unfortunately, a major contingent
of my viewers are too afraid, too naive, or their systems are too
messed up to upgrade their Flash Players from earlier versions.
Obviously, to solve the problem, I can save the SWF as Flash 7
backward compatible; however, I am more than disappointed with the
results of this solution. The main problems with this approach is
that the text looks week and the bitmap alignment is no longer
perfect when trying to intermingle my flash content with existing
background content.
Please someone help me with a better solution by providing me
with a list of parameters that need to be in place so that my Flash
7 files created in Flash 8 look more presentable.> Peter, as for a list of parameters, I mean precisely
what options should
I
> check off in the Flash 8 export movie dialog box when
saving Flash 7
compatible
> SWF.
There seems to be come confusion here. It's not a matter of
'checking off'
options, rather of publish settings. In the 'Publish
Settings' dialogue,
under the 'Flash' tab, 'Version', select 'Flash Player 7'.
the important
thing is not to use any *features* that depend on Flash
Player 8 - these
include (but are not limited to!) filters, any of the new
text rendering
options (custom anti-alias), any of the new Classes (geom,
filters, display,
external) etc etc etc.
> I cannot dissagree more. I have examples where my symbol
elements shrink
about
> half a pixel compared to when exported normally in Flash
8. This is aweful
when
> the edges of my animated sections don't line up with the
non-Flash
content. I
> tried saving my FLA as Flash MX2004, reopened and
exported the movie as
Flash 7
> and that didn't help.
Again, you are a bit confused I think. Obviously they will be
different than
if published for FP8 - that wasn't my point. What I said was:
> > If you are publishing for Flash Player 7, your text
and bitmaps will
look
> > the same as
> > they would if yo uhad created the content in Flash
MX2004.
So, using Flash 8 to author but publishing for FP7 will look
the same as
using Flash MX2004 ('Flash 7') to create your content. You
are saying your
bitmaps shrink "compared to when exported normally in Flash
8" - I never
mentioned publishing for Flash 8.
> Hmmm, the exported Flash 7 text (generated in Flash 8)
looks weak even
when
> playing it on the Flash 8 Player. Something is converted
in the process
and my
> choice of fonts is set.
Well yes, of course. You said it yourself - you have exported
for FP7 -
playing it in FP8 won;t magically make it look better! For
that, you would
have to *publish* for FP8.
> How does one follow the FP7 method for this
> device/pixel font option when exporting? I assume we are
now spoiled by
better
> text rendering in Flash 8. I may have to live with that
one...
http://www.justfuckinggoogleit.com/?q=using+pixel+fonts+in+flash
Pete
Remove '_spamkiller_' to mail -
SWF created in Flash MX 7 won't play in browser w/Flash Player 9
I just noticed that my website, which I made from a template
from templatesheaven.com, isn't playing in Flash Player 9 in a
browser. It plays in the standalone player for some reason, but
when I look at it on the web, it shows just the count-in (or
whatever it's called, the pre-load), but stops when the counter
hits 99% and the action never starts. The website is at:
www.gwhitty.com
I built it using Flash MX 7, but for all I know the template
was made using Swish, which apparently causes problems with Flash
Player 9. Anyone have any other ideas? Still plays fine in FP7, so
I'm stumped. If I open my .fla file in Flash 9 and then export,
will that likely fix the problem? Any ideas appreciated...annabeth wrote:
> I have just uploaded a website using Flash 8 with the
swf embedded into an html
> page. I am on Mac OSX and it plays perfectly in IE,
Opera and Firefox. Other
> people trying to access the site from a PC say the swf
content won't play - the
> page comes up blank. They have downloaded the Flash 9
player - is this the
> problem? I have the Flash 8 player.
URL ?
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> -
Need help with languages issue in iOS app created in Flash Pro CS5.5
Hello all,
I'm using Flash Pro CS5.5 on a Mac running Snow Leopard to create an iOS app by publishing with 'AIR for iOS' from inside Flash Pro. Everything works great except after I submit my app to the Apple App Store and it is approved, the App Store listing claims that the app is available in a ton of different languages including English, German, Chinese, Italian, Spanish, etc. Since this app is a word game and all the words are in English, this is a pretty significant issue.
If I view the binary details for the app in iTunes Connect, it shows that localizations are active for all of the different languages. This information is read from the .ipa file that is submitted.
If I unzip the .ipa file, I can see that folders have been created for all of the localizations (i.e. en.lproj, es.lproj, fr.lproj, etc.). If I delete any of those folders, the .ipa will give me a 'resources modified' error at install.
I have also tried setting the plist attribute 'CFBundleLocalizations' to 'English' by editing the 'app.xml'. I have verified that the attribute has been changed correctly but it does not solve the issue. All of the localizations are still active.
Any help would be greatly appreciated.Can you try workaround given at http://forums.adobe.com/message/3976641 and post back your findings.
-
Need Help testing iOS app created in Flash Pro Cs5.5
I've followed several instructions on how to develop a simple iOS app. I've managed to go all the way through and Publish + create the .ipa. I'm able to then add the file to my iTunes library, but when I then try to add it to my iPod Touch (2nd Generation) I get the following error:
The app "XXXXXX" was not installed on the iPod "XXXXX's Ipod" because it is not compatible with this iPod.
I've even tried it with a simple "Hello World!" app but I get the same error.
I'm using Flash Pro Cs5.5 on a Windows PC.
Any suggestions?I'm having the exact same problem with my iphone 3G. I tried publishing the exact same simple flash app to my iphone, which I already previously tested succesfully, after having downloaded flash 5.5, and now I get the following message (which, I believe, is identical to yours kinant87) :
"The app "Main" was not installed on the iPhone "Norgaard" because it is not compatible with this iPhone."
I was trying to make another small app, when I got this problem, which is why I went back to re-test the app I knew was working!
I've reinstalled all my apple certificates, and also tried using flash builder 4.5, with the same result.
I also have not jail broken my phone, and was starting to think perhaps the iPhone 3G was no longer supported? -
Can't Edit SWF in CS5 Flash Pro
Forgive the noobness, but I'm trying to find out why I can't open a SWF file in CS5 Flash Pro.
When I attempt to open the file, it opens in a box as seen in this screeen cap.
I'm using Win 7 on my desktop.You should always start your own posting rather than tagging onto someone else's... especially one that is already marked as answered. Postings with 0 reolies draw attention.
Your version of Flash is too old to be able to open the files from that tutorial. The tutorial is using either CS4 or CS5. -
Making .swf files in Flash Pro CC: What versions of Flash Player could play it?
Hello, all!
I was recently let go from my last job. My former boss wanted me to do ActionScript work on a PowerPC Mac (an iMac G5) with a decade-old version of Flash (Flash MX 2004.) Her reasoning for this was sound: she wanted to distribute some of here English tutoring software to cash-strapped schools, so she wanted me to work with older software and hardware to ensure compatibility. Unfortunately (in this case) the only version of Flash Pro that I can legally acquire is Flash Pro CC, so I was unable to actually get my hands on anything that could run ActionScript 2. This made my productivity at work go slower than desired. Not only was I slow in picking up how to use Flash MX on a Mac (I'm primarily a Windows/Linux person) but she made it quite clear that she wasn't going to have me learning how to do the job on company time. In the end, she decided to scrap the project.
Now, that job is gone, and what's done is done, but I'm still interested in using Flash/ActionScript, and I'm also left with a question that, depending on the answer, may have saved my job if I had asked it just a couple days ago: what's the oldest version of Flash Player that would be able to play .swf files made in the current version of Flash Pro CC?
Thank you all for your time.with a cc subscription, you can download, install and activate flash pro cs6 which supports as2.
the answer to your last question depends on what features you use of flash pro cc. at a minimum you would be using as3 and need to use a flash player version that supports as3. -
How to import a in InDesign generated swf file into flash pro
My Flash Pro does not allow to import the in InDesign CS 5.5 generated swf file.
Any suggestions?Like this?
movieholder.addEventListener(MouseEvent.CLICK, fl_ClickToLoadUnloadSWF);
import fl.display.ProLoader;
var fl_ProLoader:ProLoader;
//Mit dieser Variable wird verfolgt, ob Sie die SWF-Datei laden oder entladen möchten
var fl_ToLoad:Boolean = true;
function fl_ClickToLoadUnloadSWF(event:MouseEvent):void
if(fl_ToLoad)
fl_ProLoader = new ProLoader();
fl_ProLoader.load(new URLRequest("http://www.helpexamples.com/flash/images/image1.jpg"));
addChild(fl_ProLoader);
else
fl_ProLoader.unload();
removeChild(fl_ProLoader);
fl_ProLoader = null;
// Umschalten, ob die SFW-Datei geladen oder entladen werden soll
fl_ToLoad = !fl_ToLoad; -
Trace() not working with embedded SWFs created with Flash Builder
I have just migrated to Flash Builder 4.5 with the 4.5.1 SDK.
I have an application that loads a lot of child SWFs into it - some of which are created with Flash, some are created with Flash Builder.
I am noticing now that my trace() statements that are called from within SWFs produced with Flash Builder that are loading as child SWFs into my main SWF are NOT appearing. However, trace() statements called from within SWFs produced with Flash that are loading as child SWFs into my main SWF ARE appearing.
This is an extremely major problem and has short-circuited my debugging/development.
Any recommendations, workarounds, or suggestions?If the child SWFs were created by performing an "Export Release Build", then trace() statements would be omitted.
You can control this by setting the -omit-trace-statements compiler argument (in Project properties -> Flex Compiler -> Additional Compiler Arguments).
-Anirudh -
Error while loading a swf created in flash cs4, inside a flex application
Hi there,
I have created a rotating logo in flash cs4 using motion presets, named logoRotar.swf. I have used this inside my flex application:
<mx:SWFLoader width="33.33%" height="100%" source="assets/logoRotar.swf">
When I execute the flex application, I get this runtime error message:
VerifyError: Error #1014: Class flash.geom::Matrix3D could not be found.
at global$init()
at fl.motion::AnimatorFactory3D/getNewAnimator()
at fl.motion::AnimatorFactoryBase/addTargetInfo()
at logoRotar_fla::MainTimeline()
I also tried adding import flash.geom.*; statement in my flex application, I still get the same message.
Flash player 10,0,22,87 is running in my browser.
Please help me out....
Cheers!
DeepakGet Flex 3.3 and use -target-player=10
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui -
Strange problem in loading swf created in Flash Builder 4 !
Hi
I am facing a strange issue in all my flash builder projects.
Here is a sample flex 4 project: http://flashvisions.com/demos/flexdemo/
you will see when it loads, it showes the first progressbar as grey and then the next one covering it as per flex4's new preloader mechanism. The example given above is a new flex project, without any code. It shows the first preloader then hangs on that for quiet some time without any indication that anything is happening. Then it shows the second phaze of preloader after some time. This is happening to all my Flash builder projects.
can some one suggest anything ? If possible watch this link to a medium bandwidth, not too high : http://flashvisions.com/demos/flexdemo/And this for 1.5:
"In Flex or Flash, a loaded SWF takes on the FrameRate of the
parent SWF. In flex you can set the framerate value for the main
application with "framerate" attribute in the
<mx:Application> tag."
Tracy -
Why an imported SWF created in Flash CS5 doesn't works fine?
perhaps I am not lucky. I find no answer.. perhaps im a noob (daaaah) please if you can help it would be appreciated!
I'm new in flash and flash catalyst.. but i'm not bad at all hehe. After publishing a swf from flash CS5 (that works perfect when i preview it) i want to import it in flash catalyst...
... i click on import swf and i select my swf. When i execute the project (CTRL+ENTER) in flash catalyst the motion tweens created in Adobe Flash doesn't start
Even if it works well when i run the SWF from desktop or in Adobe Flash directlyA detail that could help you guys..
I used FlashEFF2 in Adobe Flash CS5 (as a Text Effect (it's awesome)) and this effect only starts and works fine in Flash Catalyst. The motions tweens created in Adobe Flash CS5 doesn't starts in Flash Catalyst
Thanks to read it!
Max -
How do I load a .swf onto a flash pro file?
My class i'm taking right now is using Adobe: Flash Professional CC Classroom in a book, and there's a point in the lesson where you upload/load a swf file(s). Technically it's supposed to be multiple because its the outline coding for a website, but I'm not understanding this...
page1_mc.addEventListener(MouseEvent.CLICK, fl_ClickToLoadUnloadSWF_5);
import fl.display.ProLoader;
var fl_ProLoader_5:ProLoader;
//This variable keeps track of whether you want to load or unload the SWF
var fl_ToLoad_5:Boolean = true;
function fl_ClickToLoadUnloadSWF_5(event:MouseEvent):void
if(fl_ToLoad_5)
fl_ProLoader_5 = new ProLoader();
fl_ProLoader_5.load(new URLRequest("http://www.helpexamples.com/flash/images/image1.jpg"));
addChild(fl_ProLoader_5);
else
fl_ProLoader_5.unload();
removeChild(fl_ProLoader_5);
fl_ProLoader_5 = null;
// Toggle whether you want to load or unload the SWF
fl_ToLoad_5 = !fl_ToLoad_5;
I know that I have to have the swf file in the same folder as the Parent file, and the name of the 'small page/file' goes in the url "" up there but what other connection am I missing?
Why Is the Test File basically strobing??
Thanks so much guys in advanced!
Shadows : )my guess is that if its strobbing you may be missing a Stop();
function
Maybe you are looking for
-
I have an IMAC and I'm running OSX 10.9.2. I'd like to store my Aperture /IMovie Libraries on an external hard drive. In addition, I'd like to partition the external hard drive so that Time Machine can use it to both back up my IMac and the externa
-
13 download speed at modem and 5-8 speed in wireless network
Can anyone tell me why our iMacs and MacBook Pros that are connected via ethernet have download speeds of about 13, yet our wireless network (new airport extreme+2 expresses) have speeds of anywhere from 5 to 8? This makes our Apple TV work inconsis
-
Info Req on Inventory Management
Hi Experts, I am working on BI 7.0. Our client is planning to implement the Inventory Management in SAP and they will use the BI as the reporting tool. So we need to feed the Inventory management data into BI. So I want to work on that point and need
-
My IPad 2 won't connect to my classroom Apple TV.
MMy ipad is on the same wireless access which is set up in my room. My Ipad 2 will connect for a moment and then be dropped. My IPhone 5 s connects without a problem. Have there been issues with the IPad 2 and the Apple TV in the past?
-
Getting a csv file in server from client
Hi, This is my first mail to the forum. I hope some one would help me to find a solution for me. I got a xyz . csv file in my server. I want to get that file and save it in my client (anywhere)having the same file type. Gimme source code if you have.