ActionScript 3.0 :: Connect With A JavaScript Wrapper For Scorm

Aug 27, 2011

in as2 i used a javascript function to connect with a javaScript wrapper for scorm and it work and now i moved to as3 so i am using the ExternalInterface.call instead of the getURL and that works but all the rest doesnt. know if in as3 i need to do more things to work with scorm?

View 3 Replies


Similar Posts:


ActionScript 2.0 :: Use Dreamweaver's Scorm Run Time Wrapper And Manifest Maker?

Jan 28, 2010

I created a quiz from the quiz template in flash. I published it as "Flash with scorm 1.2 tracking"

-How do I create a SCO now?
-How do I use Dreamweaver's scorm run time wrapper and manifest maker?
-Whats my nest step after I publish my files from flash?

Is there any good tutorials on how to create a sco?Dreamweaver's manifest maker says I need sco.Can I just zip up the html and swf file? Is that a sco? It still won't recognize it as a sco.

View 0 Replies

Javascript :: HTML Wrapper Div Over Embedded Flash Object Cannot Be "clickable" By JQuery?

May 27, 2010

I've been trying to do as the client requested : redirect to campaign page then to destination page once a customer clicks on the top banner in swf format.If you are using Firefox, Chrome or Safari, I suspect you can reach the destination page.However, if you are using IE or Opera, I doubt it.I think to cause of such a weird problem is:The swf ojbects don't have a link to url, SO I have to hack the theme template file like this :

