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.
View 0 Replies
Similar Posts:
Aug 10, 2004
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??
View 4 Replies
Jul 24, 2009
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?
View 1 Replies
Jun 15, 2011
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]...
View 7 Replies
Jun 30, 2011
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?
View 1 Replies
Jan 9, 2012
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.
View 0 Replies
Mar 9, 2011
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);
[code].....
View 1 Replies
Oct 1, 2010
How to Fetch the images from given URL in Flash builder
View 2 Replies
Aug 1, 2011
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.
View 1 Replies
Feb 18, 2010
I have to fetch data from database into the flash..
View 1 Replies
Feb 17, 2004
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
if (_root.score == 500) {
gotoAndPlay(3);
}
View 2 Replies
Jan 10, 2010
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.
View 2 Replies
Nov 4, 2009
How can I create and control Captivate Playback Skin in Flash with my custom layout and script?
View 1 Replies
Feb 15, 2011
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.
View 1 Replies
Apr 29, 2011
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
View 2 Replies
Jan 4, 2012
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.
View 1 Replies
Oct 4, 2006
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.
View 2 Replies
May 4, 2010
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]...
View 2 Replies
Aug 18, 2011
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.
View 4 Replies
Feb 17, 2011
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 dynamic field called "myLable" AS3 code:
myLable.text = MovieClip(parent).cpInfoCurrenSlideLabel;
View 0 Replies
Feb 23, 2011
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.
View 1 Replies
Jun 17, 2011
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.
How can I position the TOC in the display list?
View 0 Replies
Jan 22, 2010
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 ..
View 1 Replies
Aug 18, 2010
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.
_parent._parent._parent.rdcmndNextSlide = 1;
View 2 Replies
Jul 6, 2009
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.
View 2 Replies
Sep 30, 2009
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?
View 1 Replies
Dec 24, 2010
I have created a .swf using Captivate 4. When I try to load the swf into a Flash project - (AS2) I get the following output:
Branching::script:;;
deepak branching : scripteval:[object Object];
I rewrote the Flash using components and the same thing happens. So, I'm thinking it has something to do with how Captivate makes the .swf.
View 9 Replies
May 25, 2006
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?
View 4 Replies
Jun 16, 2011
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.
this.Pause.visible = true;
this.play1.visible = false;
this.play1.addEventListener(MouseEvent.CLICK,hidePlay);
[code]......
View 2 Replies
Jul 8, 2011
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
View 24 Replies