ActionScript 3.0 :: Possible To Fetch Captivate 4 Score Into Flash?
Jan 5, 2010
I wonder whether anyone knows of a solution to this: I want to embed a Captivate 4 quiz in a flash CS4 file and retrieve the score from the Captivate SWF so that I can use it in my flash file (AS3)- does anyone know a way of doing this (?eg. shared objects?). Communication between Flash and CP seems to be a lot more problematic than I anticipated.
Im designing my own game in flash, iv set up a score text box and it works fine. Except i just cant seem to get it to gotoandplay another frame,scene, when it hits a certain score??
I've got Captivate movies dynamically loading into a Flash movie. The problem is, the tab index which works so well when the Captivate movies are in stand-alone mode falls apart when loading the Captivate movie into a Flash shell. I've tried tabEnabled=false and tabChildren=true for the movie clip that contains the Captivate movie, but with no results. Does anyone know how to get the focus manager to tab to objects in a Captviate movie when that movie is running in a Flash shell?
I have a custom build swf player, which has basic functions of play, pause, quit etc. It plays swf created with flash. I created a demo using captivate cs5, then exported it to flash. The captivate swf does not works with my swf player, it loads and starts playing but play and pause button does not work at all with it.[code]...
i'm using captivate 5 to create an elearning project, due to captivates limited animation abilities i created a menu bar in flash and imported it into captivate as an swf. The menu bar has a glossary listing that whne clicked calls upon another swf which is a glossary.
The problem is that the glossary swf doesnt pop up when the glossary listing is clicked inside of captivate. The menu bar works perfectly outside of captivate. the glossary is already made in AS3. So my question is can you call a nested swf within captivate?
I don't get it Why is it so difficult to pass a variable from Captivate 5 to AS3/Flash CS5. I have a variable (gpDone = 1) in Captivate 5 (it's a guided practice) on the last frame which will indicate that the learner has completed the guided practice file. Now I want to pass that variable back to Flash/AS3 so I can evaluate whether I should show the Continue button so they can continue. They have to complete the guided practice before they can continue. If it is equal to 1, the Continue button will display. If it is not equal to 1, the Continue button will not display, but a message will display telling them they have to complete the guided practice in order to continue in the course.
I've developed a menu in AS3 with about 10 buttons. Each buttong will load an swf or a swf created in Captivate. I want the swf to load ontop of the menu, then close when it's done playing. I can get this to work fine with swfs created in Flash, but not captivate 5. The captivate file will open and play, but it won't close.I tried adding the script at the bottom to an swf and importing that into the last slide of captivate with no luck.This doesn't seem like it should be so tricky.Here is some of the AS3. I didn't bring the code in for all the buttons.
var swfLoader:Loader = new Loader; introduction_to_gcssj_btn.addEventListener(MouseEv ent.CLICK, introductionClicked); portal_features_btn.addEventListener(MouseEvent.CL ICK, portalFeaturesClicked);
How to retrive the bulk data from php to Flash? Ex: got a bulk data from php to like this format|(name|age|sex|address|MobNo|TelNo), Need to split and assign the value to proper variables. How to split and assign the value to particular variable.
i am building a shooting game and i was wondering if it is possible to have the movie go to frame 3 if the score = 500.I.E Score is displayed in a dynamic text box and everytime the enemy is hit the:
_root.score +=50 ============= on the first frame of the film i have the code
Basically I need to pause a Captivate movie (CP3) that is playing within a flash movie (CS4, AS3).
I have made a full motion recording with Captivate which I have imported into a flash movie. The flash movie is organised as a series of movieclips that play from the main timeline. My CP demo forms part of one of these movieclips (there are flash objects playing "on top" of it in different layers). I have a play/pause button on the main timeline that works to pause all of my movieclips EXCEPT for my captivate demo. This continues playing, while the movie clip is forms part of pauses, throwing everything out of sync.
how I can pause CP portion? My actionscript skills are minimal and I'm not even sure what object(s) to target.
i am new in this flash thing and in the learning stage. on the stage are four buttons. they will behave like map. now what i want to do is, that i want to use xml. when i click on button, it should display some text, like title, description, address etc below the map and the these details should come from an external xml file.
I want to fetch some parameters from a url on to my flex web application. How can I do thatFor example I want to fetch the parameters name and age from the urlon to my flex application
I am using pixel bender's pbj files(as recommended with Flex4) to change the brightness/contrast of a image.So i apply the filters to the image like this:
image.filters = myBitmapFilter;
Now my problem is how to fetch the byteArray of the image with filter applied so that i can send bytearray to my servlet which can save the image with applied effects.
I had a flash file which plays a video and this one is opened on a popup window, this video play for atleast 10 sec and actually i want to trace that till what time the user had view this video.
e.g.: My video runs for 10 sec and user had view this file for 5 sec and closed it, so my requirement that i should be able to trace that the user had viewed my video for 5 sec only.
I'm having a problem with audio of Captivate demos created in Captivate 4 loaded into a Loader component using Flash 8 and AS2. Problem is if someone is viewing a Captivate demo and hits the Audio On/Off button on the playbar to turn the audio off and then returns to the menu, the next Captivate demo loaded has no audio until the user click the audio Off/On button a couple of times. Even though when loaded, the playbar audio is shown as on. I've already tried cpCmndMute and cpCmndVolume to no avail. Is there another audioOn variable I'm missing?[url]...
Has anyone attempted to implement a captivate video into Flash Media Server (specifically an aggregated Captivate video in Flash Streaming Server).if this works, or if you have any other information.
I would like to pass Captivate (version 4) slide Lable to Flash file which will be shown in a dynamic text filed. Here is what I got but it does not work.
I have a result screen that shows bonus points and such. I want each text field to increment one after another and also have it increment by a certain amount each frame. Result Screen pops up. First is the player score check the player score, is it more than the score we want to display if the player score is greater than the player display score by 100 increase the player display score by 100 if the player score is greater than the player display score by 10 increase the player display score by 10 else increase the player display score by 1 when finished move to the next score...and so on. I have thought of using timers to move from one score to the next, but not being in an Event.ENTER_FRAME it only does one if then moves to the next one.
Also the if statement for incrementing the score looks ridiculous and I'm thinking there has to be a better way to do it. I was thinking of making it a separate function but then I wouldn't know what to return, or how to return it so it looks like its increasing and not just showing the total number instantly. I'll try to expand on it a little more.
In a Captivate 5 file, I imported a Flash AS3 file. I added the Flash file to the first Captivate slide and set the swf properties to display for the entire project. Essentially the Flash file is a skin/interface for the Captivate file. Everything is working fine, but the TOC is on top of the skin.
The scenario worked fine with Cativate 4 and AS2. The Flash skin has a TOC button. When the button is clicked, the TOC opens beneath the skin.
I know how to fetch the data from xml.. but i dont know How to save a data from flash to xml in runtime? example in e learning if a student scores 70% mark it should save in the database using xml and the data should update when he do more and more ..
I used the following code on a frame within an swf that was imported to a CP4 slide. This worked fine in as2. I'm wondering how to write the same code in as3.
I need to be able to dynamically position a component generated in Captivate 4 via ActionScript that in child SWF that is imported into the Captivate project. The problem is that I don't know how to reference the objects in the parent movie. I can set a label on the object and reference the parent itself with:
MovieClip(this.parent)
but this doesn't seem to work:
MovieClip(this.parent).label.y
And I suspect that it is because some how Captivate subclasses the objects but I'm having trouble finding out how the hierarchy is structured.
i have produced a simple drag and drop slide for use in my captivate project, works fine standalone, but when i import into Captivate it doesnt work correctly, the drag and drop element works ok but it doesnt seem to be targeting the drop target i then use to then goto the next frame etc.
on (press) { startDrag(this, true); } on (release) {
[Code]......
is there another way to reference "/want_box" that will work in Captivate?
I have a SWF (SWF A) that I'm loading into a movieclip (Movieclip C)which is part of another SWF (SWF B). Basically, SWF B functions as a player, with play and pause controls. These controls control Movieclip C where the external SWF A is loaded into.Normally, I have had no problem with this and it always works. At run time, when you click the pause button on SWF B, a stop() command is issued to Movieclip C, which stops the play of the external movieclip (SWF A) loaded into it.However, I did a screen capture with Captivate and published it as a SWF. I loaded this SWF (SWF A) into Movieclip C in SWF B at run time. However, clicking the controls on SWF I created has NO EFFECT on the SWF I created in Captivate. It just keeps playing.I guess all SWFs are NOT created equal. How can I make this work?
I have read a lot of threads on this, and I am trying to create a widget that will allow the button to toggle between Play/Pause pictures and play and pause the captivate as necessary.Right now my script reads as below: The button will toggle bwteen play and pause pictures. But will not pick up the .rdcmndPause=1; .rdcmndResume=1.
have a flash 'menu' swf that on the click of a button loads into a loader a flash 'controller' swf. This swf in turn loads into a loader a 'captivate 5' swf. All published to fp10.exit the captivate movie the user can click on the menu button (which resides on an area of the 'menu' swf below it), and I have coded to UnloadAndStop and StopAllSounds of the 'controller' swf loader.his works, everything goes, the loader 'unloads' and it does stop the sound of the current captivate slide, but then audio from the captivate movie will fire up again from the next slide and continue to play over the menu