<div id="header">';
/*
* A quick and dirty way to put some swf into PHP, and rotate among them ...

[code].....

View 2 Replies

Php :: Javascript - Connect PHP And Flex Player

Jul 24, 2011

I'm using Flex Player component on a localhost. The FLV video files are stored in bin-debug/Video Source. The PHP code for the video is:

[Code]...

The player is generated on the HTML page via javascript where createPlayer(); writes FlexPlayer.swf on the page between object tags

<script type="text/javascript">
createPlayer();
</script>

My question is where and how to put the $video variable to dynamically load video in this FlexPlayer.swf. CreatePlayer() is:

[Code]...

View 1 Replies

Flash :: Facebook Connect And Actionscript - Make All Of The Facebook API Calls Via JavaScript

Jun 1, 2009

I'm trying to determine the practical difference between using the com.facebook.session.WebSession and com.facebook.session.JSSession. The documentation ([URL]) has more around WebSession - but the example I have which is closest to what solution I'm trying to implement uses JSSession and it looks like I could avoid all of the JavaScript pass-through & ExternalInterface calls I'm making. It appears that the benefit of using this new ActionScript Facebook API is to avoid having to make all of the Facebook calls via JavaScript.

View 5 Replies

ActionScript 1/2 :: Connect The Flash Javascript File Into Flash Doucments?

Apr 10, 2009

How to connect the flash javascript file into flash  doucments?

View 1 Replies

Actionscript 3 :: Connect To AMFPHP - NetConnection.connect() Returns TypeError: Error #1009

Dec 8, 2011

UPDATE: Now I've moved the AMFConnection var declaration to outside the functions in Main, and commented out some trace() commands, and now it gives new errors:

Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Call.BadVersion
at AMFConnection/init()[/Users/Jan/Downloads/amfphp1/AMFConnection.as:32]
at AMFConnection()[/Users/Jan/Downloads/amfphp1/AMFConnection.as:23]

[code]...

I'm trying to connect to AMFPHP on a server (with Flash AS3), and the swf borks when it reaches the .connect() stage. To make things easier (?) and more reusable (?), I've put all the NetConnection mechanics into a separate class, AMFConnection, which I call from the Main document class like this (details changed):

public function testConnection(e:*=null):void {
var conn:AMFConnection = new AMFConnection();
conn.table = "some_table";

[code]...

AMFConnection actually starts the connection and calls the AMFPHP service with the function gogogo(), and here's where the connect() NetConnection function just won't work. Here's the main section of the AMFConncection class

private var _netConnection:NetConnection;
private var _responder:Responder;
function AMFConnection()

[code]...

It also fails to display the stage, instead showing the loading dots. Now, eventually I'm going to move this application to the same server as the AMFPHP service, but even when I try it there with a relative url, instead of an absolute one, it still breaks down at connect(). I've tried changing the publish settings from local only to network only, to no avail.

View 3 Replies

Flash 9 :: SCORM Testing On A Mac?

Nov 7, 2008

I recently finally moved across to my Mac for all of my development work. The main problem I have come across is not being able to test any of my work in a SCORM test suite. The one I have on my PC is the ADL test suite which does not appear to be compatible with the mac, so does anyone know of a suite that is?

View 3 Replies

C# :: Flash - SWF Wrapper In C#?

Dec 28, 2010

i have a SWF file with a simple function that returns a string. can i use it in c#? is there any .NET wrapper to flash files that allows "talking" to it?

View 1 Replies

ActionScript 3.0 :: FsCommand Scorm Calls Not Working?

Jan 6, 2011

I published my fla as scorm 1.2 tracking. I ziped up my files and loaded to lms. It will not write the score. It runs and functions ok but does not write score.

fscommand ("LMSSetValue","cmi.core.score.min,0");
fscommand ("LMSSetValue","cmi.core.score.max,100");
fscommand ("LMSSetValue","cmi.core.score.raw,85");

[code]....

View 9 Replies

ActionScript 3.0 :: FsCommand Scorm Calls Not Working

Mar 31, 2011

I created a simple fla with two frames. Frame two has this code below to write a score to the lms (blackboard).I published my fla as scorm 1.2 tracking. I ziped up my files and loaded to lms. It will not write the score. It runs and functions ok but does not write score.[code]

View 4 Replies

ActionScript 3.0 :: Make Button To Going Back And Next In An SCORM?

May 3, 2010

I will like to make buttons in Actionscript 2 or 3 that permit the user to go backwards or forwards in the elearning, id that possible?

View 2 Replies

ActionScript 2.0 :: SCORM 1.2 Setting SCO Objectives Values

Dec 10, 2007

how to set the objectives of a SCO within the LMS reporting of SCORM?

Here is what I have so far:

ActionScript Code:
var theScore = 10;
var theStatus = "c";
var intData = theStatus+";"+"mytestobj"+";"+theScore;
fscommand("MM_cmiSendObjectiveInfo",intData);

The only thing tracking in the LMS is "mytestobj" which is reporting as the objective name.

View 2 Replies

ActionScript 3.0 :: Capturing Score For Scorm Output

Nov 11, 2009

My ultimate goal in learning ActionScript 3 is to be able to create cool flash learning interactions for English language learners. All the different activities - drag and drop, multiple-choice - image hotspots etc - multiplayer mode on Grammar Challenge - would record a score which could be output in a SCORM format for a VLE such as Moodle or BlackBoard. The Flash interactions would run inside the VLE inside a simple CSS template content holder div which is resizable and is part of an elastic template. If I can do all that i will rule the world :-)

I've just started reading OReilly.Learning.ActionScript.3.0.A.Beginners.Guid e and I'm finding it quite tough in places. I know a bit about data translation in flat files, EDI, csv but no real programming experience. The real problem is the ActionScript 3.0. I'm starting at the very beginning and have a long way to go. My FLASH skills as a designer are moderate. My questions will always relate to creating or publishing interactions for EFL learners. I hope to be in a position to answer some questions in the future. It's all about the learnin..

Is writing a scoring system that can accept scores from any interraction difficult to write? What kind of competance level would it require? Would that be a sane thing to attempt? The scoring system I'm thinking of would accept input from all over the stage. Right and Wrong answers would be recorded? Length of time spent on each activity - Essentially if I decide something is to be captured it is listened for - recorded and output in a structured, usable and maleable format such as XML. Can you buy generic scoring systems for FLASH? Is there a village somewhere where they're custom built like Harleys? A generic scoring system that acts like a CLASS import to my as file - I just setup the addlistener, configure a few things and FLASH file records the data for outputs to SCORM. That would be really cool. It'd be a major milestone on the road to dominion.

View 0 Replies

Actionscript 3.0 :: Create A SCORM Compliance Flash Course?

Feb 26, 2010

I have custom flash e-learning course and it has 30 swfs and one main swf. I need to do a SCORM package and upload it on LMS.

View 1 Replies

ActionScript 3.0 :: Adding Scorm To A Flash ELearning App?

May 7, 2010

I've created a class based eLearning app that's based around flash engine which draws in XML and generates all the non tracked and tracked pages dynamically from the external content (it's multilingual and class template driven)I now have to make it 'Scorm compliant'

That is where i'm coming unstuck. I've only ever seen scorm apps as a physical file per tracked 'page / SCO'Where as I have literally a single swf and external xml, images, videos etc that are being drawn in at runtime.Is there a way of setting up the manifest so that it can target the one active/engine swf file but I can send complete/score/inprogress etc data back for each 'page' that has been completed. I'm tracking all the completion, time and score data etc internally to the flash app but haven't the first clue how to pass it out to Scorm so that data is recorded for each tracked page in each tracked module.

View 2 Replies

Professional :: Make Flash SCORM/LMS 1.2 Fully Compliant?

Nov 28, 2011

I need to make Flash AS2.0 SCORM 1.2 fully compliant.I have used pipwerks 1.2 wrapper as a example, and the paging works. However I also need an example that does the following:  User name Scoring, Time taken etc.I have tried adding cmi.core.score.raw (In AS 2.0) to get score working but when I test it in Scorm test suit, it does not work, and is not scorm compliant.So can someone tell me how to make flash AS2.0 (and AS3.0) Scorm compliance  i.e. what AS code do I need to add by ways of code examples.Also what is the best test suit to test it is scorm compliant?

View 1 Replies

Php :: Place Variables In HTML Swf Wrapper?

Dec 15, 2011

Can you place php varibles in the html wrapper for a swf, that could be read into the swf when it loads?Perhaps using a param?

$myVariable = "$var1,$var2,$var3";

like this with php in the html?

<param name=FlashVars value="$myVariable" />

or perhaps ?

<param name=FlashVars value="myVariable=$myVariable" />

Then perhaps in the swf with as3 using something like this?

var myloader:URLLoader = new URLLoader()
myloader.load(new URLRequest(this.root.loaderInfo).parameters))
myloader.addEventListener(Event.COMPLETE, onLoaded)

[code]...

Unsure how to access it using the correct path to the param and then how to get the php variable $myVariable into myloader.data?

View 2 Replies

Professional :: Creating A Flash Object To Mark A SCORM 1.2 Course As Completed

Apr 28, 2010

I am working in an Articulate program that is flash based.  I don't get much control over the way parts of it function, so I have added a lot of extras to it via flash movies I inserted.
 
There is one thing I am trying to figure out.  I want to add an object that tells the LMS to mark the course complete.  I don't need it to check if the score has been submitted or anything like that, by the time a student gets to this object, the test should be done.  I just need a flash movie object I guess with the script that writes the completed status to the LMS. 

View 1 Replies

ActionScript 3.0 :: Simple Template That Hooks A Flash Quiz Up To Lms Using Scorm?

Nov 19, 2009

Does anyone have a simple template that hooks a flash quiz up to an lms using scorm?

View 2 Replies

Professional :: Html Wrapper Not Getting Used For Release Build

Jun 24, 2010

I am using Flash Builder 4.  In the Flex Compiler option, I checked 'Generate HTML wrapper file', and then added some text to the  alternateContent variable in the auto generated index.template.html wrapper found in html-template folder. For Run/debug settings I have the src/index.html file set as the file to be launched. In the bin-debug folder, the index.html incorporates the content of the html wrapper, and when I run the app in debug mode it behaves as I would expect.  However, when I export a release build, the index.html file doesn't incorporate the content of the html wrapper file, and therefore doesn't do the check for a valid version of Flash Player.  Do I have to manually copy the index.html file from bin-debug to bin-release each time I export a release build (this does seem to work)

View 1 Replies

Java :: Use A Wrapper Class Around An Object In Flex?

Jul 11, 2009

Select a school listed in the first datagrid, and display all the student records /details of that school in the next datagrid. But, since datagrid is editable and requirement mentions : "Use a Wrapper class around the object to get the data, set the same and save. Ensure wrapper is bindable to take into consideration the updates being made to datagrid text fields."

I have an object which is a type of a Data Access Objects i.e. DO.

mySchool:mySchoolDO.

The mySchoolDO is an actionScript class of following code :

public class mySchoolDO
{
public var schoolName:String;
public var schoolLocation:String;

[code]....

The showSchoolStudents will display all the details of students on to the datagrid. But, my datagrid is editable. And, I want to use WRAPPER CLASS around this object such that

a> I can retrieve individual values as present in studentsDO i.e. studentID, studentCourses, studentGender, studentPhone.

b> I shouldbe able to set the values as they are updated in the visual datagrid.

c> Finally save all the data and submit on submit click.

View 1 Replies

Flex :: Flash - Overwriting .HTML Wrapper?

Mar 26, 2010

When I make changes to a Flex project and rerun the project, it seems that FlashBuilder4 rewrites my html wrapper that embeds the SWF. But I have additional javascript code in the html wrapper and don't want to keep losing my code. I had to re-write the code once and it was a pain in the neck.How do I stop it from re-writing the html. And the related question: how do I stop it from deleting the html during a clean?I basically need to exclude the html from its processing once it's been created the first time. P.S. I'm using Flash Builder 4, but I suppose it's the same in Flex Builder 3.

View 3 Replies

Flash :: Use Pixel Bender Within An FP9 Wrapper File?

Oct 6, 2010

We create Flash games which are embedded within third party wrapper SWF files, which are exported for FP9.

If I create an FP10 SWF which uses Pixel Bender classes (Shader, ShaderData), when I run them in an FP9 wrapper within an FP10 player, an error is thrown

VerifyError: Error #1014: Class flash.display::Shader could not be found.

Is there any way to get access to these FP10 classes - or does the version of the outermost wrapper determine what's available to child SWFs? Is this something to do with applicationDomain?

View 2 Replies

ActionScript 3.0 :: Possible To Create FLV Player Wrapper Using FlashDevelop?

Nov 23, 2010

Is it possible to create flv player's (mainly YouTube Player's) wrapper using AS3 and FlashDevelop only? I am concerned about it because I don't have Flash authoring environment. I have seen many tutorials and in first step (in all of them) are asking to create a .fla file.

View 2 Replies

Flex :: ArrayCollection Wrapper Allowing Binding Mechanism To See Changes?

Jul 26, 2011

I have an ArrayCollection containing bindable objects. I would like to access them in multiple places like below (there's only one label for clarity). How can I achieve that?hould I write some kind of wrapper for ArrayCollection dispatching special event (which?) catchable by Flex event mechanism.

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"

[code]......

View 2 Replies

ActionScript 3.0 :: Why Flash Runs Smoother Without A Wrapper (HTML)

Mar 2, 2010

If I load a swf in FlashPlayer standalone, it will play nice and smooth. If I load the HTML it's embedded in (with SWFObject) in a browser it stutters like hell. If I use my browser to open the swf on its own, that runs nearly as smooth as in the standalone player.

That the standalone player runs smoother is understandable, since it then doesn't need to go through the browser layer. A slight performance decrease when adding the HTML DOM layer is also understandable, but in my case the difference is huge!

If I were to guess:
Standalone: 100% (benchmark)
SWF in browser: 90%
SWF in HTML in browser: 30%

View 4 Replies

ActionScript 3.0 :: Using FP10 Classes Within A FP9 Wrapper In Flash Player 10

Oct 6, 2010

We create Flash games which are embedded within third party wrapper SWF files, which are exported for FP9.If I create an FP10 SWF which uses classes specific to FP10 (Pixel Bender classes such as Shader, ShaderData), when I run them in an FP9 wrapper within an FP10 player, an error is thrown VerifyError: Error #1014: Class flash.display::Shader could not be found.I thought this may be something to do with ApplicationDomains - maybe the child SWF was forced into using the global classes from the parent SWF, but assigning a new ApplicationDomain to the child didn't make any difference. Is there any way to get access to these FP10 classes - or does the version of the outermost wrapper SWF always determine what's available to child SWFs? It seems odd that the FP10 classes are not available in a FP10 player.

View 2 Replies

ActionScript 3.0 :: Record / Save A Button Press In Flash Send It To Moodle Via Scorm?

Feb 17, 2010

How do you record / save a button press in Flash as3 and send it to moodle via scorm? I have two buttons, 'choice1' & 'choice2', and would like the users' choice to be recorded to SCORM. I just need to send 'some text' to moodle when the user presses either button.

Have been pointed to 'cmi.interactions' but after spending the entire day trying to find a working example, I'm completely lost. There appear to be no coded examples anywhere.

View 4 Replies

ActionScript 2.0 :: Make SWF Wrapper With A Clickable Transparent Button Overlay?

Apr 13, 2007

I'm trying to figure out how to make a configurable wrapper or container file that I can simply pass variables such as

wrapper.swf?m=movie-to-load&u=url-that-button-goes-to

It seems simple enough, and I'm half way there ( I can get external movies to load ) however the transparent button is over my head ( read: I'm a complete noob ).[code]...

I've tried hardcoding a url into getURL as well but it doesnt' seem to be recognizing that there's even a button there.. is that because there's a new movie being loaded?

View 8 Replies







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