Re: [Flashcoders] OT: Interactive conferences
I am thinking about switching to HTML 5. Simple question... How do you go about setting up a stage (size) in html5? Sent from my iPhone On 24 Jan 2013, at 19:01, Odie Bracy obr...@mac.com wrote: I have switched to HTML5, from Flash, for my web apps as so many of my customers want to use iPad. My apps are medical in nature (use of them requires proper professional credentials) and so I don't want to put them on the App store. I charge a subscription fee for access to the apps and issue Usernames and Passwords to the subscribers. After a long search and trial of many tools, I settled on HandHeldDesigner. It is the closest programming tool to Flash that I have seen and so far I have been able to do anything with it that I have wanted. It is available on the Mac App store and at http://handhelddesigner.com I have no affiliation with the program or the author. Odie Bracy PhD HSPP Clinical Neuropsychologist President, Psychological Software Service www.psychological-software.com On Jan 24, 2013, at 1:36 PM, Merrill, Jason wrote: Ha, well right now I am mostly just using Dreamweaver (don't ask, but to sum up, I can't install other tools myself on my work machine) for HTML/Javascript/CSS. I'm really more about learning the languages and techniques rather than the tools though, but good question! Jason Merrill Instructional Technology Architect II Bank of America Global Learning 703.302.9265 (w/h) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of John McCormack Sent: Thursday, January 24, 2013 12:48 PM To: Flash Coders List Subject: Re: [Flashcoders] OT: Interactive conferences Since this might also be about tools you might want to see on your visit, what do tools/IDEs you use (especially Javascript)? John On 24/01/2013 16:14, Merrill, Jason wrote: We're transitioning away from Flash mostly and into the HTML/Javascript/CSS world of interactive development. We used to attend Adobe Max, but since we're doing less and less with Adobe products, what conferences would you suggest? What is/are the biggest and best interactive design conferences for people in our industry that use these technologies? Bascially, we were Flash developers and now do most of our stuff with Javascript/HTML/CSS to build interactive simulations and games for learning. What would be the equivalent of Adobe Max? Thanks! Jason Merrill Instructional Technology Architect II Bank of America Global Learning 703.302.9265 (w/h) -- This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.bankofamerica.com/emaildisclaimer. If you are not the intended recipient, please delete this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- This message, and any attachments, is for the intended recipient(s) only, may contain information that is privileged, confidential and/or proprietary and subject to important terms and conditions available at http://www.bankofamerica.com/emaildisclaimer. If you are not the intended recipient, please delete this message. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Can't display multiple components
I am wanting to display 2 components at the same time, along with having a preloader in place. So I have put my components on frame 3, my preloading is done on frame 1. In my actionscript publish settings I have set my export frame for classes to 2 and unchecked export in first frame in the library... phew! When I test the movie I only get one component working properly. Is this a bug? Cheers ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] variable scope
I have just created a class 'ClassA' that loads an XML file.Within that class I have a public function that navigates through the XML and populates arrays with the XML content. I am now creating another class, which will be called 'ClassB' which I plan to extend 'ClassA'. From 'ClassB' I would like to reference the array variable to re-use in the 'ClassB' class. I have tried tons of different ways all of which I get undefined. Could anyone help? Cheers ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] variable scope
I did, yes Here is a snippet: kp_xml.load (xml/keypoints.xml); kp_xml.onLoad = Delegate.create (this, kpLoad); } public function kpLoad (bSuccess : Boolean) { kp_array = new Array; if (bSuccess){ //trace(Keypoints loaded!); //Sort keypoints numKPs = kp_xml.firstChild.childNodes.length; for (i = 0; i numKPs; i ++){ kpID_array.push (kp_xml.firstChild.childNodes[i].attributes.id); kp_array.push (kp_xml.firstChild.childNodes[i].childNodes[0].nodeValue); } // //trace(kp_array); gl_xml.load (xml/glossary.xml); gl_xml.onLoad = Delegate.create (this, glossLoad); } else { _root.debug_txt.text = Keypoints XML failed to load; } } From: [EMAIL PROTECTED] on behalf of o renken Sent: Sun 09/09/2007 14:58 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] variable scope did you tried the Delegate- Class? in sense something like that: import mx.Delegate(i think that path is wrong) //.. ..// Delegate.create(scope,object) cheers olee 2007/9/9, Lee Marshall [EMAIL PROTECTED]: I have just created a class 'ClassA' that loads an XML file.Within that class I have a public function that navigates through the XML and populates arrays with the XML content. I am now creating another class, which will be called 'ClassB' which I plan to extend 'ClassA'. From 'ClassB' I would like to reference the array variable to re-use in the 'ClassB' class. I have tried tons of different ways all of which I get undefined. Could anyone help? Cheers ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://www.figleaf.com/ http://training.figleaf.com http://training.figleaf.com/ -- http://www.renkster.de/#/about/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://www.figleaf.com/ http://training.figleaf.com http://training.figleaf.com/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] variable scope
Sure: I am trying to retreive kp_array in 'classB', which is in the kpLoad function. /** * ... * @author - * @version 0.1 */ import mx.utils.Delegate; class xmlHandler { public var new_array : Array; public var numKPs : Number; public var kpID_array :Array public var kp_array :Array private var kp_xml : XML; private var numGlossIDs : Number; public var numGlossTerms : Number; private var letters_array : Array; private var glIndex_array : Array; private var glTerms_array : Array; public var glDefs_array : Array; private var tmpArr1 : Array; private var tmpArr2 : Array; private var glButtActive : Array; private var gl_xml : XML; private var numRefs : Number; private var ref_xml : XML; public var refID_array : Array; private var refRef_array : Array; private var i : Number; private var j : Number; private var __index : Number; var kp_cmp:mx.controls.TextArea; public function xmlHandler(){ //Keypoints kpID_array = new Array; kp_array = new Array; kp_xml = new XML (); kp_xml.ignoreWhite = true; //Glossary letters_array = new Array; glIndex_array = new Array; glTerms_array = new Array; glDefs_array = new Array; glButtActive = new Array; tmpArr1 = new Array; tmpArr2 = new Array; gl_xml = new XML (); gl_xml.ignoreWhite = true; //References refID_array = new Array; refRef_array = new Array; ref_xml = new XML (); ref_xml.ignoreWhite = true; //Load keypoints kp_xml.load (xml/keypoints.xml); kp_xml.onLoad = Delegate.create (this, kpLoad); } public function kpLoad (bSuccess : Boolean) { if (bSuccess){ //trace(Keypoints loaded!); //Sort keypoints numKPs = kp_xml.firstChild.childNodes.length; for (i = 0; i numKPs; i ++){ kpID_array.push (kp_xml.firstChild.childNodes[i].attributes.id); kp_array.push (kp_xml.firstChild.childNodes[i].childNodes[0].nodeValue); } // //trace(kp_array); gl_xml.load (xml/glossary.xml); gl_xml.onLoad = Delegate.create (this, glossLoad); } else { _root.debug_txt.text = Keypoints XML failed to load; } } public function glossLoad (bSuccess : Boolean) { if (bSuccess){ //trace(Glossary loaded!); //Sort glossary numGlossIDs = gl_xml.firstChild.childNodes.length; for (i = 0; i numGlossIDs; i ++) { numGlossTerms = gl_xml.firstChild.childNodes [i].childNodes.length; glIndex_array.push (gl_xml.firstChild.childNodes [i].attributes.letter); if (numGlossTerms == 0) { glButtActive.push(0); } else { glButtActive.push(1); var tmpArr1:Array = new Array(); var tmpArr2:Array = new Array(); for (j = 0; j numGlossTerms; j ++) { tmpArr1.push (gl_xml.firstChild.childNodes [i].childNodes [j].childNodes [0].childNodes [0].nodeValue); tmpArr2.push (gl_xml.firstChild.childNodes [i].childNodes [j].childNodes [1].childNodes [0].nodeValue); } glTerms_array.push (tmpArr1); glDefs_array.push (tmpArr2); } } // ref_xml.load (xml/references.xml); ref_xml.onLoad = Delegate.create (this, refsLoad); } else { _root.debug_txt.text = Keypoints XML failed to load; } } public function refsLoad (bSuccess : Boolean) { if (bSuccess){ //Sort keypoints numRefs = ref_xml.firstChild.childNodes.length; for (i = 0; i numRefs; i ++){ refID_array.push (ref_xml.firstChild.childNodes[i].attributes.id); refRef_array.push (ref_xml.firstChild.childNodes[i].childNodes[0].nodeValue); } // } else { _root.debug_txt.text = Keypoints XML failed to load; } _root.id_txt.text = refRef_array; } } ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Function call from a function
I have created a Class that has 2 functions within it Function 1 loads a movie clip Function 2 removes the movieclip I have a button setup in function 1 that reads like this: target_mc.closer_mc.onRelease = function() removeMC(); }; Of which contains a removeMovieClip(); Except it doesn't does anybody have any advice on calling functions from within a function? Many thanks ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Function call from a function
Still not working... I think it is a scoping issue. Here's my code (Excuse the bloat, I am very much learning!) import flash.filters.DropShadowFilter; import mx.utils.Delegate; class PopupIll { //Initialise variables public static var t:MovieClip; public static var ref:MovieClip; public static var popHolder:MovieClip; public var newX:Number; public var newY:Number; public var movieName:String; //Constructor function public function loadMC(movieName:String, newX:Number, newY:Number, ref:MovieClip) { //The is used if there is a hyperlink call if (newX == undefined) { var params = new Array(); params = movieName.split(|, 4); movieName = params[0]; newX = parseInt(params[1]); newY = parseInt(params[2]); } // // Creates an empty MC which holds the popup and blocker. popHolder = ref.createEmptyMovieClip(popHolder_mc, ref.getNextHighestDepth()); // Creates a child movie clip inside of popHolder. This is the movie clip the loadclip will replace. var popChild:MovieClip = popHolder.createEmptyMovieClip(popChild_mc, popHolder.getNextHighestDepth()); //Creates a listener for the load of the external SWF var swfListen:Object = new Object();//Create listener object var swfMCLoader:MovieClipLoader = new MovieClipLoader();//Create MovieClipLoader //Get errors swfListen.onLoadError = function(target_mc:MovieClip, errorCode:String, status:Number) { trace(Error loading image: +errorCode); }; swfListen.onLoadStart = function(target_mc:MovieClip):Void { //trace(onLoadStart: + target_mc); }; swfListen.onLoadProgress = function(target_mc:MovieClip, numBytesLoaded:Number, numBytesTotal:Number):Void { var numPercentLoaded:Number = numBytesLoaded/numBytesTotal*100; //trace(onLoadProgress: + target_mc + is + numPercentLoaded + % loaded); // }; //Routine when SWF is loaded swfListen.onLoadInit = function(target_mc:MovieClip):Void { //Loads the blocker MC which contains the invisible button var a:MovieClip = popHolder.attachMovie(blocker, blocker_mc, popHolder.getNextHighestDepth()); a.swapDepths(target_mc);//Swaps the depth odf the loaded image and blocker a.inv_btn.useHandCursor = false;//Hides cursor for the invisible button a.stop(); a._x = 0; a._y = 0; //Dropshadow parameters var distance:Number = 5; var angleInDegrees:Number = 45; var color:Number = 0x00; var alpha:Number = 0.8; var blurX:Number = 10; var blurY:Number = 10; var strength:Number = 1; var quality:Number = 3; var inner:Boolean = false; var knockout:Boolean = false; var hideObject:Boolean = false; //Position MC target_mc._x = Stage.width/2+newX-target_mc._width/2; target_mc._y = Stage.height/2+newY-target_mc._height/2; //Add dropsahow effect var filter:DropShadowFilter = new DropShadowFilter(distance, angleInDegrees, color, alpha, blurX, blurY, strength, quality, inner, knockout, hideObject); var filterArray:Array = new Array(); filterArray.push(filter); target_mc.filters = filterArray; target_mc.closer_mc.onRelease = function() { Delegate.create(this, getPopHolder); //popHolder.removeMovieClip(); }; //Removes the loader listener swfMCLoader.removeListener(swfListen); }; swfMCLoader.addListener(swfListen);//Adds a listener to the loading process swfMCLoader.loadClip(movieName,popChild);//Loads external SWF } public function getPopHolder():Void { trace(getPopHolder()); //popHolder.removeMovieClip(); //return popHolder; } } ___
RE: [Flashcoders] Function call from a function
Sorry is this an advanced forum? From: [EMAIL PROTECTED] on behalf of Helmut Granda Sent: Fri 07/09/2007 16:14 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Function call from a function you have scope issues, the function never gets called because the MovieClip cant see it. target_mc.closer_mc.onRelease = function() _parent.removeMC(); }; or if you are in AS2 you can also use Delegate target_mc.closer_mc.onRelease = Delegate.create ( this, removeMC); also I would recommend joining the flashnewbie list for this kind of questions. http://chattyfig.figleaf.com/mailman/listinfo/flashnewbie :) On 9/7/07, Lee Marshall [EMAIL PROTECTED] wrote: I have created a Class that has 2 functions within it Function 1 loads a movie clip Function 2 removes the movieclip I have a button setup in function 1 that reads like this: target_mc.closer_mc.onRelease = function() removeMC(); }; Of which contains a removeMovieClip(); Except it doesn't does anybody have any advice on calling functions from within a function? Many thanks ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://www.figleaf.com/ http://training.figleaf.com http://training.figleaf.com/ -- ...helmut ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://www.figleaf.com/ http://training.figleaf.com http://training.figleaf.com/ ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Can't access
I am trying to construct a class that loads in an external SWF. I have a movieclip in the external SWF called 'closer_mc' which I cannot get access to. I keep getting undefined in my output. Can anyone suggest anything? Cheers Code: class PopupIll { //Initialise variables public var t:MovieClip; public var a:MovieClip; public var closer_mc:MovieClip; public var popX:Number; public var popY:Number; public var popMovie:String; //Constructor function public function PopupIll(movieName:String, target:MovieClip, newX:Number, newY:Number, depth:Number, a:MovieClip) { t = target; t._x = newX; t._y = newY; var swfListen:Object = new Object(); swfListen.ref = t; swfListen.ref2 = t.closer_mc; //Create listener object var swfMCLoader:MovieClipLoader = new MovieClipLoader(); //Create MovieClipLoader swfListen.onLoadError = function(target_mc:MovieClip, errorCode:String, status:Number) { trace(Error loading image: +errorCode); }; swfListen.onLoadStart = function(target_mc:MovieClip):Void { //trace(onLoadStart: + target_mc); }; swfListen.onLoadProgress = function(target_mc:MovieClip, numBytesLoaded:Number, numBytesTotal:Number):Void { var numPercentLoaded:Number = numBytesLoaded/numBytesTotal*100; //trace(onLoadProgress: + target_mc + is + numPercentLoaded + % loaded); }; swfListen.onLoadComplete = Delegate.function(target_mc:MovieClip, status:Number):Void { //trace(onLoadComplete: + target_mc); //swfMCLoader.unloadClip(illHolder_mc); trace(this.ref.closer_mc); this.ref.closer_mc._x = 100; this.ref.closer_mc.onRelease = function() { this.ref.removeMovieClip(); }; //swfMCLoader.removeListener(swfListen); }; swfMCLoader.addListener(swfListen); swfMCLoader.loadClip(movieName,t); } } Lee Marshall. Senior Media Designer/Developer Transart Educational Marketing Systems Clare Hall Parsons Green St Ives Business Park St Ives Cambridgeshire PE27 4WY Tel Direct Dial: +44(0)1480 499213 Tel General Enquiries: +44(0)1480 499200 Fax: +44(0)1480 499201 email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] web: www.transart.co.uk http://www.transart.co.uk/ Confidentiality notice: Please note that the information contained herein is highly confidential and may also be privileged and is for the named recipient(s) only, on no account should any part or details be disclosed to any third party without the prior written consent of Transart. In the event that you are not the intended recipient then please delete it and any copies that you have made and contact me on the above number. General statement: Any statements made, or intentions expressed in this communication may not necessarily reflect the view of Transart. Be advised that no content herein may be held binding upon Transart or any associated company unless confirmed by the issuance of a formal contractual document or purchase order. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Importing illustrator files
I am creating some vector based illustration in Adobe illustrator, exporting them to SWFs and the importing them into Flash. The problem is that the lines of text come in separate text fields and even now and again some characters are separate fields. Does anyone have a good routine to overcome this? Cheers ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Trouble getting _x position
Hi all Just trying to create a box in actionscript into an empty movieclip. I then wanted to reurn the _x postion of the box, but it's just not happening for me. Here is my code. Any ideas? Cheers all Stage.scaleMode = scale; Create a box to encapsulate the loader indicator var bW:Number = 200;//Width of loader var bH:Number = 8;//Height of loader var bLC:Number = 0x77;//Colour of loader box var bFC:Number = 0xFF;//Fill colour of loader box var inC:Number = 0x4654FF;//Fill colour of indicator var loaderBox_mc:MovieClip = this.createEmptyMovieClip(loaderBox_mc, this.getNextHighestDepth()); loaderBox_mc.beginFill(bFC, 100); loaderBox_mc.lineStyle(1, bLC, 100); loaderBox_mc.moveTo((Stage.width/2)-bW/2, (Stage.height/2)-bH/2); loaderBox_mc.lineTo((Stage.width/2)+bW/2, (Stage.height/2)-bH/2); loaderBox_mc.lineTo((Stage.width/2)+bW/2, (Stage.height/2)+bH/2); loaderBox_mc.lineTo((Stage.width/2)-bW/2, (Stage.height/2)+bH/2); loaderBox_mc.moveTo((Stage.width/2)-bW/2, (Stage.height/2)-bH/2); loaderBox_mc.endFill(); trace(loaderBox_mc._x) Lee Marshall. Senior Media Designer/Developer Transart Educational Marketing Systems Clare Hall Parsons Green St Ives Business Park St Ives Cambridgeshire PE27 4WY Tel Direct Dial: +44(0)1480 499213 Tel General Enquiries: +44(0)1480 499200 Fax: +44(0)1480 499201 email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] web: www.transart.co.uk http://www.transart.co.uk/ Confidentiality notice: Please note that the information contained herein is highly confidential and may also be privileged and is for the named recipient(s) only, on no account should any part or details be disclosed to any third party without the prior written consent of Transart. In the event that you are not the intended recipient then please delete it and any copies that you have made and contact me on the above number. General statement: Any statements made, or intentions expressed in this communication may not necessarily reflect the view of Transart. Be advised that no content herein may be held binding upon Transart or any associated company unless confirmed by the issuance of a formal contractual document or purchase order. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com