ActionScript 2.0 :: Loading Swf Created In Captivate 4?

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


Similar Posts:


ActionScript 3.0 :: URLLoader - Loading Question Pools For Captivate Quiz

Jan 18, 2010

I'm using URLLoader to load my external SWFs in as a ByteArray before use so I can preload them without the possibility of them playing prematurely. It's been working great so far, but I just ran into an issue. It's not loading question pools for Captivate quizzes. If I use Loader.load() for my quiz it works fine and the question pool loads. If I use URLLoader to get a ByteArray and then use Loader.loadBytes(), I get an error saying that it can't load the question pool. My code is below. If you comment out the urlLoader.load() line and use the loader.load() one instead, it'll work fine. Otherwise, I get an error.

Code:
var loader:Loader = new Loader();
var urlLoader:URLLoader = new URLLoader();
addChild(loader);
urlLoader.dataFormat = URLLoaderDataFormat.BINARY;
urlLoader.addEventListener(Event.COMPLETE, done1);
[Code] .....

View 2 Replies

ActionScript 3.0 :: Captivate TOC On Top Of SWF?

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

ActionScript 3.0 :: Loading An XML File Which Created By Filemaker

Apr 15, 2009

I'm having a problem with loading an XML file that was created by Filemaker. Filemaker will output an XML file using one of two different grammars. One outputs in a mostly standard form that I can use with one glitch. Flash CS4 AS3 seems to have a problem with the xmlns in one of the nodes.

[Code]...

View 6 Replies

ActionScript 3.0 :: Loading SWF Created In OOP (Getting Error Message)

Oct 14, 2010

I created a slideshow using OOP and it works fine when I test it both in 'Test Movie" and 'Publish Preview', yet when I try to load the SWF into my site I keep getting error messages.[code]...

View 2 Replies

ActionScript 2.0 :: Loading Images In Dynamically Created MC?

Jun 15, 2007

i'm trying to load a series of external jpg images. What to be loaded is stored in an external xml file, which indicates the folder along with the file name pattern and the number of images. This is handy since images are numbered incrementally (image_1.jpg, image_2.jpg...) Finally, i need to position these images as a strip, that is, one next to each other horizontally.

I get the info out of the xml file without issue, the url are correct (if i paste them in the browser, i see the image file) yet, it seems there is an issue with my loading mc code.

