AS3 eLearning Lesson Animation Exercise

Hi,
I'm a beginner using AS3 and am trying to animate a 300X300 circle on a stage to create a breathing exercise (inhaling/exhaling) for an eLearning lesson. The inhale/exhale exercise would need a script to scale X,Y larger and smaller, inhaling lasting half as long as exhaling with 100 ms delay in between inhale and exhale. A challenge for a beginner!
Even bigger challenge to get my brain around: the exercise scripting is a little more complex, since the user needs to be able to enter the time length of the exercise (15 minutes to 6 minutes) and their starting breaths per minute (BPM) and then have the script, every minute (of the length of exercise that they choose from a range of 15-6), decrease the breaths per minute to one less (than for the previous minute), with the BPM floor being no less than 6 (so if there are several minutes remaining, it would stay at 6 BPM until the time length of the exercise is reached.)
Unfortunately, so far, I've only been able to set up the circle on the stage and figure out from reading the AS3 reference how to scale X, Y.
Any help much appreciated.
Kind Regards,
saratogacoach

Hi Kenneth,
When I tried this, I got error messages.
update: the other item that I forgot, is that when the inhale circle expands, there is an MP3 audio file (can be converted to WAV if needed) which plays an inhaling sound, and it is stopped when the inhale animation is done, each cycle, and when the exhale circle contracts, another different MP3 sound file is played and stopped (no sound during pause), each and every cycle.(Knew I forgot something.)
So, I will need to add this audio as well. (In looking at the script, was not sure where to insert play and stop playing inhale.mp3 and exhale.mp3.)
I'm going to re-post all of the script so you can take a look, see what I'm doing wrong (please also note that I changed the inhale:exhale ratio in the animation to reflect twice as long for exhale as for inhale (_inhale?2:1). I have not adjusted this again based on the newly defined _inhaleDuration, _exhaleDuration. Maybe this should also be corrected? Do other conflicting items need to be removed?)
Here's the current script (which is generating errors):
import fl.transitions.Tween;
import fl.transitions.easing.Regular;
import fl.transitions.TweenEvent;
import flash.utils.Timer;
import flash.events.TimerEvent;
// set initial BPM
var _bpm:uint=10;
// set minimum BPM
var _minBPM:uint=6;
// set maximum minutes to run the app
var _maxMinutes:uint=15;
// how many minutes since started
var _minute:uint;
// how many inhale and exhale animation has run
var _animationCount:uint;
// is this inhaling or exhaling?
var _inhale:Boolean;
// how long inhale/exhale animation should take
var _inhaleDuration:Number = 60*.3;
var _exhaleDuration:Number = 60*.6;
var _pauseDuration:Number = 60*.05;
// is the next animation the new minute?
var _newMinute:Boolean;
// Tween reference
var tX:Tween;
// start new minute
function startMinute():void {
    // the next animation is not new minute
    _newMinute=false;
    // check if this minute is beyond the max minutes
    if (++_minute>_maxMinutes) {
        trace("Excercise completed.");
        return;
    // trace minute and BPM
    trace("Minute: " + _minute + ", BPM: " + _bpm);
    // get inhale duration in second
    _inhaleDuration = (60/_bpm - 2*0.1)/3;
    // get exhale duration in second (2 x inhale duration)
    _exhaleDuration=_inhaleDuration*2;
    // 100ms pause betwen inhale and exhale
       var _timer:Timer=Timer;
       _timer.addEventListener(TimerEvent.TIMER, timeout, false, 0, true);
     _timer = new Timer(_pauseDuration, 1);
    // start animation
    animateCircle();
function animateCircle():void {
    // alternate inhale and exhale
    _inhale=! _inhale;
    // if inhale: scale x 0.5, if exhale: scale x 2 changed 2:1
    tX=new Tween(V1,"scaleX",Regular.easeOut,V1.scaleX,_inhale?2:1,_inhale?_inhaleDuration:_exhaleDu ration,true);
    // react when scaleX is changed
    tX.addEventListener(TweenEvent.MOTION_CHANGE, tweenChange, false, 0, true);
    //  react when inhale/exhale is finished
    tX.addEventListener(TweenEvent.MOTION_FINISH, tweenFinish, false, 0, true);
// when scaleX is changed
function tweenChange(e:TweenEvent):void {
    // set the scaleY to the same value
    V1.scaleY=V1.scaleX;
// when twen is finished
function tweenFinish(e:TweenEvent):void {
    // remove event listeners from the Tween
    tX.removeEventListener(TweenEvent.MOTION_CHANGE,tweenChange);
    tX.removeEventListener(TweenEvent.MOTION_FINISH,tweenFinish);
    // remove reference to the Tween
    tX=null;
    // if the last animation was exhale
    if (! _inhale) {
        // trace the animation count
        trace("Inhale/exhale cycle: " + (_animationCount + 1));
        // if inhale & exhale has run BPM times (run for 1 minute)
        if (++_animationCount==_bpm) {
            // reduce the BPM by 1, but do not let go under the minimum BPM
            if (--_bpm<_minBPM) {
                _bpm=_minBPM;
            // reset the animation count
            _animationCount=0;
            // the next animation is new minute
            _newMinute=true;
    // start the 100ms pause
    _timer.start();
// 100ms pause end
function timeout(e:TimerEvent):void {
    // stop the timer
    _timer.stop();
    // if the next animation is new minute start new minute, if not continue inhale/exhale
    _newMinute?startMinute():animateCircle();
// start the initial minute
//startMinute();
Button1.addEventListener(MouseEvent.CLICK, first);
function first(event:MouseEvent) {
_bpm = parseInt(TF1.text);
startMinute();
Please let me know what I am doing wrong. Thanks much.
Kind Regards,
saratogacoach

Similar Messages

  • AS3 Scripting for Animated GIF

    Hi,
    I am trying to create an animated GIF for a white noise animation (needed for those viewers who don't have access to a Flash player). The SWF version runs perfectly. Currently, all of the AS3 for the bitmapData.noise and bitmapData.palettemap script is in the first keyframe. So, when I export as an animated GIF, I get a white screen in playback.
    I think the problem for the animated GIF is that there are no frames past the first frame. But, I am not sure how to add frames or re-write the AS3 to get a 30 second animated GIF? I tried duplicating the first keyframe into several new keyframes and get error messages. I would appreciate any help.
    Here's the AS3 in the first keyframe that works well for a SWF (previous relevant thread: http://forums.adobe.com/thread/734335?tstart=0):
    var array:Array=new Array();
    for (var i:uint = 0; i < 255; i++) {
    array[i] = 0xffffff * (i % 2);
    var _bitmapData:BitmapData;
    var bDHolder:Sprite = new Sprite();
    _bitmapData = new BitmapData(stage.stageWidth/4, stage.stageHeight/4);
    bDHolder.addChild(new Bitmap(_bitmapData));
    bDHolder.scaleX = bDHolder.scaleY = 4;
    addChild(bDHolder);
    addEventListener(Event.ENTER_FRAME, onSpriteEnterFrame);
    function makeNoise():void {
                _bitmapData.noise(getTimer(), 100, 255, 7, true);
                _bitmapData.paletteMap(_bitmapData, _bitmapData.rect, new Point(0,0), array, array,array);
    function onSpriteEnterFrame(event:Event):void {
                makeNoise();
    var itsNoisy:Boolean = true;
    stage.addEventListener(MouseEvent.MOUSE_DOWN, manageNoise);
    function manageNoise(evt:MouseEvent):void {
         if(itsNoisy){
             removeEventListener(Event.ENTER_FRAME, onSpriteEnterFrame)
         } else {
             addEventListener(Event.ENTER_FRAME, onSpriteEnterFrame)
         itsNoisy = !itsNoisy;
    Kind Regards,

    Jimmy,
    You may (also) try to ask in the (most) relevant Photoshop forum.
    http://forums.adobe.com/community/photoshop

  • Animation using JavaScript

    Hi,
    I have created an animation exercise for an eLearning lesson in a program that uses JavaScript as the scripting for a Windows executable. A retired social worker who creates these eLearning materials as give-away's to help people in the community improve health, it would be a big help to reaching more people if instead of a Windows executable version, the animation could be developed in a web page. A lot more people could view the eLearning and try this exercise which trains people in pacing their breathing.
    The animation has a 300X300 circle on the canvas with a couple of text input boxes and a start button. The JS < 50 lines of script, but since it was not developed for a web page, it has no tags and it depends on objects like the circle or button (or 2 audio files to craete the inhale/exhale sounds) that were already placed on the canvas in the Windows executable program.
    I'm not very skilled using Dreamweaver CS5, but with help, reading, references can try to convert this JS into a web version, if it's possible. Not sure how to do this and would appreciate any help.
    I am adding a screenshot of the interface and the JS functions that are called by the start button.
    //JS: ( bar1 is the variable entered by the use as breaths per minute-BPM; time1 is the exercise length; the variables initially are set as follows: time1=15, //volume=100)
    var time1
    function minuteTimer()
    breakLoop = false
    stopLoop = false
    fork (calcBreathing)
    for (var i=0;i<time1;i++)
        wait(60)
        breakLoop = true
        Submit.Show()
        Text122.Show()
        Text12.Show()
        TextInput22.Show()
        TextInput2.Show()
        Submit2.Hide()
        TextInput2.SetTransparency(0,false)
        TextInput22.SetTransparency(0,false)
        Text12.SetTransparency(0,false)
        Text122.SetTransparency(0,false)
        Text5.SetTransparency(0,false)
        Frame12.SetTransparency(0,false)
        Submit.SetTransparency(0,false)
        TextInput2.Enable(true)
        TextInput22.Enable(true)
        Debug.trace("\n minutes elapsed "+(i+1)+"\n")
    stopLoop = true   
    function calcBreathing()
        var bar2 = 60/bar1
        for (loop = 0;loop<bar1;loop++)
            mySound.Play(1,volume)
            Vector8.Scale(.5,.5, bar2*.3)
            mySound.Stop()
            wait (bar2*.05)
            mySound2.Play(1,volume)
            Vector8.Scale(-.5,-.5,bar2*.6)
            mySound2.Stop()
            wait (bar2*.05)
            if (breakLoop) break
        breakLoop = false
        if (bar1 > 6) bar1--
        if (!stopLoop) calcBreathing()
    Any help appreciated. Thanks very much.
    Kind Regards,
    saratogacoach

    joel pau thank you for all the support.
    now i will explain the anwer if anyone else will be stuck with the same problem.
    first of all in edge animate need to mark all the things that created and "convert to symbol"(mark all and right click).
    second:
    in the top of your html file you got the script to the edge_preLoad.js .....
    so now in your js code:
    lets say we use append to add new div to our code and now we got <div id="new"</div>.
    $.Edge.getComposition("yourCompositionID").createSymbolChild("yourSymbolThatCreatedInStepO ne","#new");
    like this you can get new animation of the same composition.
    if you want to conroll the animation you just need to take the id of the new symbol your created using jquery or any way you like.
    and example of control it:
    $.Edge.symbol.get("#theNewID").play();

  • JS animation not rendering clearly

    With help, ported an AS3 animation to JS (animation is for eLearning lesson), but it renders blurry in preview browsers (FF, IE, Chrome on mobile). DW's Live View renders it perfectly.
    Must be doing something wrong in the JS (like scaling) which is stopping clear rendering in the browsers. (Live View must be able to compensate for my scripting errors.)
    I have beginner skills with scripting.
    Here's the link (3 files: index.html, src.js and style.css): https://elearningprojects.com/websample1/index.html (It appears that right-clicking can display JS source, but can make files available if needed.)
    Would appreciate any help.

    Hi,
    Thank you for your reply and help.
    The original script was in Flash CS6/AS3. Got some help (no longer available) to port the AS3 to JS. The problem, I think from doing online research, is that the JS is using 1X1 pixel rectangles, causing scaling in order to reach the 8X8 rectangle size that is needed by the animation. This is causing blurring and distortion of the animation. I have limited scripting skills. So, I am not sure how to re-write the JS to use 8X8 pixel rectangles instead of 1X1. (Then the canvas size would probably also need to be changed to match the rectangle size changes?)
    Can you suggest how to make the script changes so I can fix the script?
    Again, thank you for your kind help.
    saratogacoach

  • Cp5 Animation not working

    Hi,
    Wondering if someone out there can help me with this.
    I have this beautiful animation of money falling from trees. The animation was created using AS3. The animation works on its own when opened in a web browser (such as IE). However when inserted into Captivate 5, it does not appear. In fact, the whole slide seems to pause before the animation opens thereby holding up the rest of the presentation.
    Does anyone have a solution for this?
    Many thanks in advance,
    John.
    PS: I've posted the files at:  http://www.parexcellence.site90.com/captivate/animation_help.cptx
    and http://www.parexcellence.site90.com/captivate/fallingleaves.swf

    I have resolved the issue by reworking on some actionscript code that was affecting its linkage with Captivate.
    It now works fine.

  • Beginner question re data animation

    Please excuse my total lack of knowledge, but is flash capable of animating objects (visual elements) such that the objects' motions (translation, rotation, etc) is completely defined by an external data set? For instance, I want to show a car doing various maneuvers based on x and y position data (plus rotation data) sourced from an external datafile (at present, excel, but obviously it can be converted into whatever format works). My goal is to produce a series of animation videos, with each one being unique by iteratively changing the external data during the production process. Again, please excuse my lack of knowledge but I hate to spend a lot of money without first knowing if this is even possible. Thanks everybody.

    Found a link on a quick google search that might be able to get you started:
    http://www.zombieflambe.com/blog/as3-external-xml-animation-scripting-tweenmax/
    (I have no affiliation with the owners/moderators of this site, what-so-ever)

  • 1009 error for null object reference-how to fix/workaround?

    Hi,
    A while ago, with help on the forum, worked out a script (AS3) for a tween animation to demonstrate breathing in and out for an eLearning lesson exercise. There are buttons to pause and unpause/resume the animation.
    These pause and unpause/resume functions throw a 1009 error if the pause button is clicked at the moment that the tween is changing from expanding to contracting. So, most of the time, no error. But every so often, if clicked at the turning point, the 1009 error displays in debugging.
    The error points to the line:  _paused == null ? pauseAnimation():unpauseAnimation(); which is part of one of the pause functions. And the error also points to a conditional in a second pause function which is probably the beginning attemp to execute the script in it: if (_tX.isPlaying) {
    I have tried different ways of changing the script but cannot prevent the error. Any help would be appreciated.
    I've included the full pause function script below:
    // pause/unpause
    function pauseButtonClick2(e:MouseEvent):void {
        _paused == null ? pauseAnimation():unpauseAnimation(); error 1009
    // pause
    function pauseAnimation():void {
        // if Tween _tX is running
        if (_inhale) { //error 1009
            // stop the Tween       
            _tX.stop();
            _soundChannel.stop(); //soundChannel playing inhale sound mp3
             _exitButton.visible = false
            indexBtn2.visible = false;
            // record what is paused
            _paused = "tween";
        } if (!_inhale) {       
            _tX.stop();
            _soundChannel.stop(); //soundChannel playing exhale sound mp3
            _exitButton.visible = false
            indexBtn2.visible = false;
            // record what is paused
            _paused = "tween2";       
            else{
            // timer is running
            // stop the timer
            _timer.stop();
            exitButton.visible = false
            indexBtn2.visible = false;
            // record what is stopped
            _paused = "timer";
        _pauseButton2.visible = false
        _exitButton.visible = true;
        _exitButton.alpha = .5;
        indexBtn2.visible = true;
        //indexBtn2.alpha = .5;
        _resumeButton2.visible = true;
        //_resumeButton2.alpha = .5;
    // unpause
    function unpauseAnimation():void {
        // unpause accordingly
        switch (_paused) {
            case "tween" :
                _tX.resume();
                _soundChannel = _inhaleSound.play()
                break;
            case "tween2" :
                _tX.resume();
                _soundChannel = _exhaleSound.play()
                break;
            case "timer" :
                _timer.start();
                break;
        // reset what was paused
        _paused = null;
        _pauseButton2.visible = true;
        //_pauseButton2.alpha = .5;
        _exitButton.visible = false;
        indexBtn2.visible = false;
        _resumeButton2.visible = false;
    Error 1009:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at FLNav9exp_fla::MainTimeline/pauseAnimation()[FLNav9exp_fla.MainTimeline::frame6:305]
        at FLNav9exp_fla::MainTimeline/pauseButtonClick2()[FLNav9exp_fla.MainTimeline::frame6:300]

    I've been trying to fix, still unsuccessfully, so hopefully I've restored script to above (simply cut and pasted it from above) before adding your script.
    Got the following, which differs from original error locations:
    Attempting to launch and connect to Player using URL C:/Users/Stephen/Desktop/bejeweled(1)/flashinglights/latestfiles/exp/FLNav9exp-app.xml
    [SWF] FLNav9exp.swf - 1687237 bytes after decompression
    10 10
    BPM input: 10
    Minute: 1, BPM: 10
    Inhale/exhale cycle: 1
    a
    false
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at FLNav9exp_fla::MainTimeline/pauseAnimation()[FLNav9exp_fla.MainTimeline::frame6:317]
        at FLNav9exp_fla::MainTimeline/pauseButtonClick2()[FLNav9exp_fla.MainTimeline::frame6:300]
    However, each time I run and get an error, there is a different error line. But, one error line remains consistent:
    function pauseButtonClick2(e:MouseEvent):void {
        _paused == null ? pauseAnimation():unpauseAnimation(); error 1009: this line

  • Where to add new script in an ActionScript file

    Hi,
    moved to AS3 forum
    I am a newbie using Flash Pro CS5 and have beginner skills in AS3.
    I am working on an eLearning lesson and already, with a lot of earlier help of others, and have an Action Script file to use for a white noise  animation in a learning lesson.
    I need to make a couple of additions but am very unfamiliar with adding  script to an Action Script file "package." Specifically, I want to add a  URL checking to the Action Script file so that students do not view the  Flash movie animation outside of the lesson which contains learning  materials and instructions for using the animation.
    I would like to add the following script but so far, I have been getting error messages:
    if ((this.loaderInfo.url).indexOf("mywebsite. com") == -1)
                navigateToURL (new URLRequest ("http://mywebsite.com/default.html"));
                else
    //run the animation
    The current AS3 in the .as file is:
    package
        import flash.display.Bitmap;
        import flash.display.BitmapData;
        import flash.display.Sprite;
        import flash.events.Event;
        import flash.events.MouseEvent;
        import flash.events.TimerEvent;
        import flash.geom.Matrix;
        import flash.geom.Point;
        import flash.utils.getTimer;
        import flash.utils.Timer;
        public class Main extends Sprite
            private var viewbmd:BitmapData;
            private var workbmd:BitmapData;
            private var scaleUp:Matrix;
            private var px:Vector.<uint>;
            private var timer:Timer;
            private var itsNoisy:Boolean;
            public function Main():void
                if (stage) init();
                else addEventListener(Event.ADDED_TO_STAGE, init);
            private function init(e:Event = null):void
                removeEventListener(Event.ADDED_TO_STAGE, init);
                viewbmd = new BitmapData(stage.stageWidth, stage.stageHeight, false);
                var view:Bitmap = new Bitmap(viewbmd);
                addChild(view);
                workbmd = new BitmapData(viewbmd.width / 8, viewbmd.height / 8, false);
                scaleUp = new Matrix();
                scaleUp.scale(8, 8);
                itsNoisy = true;
                stage.addEventListener(MouseEvent.CLICK, manageNoise);
                initNoise();
                timer = new Timer(50);
                timer.addEventListener(TimerEvent.TIMER, onTick);
                timer.start();
            private function initNoise():void {
                var array:Array = [];
                for (var i:uint = 0; i < 255; i++) {
                    array[i] = 0xffffff * (i % 2);
                workbmd.noise(getTimer(), 0, 255, 7, true);
                workbmd.paletteMap(workbmd, workbmd.rect, new Point(0, 0), array, array, array);
                px = workbmd.getVector(workbmd.rect);
            private function onTick(e:Event):void {
                flipSomePixels(160);
                viewbmd.draw(workbmd, scaleUp);
            private function flipSomePixels(howMany:int):void {
                for (var i:int = 0; i < howMany; i++){
                var pxidx:int = Math.floor(Math.random()*px.length);
                    px[pxidx] = ~px[pxidx]; //bitwise NOT to flip all bits
                workbmd.setVector(workbmd.rect, px);
            private function manageNoise(e:MouseEvent):void {
                itsNoisy ? timer.removeEventListener(TimerEvent.TIMER, onTick) : timer.addEventListener(TimerEvent.TIMER, onTick);
                itsNoisy = !itsNoisy;
    If anyone can take a look and please let me know how to add the  additional script to check for the URL (please be specific since I am a beginner in  scripting):
    I have tried everything that I can think of and am stuck.
    Thanks in advance for your help.
    Kind Regards,
    saratogacoach

    in your constructor:
    if (this.loaderInfo.url.indexOf("mywebsite.com") == -1) {
        navigateToURL(new URLRequest ("http://mywebsite.com/default.html"));
    } else {
        addEventListener(Event.ADDED_TO_STAGE, init);

  • Centering Dynamically Drawn Progress Bar on Stage

    Hi,
    I am trying to add a progress bar linked to timer to countup 60 seconds (for an eLearning lesson). Found a good Progress Bar sample in AS3 (http://ammarz.org/stuff/TimedProgressBar.zip) and would like to adapt it to a larger stage (1024 X 768).
    Since the project will be deployed as AIR on Android devices, would like to center the progress bar on the stage. Have tried many variations of
    xyzprogressbar.x = stage.width/2-progressbar.width/2
    xyzprogressbar.y = stage.height/2-progressbar.height/2
    with no success.
    The following based on the above sample AS3 hard codes the progress bar to center stage for a 1024 X 768 stage:
    var dimentions:Rectangle = new Rectangle(362,374,300,20);
    drawProgressBar(_drawingCanvas.graphics,dimentions,5,0,0x990000,0xFF9900,0x000000);
    But this doesn't solve the problem of centering the progress bar for resized playback on different device screens.
    Can someone take a look (adapted sample FLA: http://eLearningprojects.com/ProgressBar.zip), suggest a way to center the bar in AS3 (without hard coding the specific x=362,y=374 dimensions as above)?
    Thank you very much for your help.
    Regards,

    Hi Ned,
    Thanks. That worked.
    Regards,

  • Running custom webservice on Oracle 10.1.3.0 AS of Oracle eBS

    Rapid Install installs Oracle AS 10.1.3.0 as part of Oracle e-Business Suite R12.
    My question is: Is it possible to deploy webservices build in JDeveloper to this application server?
    Iam not talking about BPEL, just a custom build webservice or a webservice generated by Jdeveloper based on an existing PL/SQL procedure.
    Regards,
    Gertjan.

    Please see the document
    Oracle Application Framework Toolbox Tutorials Release 12.1.1
    Chapter 3: Supplemental Lessons --> Services Exercise explain how to create a business object service.
    ==========================================
    Arone.Zhang / 张礼军
    [email protected]
    Oralce EBS技术顾问
    Twitter: @aronezhang <http://twitter.com/aronezhang>
    博客: http://oracleseeker.com <http://oracleseeker.com/>
    ==========================================

  • How would you plan this out?

    I've been given the task of importing several eLearning lessons from another program (ReadyGo). The program isn't very robust and I've found that I have to go in and copy/paste all of the text into a separate document in order to eventually move it into Captivate 4. I did the first extraction using Notepad.
    My boss would like me to transfer these lessons into Powerpoint in order to have a file format that others within our organization can keep as "master files". These master files would be updated by various people - think of them as the raw scripts, which will be updated by various "lesson owners". The idea here is that when there are updates to the text for the lessons, the owner of the lesson will update the Powerpoint file and send it to me. I would then re-import the updated slides.
    My concern is that importing slides from Powerpoint seems like it will make things more comlicated. It's almost as if I will have to design the lessons fully in Powerpoint then import the finished product (sans sound and video) into Captivate, taking away a lot of the functionality of Captivate. Am I right? Would it be easier to simply have each lesson owner keep a raw text file for updating so that I can do all the work in Captivate instead of having to deal with Powerpoint and Captivate?
    Once all of the existing lessons are transferred over to Captivate, new ones will be created. I just need to put a plan/system in place now so that we can work efficiently. Any suggestions on how I should proceed? Both with the transfer of lessons and for the upkeep/updates from multiple lesson owners
    Thanks in advance.

    Get them to storyboard everything.
    What I have found is that "Rapid E-Learning Development" is something that is useful only for people with no development skills. If you have any experience in building content Chris, I would recommend the team to storyboard using anything - Word, PPT etc and only use it as your guideline to deliver to.
    Build and create from scratch your templates for Captivate, then populate these with content as and when.
    IMHO - I create my own templates from scratch as off the shelf doesn't always deliver what you may need, however see how other people do things and take what you need from them

  • Flash sound setting for internet publishing

    Dear Friends,
    iam creating elearning lessons and trying to upload in internet. Please advice me what sound setting should i keep. Now iam keeping in publish setting, 24kbps. with "convert stereo to mono". But iam getting disturbance in the swf output. The mp3 sound iam inserting is very clear (format is 16bit, stereo, 44100hz). But iam getting disturbance in output.
    Pls advice me what is the correct sound setting for web based swf lessons.
    Thanks in advance,
    Syed

    Dear Mr.kglad,
    Thanks for the reply. Native settings means, my mp3 vo is 16 bit, stereo, 44100hz for this what should i keep in publish settings? pls advice me. for ur info, this 16bit stereo, i have made, actually they recorded as 16bit, mono. Now iam importing as stereo.
    my issue is same as http://www.newgrounds.com/portal/view/553963 this pls check this link. This is not my lesson. while browcing i foudn this. this same as my problem. when i listen in fla file its good.. after press control enter and made as swf iam geting the distubance and bad quality in vo.
    thanks and regards,
    syed

  • Migration of J2EE application in JDI Infrastructure

    Hi,
    Can anybody please let me know where would i find a good document on this migration of J2EE in JDI.
    Any, elearning lesson or maybe a pdf or something.
    Also, i am planning to make this as my masters project,
    would you guys think it is possible ???
    Thank you,
    Regards,
    Krunal

    hi
    good
    go through these links, these might help you to solve your problem,
    http://www.gwug.org/artikel/download/IBM_WebSphereStudioFamily_Migration.pdf#search=%22Migration%20of%20J2EE%20application%20in%20JDI%20Infrastructure%20%22
    http://www.dbis.cs.uni-frankfurt.de/downloads/teaching/DB-Vorlesung/2006_SS/SAPNetWeaverGastvortrag.pdf
    http://help.sap.com/saphelp_nw04/helpdata/en/38/33eb9c3e1fe2409a9eba8246b933ca/content.htm
    thanks
    mrutyun^

  • IE8 and HTML5

    I just updated an eLearning lesson from CP5 to CP6 and output it to HTML 5. Aside from a few minor adjustments it worked perfectly. I can't tell you how impressed I was.
    My manager ran the lesson in her default browser which IE8 and it isn't supporting HTML 5. Unfortunately we support that version for our products and it's a show-stopper for any HTML 5 delivery. I read a few articles where people seem to be 'coding around' the incompatibilty by adding scripts to the HTML. Has anyone had any success with this? Any suggested solutions that anyone is aware of? Are there any settings in the output that can get around this?
    Best, Steve

    Hi Steve,
    Just to confirm, HTML5 is not supported on IE8, the compatible version is IE9 or higher.
    When you play the HTML5 content from Captivate on IE8 (or any incompatible web browser) it itself prompts that it would work on following web browsers--
    Internet Explorer 9 or later
    Safari 5.1 or later
    Google Chrome 17 or later
    Thanks,
    Anjaneai

  • Some sample Applescripts are missing from Script menu.

    I am a new to AppleScript and I have just started reading A Beginner's Guide to Apple Script (by Guy Hart-Davis). The book makes numerous references to the default example scripts that are created during OS X install. I have added the script menu to to the menu bar and when I open the script menu - I only see about half of the default scripts that are shown in the book. I did some browsing and found other examples of the script menu which shows fewer scripts than the example in the book - but still shows a few more than what I am seeing on my system. On my system I do not see the following scripts (Address Book Scripts, Basics, Finder Scripts, Info Scripts, Internet Services, Navigation Scripts, URL's or Virtual PC Scripts). I am on SL 10.6.2. The book is written for SL 10.6 - but also makes references to Leopard 10.5. Is there something wrong with my system or were some of these default scripts eliminated in 10.6.2. My iMac came with 10.6.1 initially - so I have no prior OS version as a point of reference. My concern is that I progress with the lessons and exercises in the book - that there will be continued references to these missing scripts - as I suspect that the missing scripts may be used as a starting point for creating new scripts. Any idea where I can find the scripts that I listed as missing?

    Thanks. The book I am using appears to be a brand new book just released a month ago (or so). It appears the book may have been written for Leopard and tweaked for Snow Leopard (but under the guise of being the other way around) - without actually verifying that the examples for Snow Leopard actually work. The website for the book (McGraw Hill) does not seem to provide a mechanism for providing feedback or errata info. So far these missing scripts have not hampered my progress - except on the initial example. I was more concerned that something was missing from my iMac.

Maybe you are looking for