[AS]
function doStrip(obj:XML)
{
var project = obj.firstChild;
var sequences = project.childNodes;

[Code]....

View 2 Replies

ActionScript 2.0 :: Loading Into Clips Created By For Loop?

Nov 28, 2008

why this won't work?

Code:
var base:MovieClip = this;
// initiate

[code].....

View 1 Replies

ActionScript 3.0 :: Loading A Swf File Who Was Created By Flashpaper?

Apr 7, 2011

i want to load a swf who was make by flash paper but when i load more than 2 swf,my loader is bad ....and bad work

HTML Code:
import flash.display.Loader;
import flash.net.URLRequest;
import flash.events.MouseEvent;

[Code].....

View 2 Replies

ActionScript 3.0 :: Loading And Viewing XML When A Class Object Is Created?

Oct 5, 2009

I have writing a simple class which has a method that gets invoke when the object of the class is created. I am able to view the loaded XML content when I trace it with in my class method, but cannot assign the content to a instance variable using the mutator method. So the process goes like this:
  
Class object is instantiated Class construtor then calls the loadXML method which laods the XML And then assigns the XML to a class instance variable.
 
So now if I would like to access the loaded XML through class object, I should be able to see the loaded xml content which I am not able to see. I have spent over few hours and cannot get the class object to display the loaded XML content. .
 
[code]
 
package com.as3.app{    import flash.display.*;    import flash.events.*;    import flash.text.*;    import flash.net.*;
public class Cars extends MovieClip {           public var _CarList:Object; 

[Code]....

View 1 Replies

ActionScript :: Flash - Loading External Programatically Created SWF?

Aug 23, 2011

i've never had to do any cross scripting until now and i'm running into a (probably really stupid) error right at the start.

External SWF:i've created a new ActionScript 3.0 project in Flash Professional CS5. on the first frame i've added the following script:

[Code]...

perhaps i'm misunderstanding the nature of cross scripting or loading external swf files, but i can only seem to make this work if i've manually drawn display objects on the stage and not if the external swf's display objects are generated by code.is it not possible to load external swfs that are programatically created and add them to the display list of a main swf?

View 2 Replies

ActionScript 3.0 :: Loading Images Into Dynamically Created Movieclips

Jun 16, 2011

Can you addChild to a specific movieclip instance i.e. movieclip.name.addChild(movieclip). I have built a 'for loop' to render a series of 'products'. The idea being to create a movieclip, load an image into this movieclip, assign a URL and later some text.

[Code]...

View 2 Replies

ActionScript 3.0 :: Pass Captivate Variable?

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

ActionScript 3.0 :: Referencing Objects In Captivate?

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

ActionScript 2.0 :: Captivate Accessible In Flash

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

ActionScript 2.0 :: SWF Not Working When Imported Into Captivate 4?

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

ActionScript 3.0 :: Loading A Swf Created Using Document Class Gives Error #1009

Aug 29, 2007

Well the shiny new app is now 830K and needs to be preloaded. Simple eh? I've got a preloader that works nicely but I've been trying all day to find a reasonable way to load a swf that was compiled as a document class. My solution was to make a bare bones swf that would preload my main app swf:

[Code]....

View 6 Replies

ActionScript 2.0 :: Referencing/loading A Dynamically Created Movieclip Variable?

May 23, 2008

I am trying to load an image in to a dynamically created movieclip, which is:

_root.mySlider."+stripX2(band[i][0])+i

but I can't seem to reference it. I can load the movie into _root.mySlider, but if I add the dynamic element (stripX2(band[i][0])+i) without quotes it it doesn't load. If I load with quotes i.e.

"_root.mySlider."+stripX2(band[i][0])+i

flash doesn't allow strings in movieClip variables.The code I'm using is belowm, it's the second to last line thats causing the problem:

var loadListener:Object = new Object();
loadListener.onLoadComplete = function(target_mc:MovieClip):Void {
trace(">> target_mc._width: "+target_mc._width);[code]......

View 2 Replies

ActionScript 1/2 :: Controlling Embedded Captivate SWFs

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

ActionScript 1/2 :: Control Captivate 5 Swf Files With As3 In Flash Cs5?

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

Professional :: Play Pause Widget Captivate?

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

ActionScript 3.0 :: Unable To UnloadAndStop Captivate 5 Swfs?

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

Flash :: Captivate 5: Call A Nested Swf Inside A Swf?

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

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

ActionScript 2.0 :: Captivate 4 Widget To Mute Sounds?

Jun 24, 2010

We do not use the playbar for our projects.. we use independent buttons.I struggled making a widget /button for Captivate 4 that would Mute/Unmute all sounds... In case you are struggling too... here is the code that worked for me:(you will need to know how to make a widget)

var soundOn:Boolean = true;
var globalSound = new Sound(_level0);
muteOffOn_btn.onRelease = function(){[code]....

View 0 Replies

ActionScript 3.0 :: Passing Variable Value From Captivate 5 To Flash CS5

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

ActionScript 3.0 :: Flash - Captivate Swf To Close When Its Done Playing?

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

ActionScript 3.0 :: Preloader Starts With Loading On 100% - Created A Smaller File To Demonstrate?

May 23, 2010

I have created a preloader in flash, with help from a tutorial, but it doesn't work properly. The preloader starts with loading on 100%. This is what I'm talking about:[url].......I created a smaller file to demonstrate my problem.

The code that I used is:

stop();
import flash.display.*;
this.stop();[code]..........

View 11 Replies

ActionScript 3.0 :: Pausing A Captivate Movie That Has Been Imported Into Flash?

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

ActionScript 3.0 :: SoundMixer.stopAll Not Working With Captivate Content?

Aug 10, 2010

am building eLearning courses using a Flash-based AS 3.0 course playerI use SoundMixer.stopAll to stop sounds when progressing through the course, pressing buttons etc also call SWFs made in Captivate into my courses. These SWFs have audio in them. But when I progress through these slides (by clicking a next button), the sound from the captivate made slides overlaps (keeps playing). SoundMixer.stopAll does not seem to work for captivate SWFs

View 1 Replies

Actionscript :: Captivate Playback Control Skin In Flash?

Nov 4, 2009

How can I create and control Captivate Playback Skin in Flash with my custom layout and script?

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved