Re: [Flashcoders] DoubleClick AS2 swc/library
can't find the swc anywhere - knowing google, they've prolly named it something bizarre to avoid people reverse engineering it On Mon, Mar 1, 2010 at 9:24 PM, Jim Lafser jimlaf...@yahoo.com wrote: If you have a SWC, you should have the file. Open the SWC using something that can look at pkzip format files. Extract the .ASI file that is the class you are interfacing. Assume you know where the file needs to be located for use by FlashDevelop. Jim --- On Mon, 3/1/10, allandt bik-elliott (thefieldcomic.com) alla...@gmail.com wrote: From: allandt bik-elliott (thefieldcomic.com) alla...@gmail.com Subject: [Flashcoders] DoubleClick AS2 swc/library To: Flash Coders List flashcoders@chattyfig.figleaf.com Date: Monday, March 1, 2010, 9:36 AM hey guys does anyone know if DoubleClick have an AS2 library so that I can use it to write a class in flashdevelop? thanks a ___ 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
Re: [Flashcoders] (no subject)
Thanks all, I was afraid of that Henrik. Up the MVC path then (br feel like Little Thumbling in the fairy tale ;-)) cheers Willem van den Goorbergh On 1-mrt-2010, at 19:41, Henrik Andersson wrote: Geografiek wrote: The theoretical problem remains: myArray knows it contains item1 but does item1 have a way of knowing it is part of myArray? The thing is, it is not. The array only holds a reference to the object. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= Geografiek is a Dutch, Utrecht-based map and chart design company. Willem van den Goorbergh can be contacted by telephone: (+31) 30-2719512 or cell phone: (+31)6-26372378 or by fax: (+31)302719687 snail mail: Hooghiemstraplein 89 3514 AX UTRECHT Visit our website at: http://www.geografiek.nl =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] addEventListener Problem
2010/3/1 Beatrix Krümmer-Frau birik...@hotmail.de Did you check the spelling? Thank you all. Yes, yesterday's lesson was brought to me by the letter 'N' lol. Today's lesson is different. Here's my code: function DisplayPicLoaded(evt:Event):void { var container:Sprite = new Sprite(); var myXArray:Array = new Array(10,176,342,508,674,840); var loaderInfo:LoaderInfo = evt.target as LoaderInfo; var displayObject:DisplayObject = loaderInfo.content; displayObject.width = 150; displayObject.height = 150; displayObject.x = myXArray[countRounds]; displayObject.y = 10; displayObject.filters = [createBevel()]; container.addChild(displayObject); addChild(container); navPics.push(displayObject); container.addEventListener(MouseEvent.CLICK, navToURL); if (countRounds 5) { countRounds++; init(); } } function navToURL(e:Event):void { e.currentTarget.removeEventListener(MouseEvent.CLICK, navToURL); Navigate.to(test.html); } The above code works fine, but it's only a baby-step toward what I need. I'm confused how to change test.html into a dynamic url that depends on which iteration of the displayObject is created in DisplayPicLoaded. I believe I'm supposed to use e.currentTarget.??? and that's where I'm lost. Of course, e.currentTarget refers to container, not displayObject. Perhaps I could add an URL element to container in DisplayPicLoaded, then reference it in navToURL. Please advise. TIA, Susan ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] addEventListener Problem
Hi Susan, In DisplayPicLoaded you add displayObject as a child of container. So in navToURL you can reference it as e.currentTarget.displayObject HTH Willem van den Goorbergh On 2-mrt-2010, at 13:59, Susan Day wrote: 2010/3/1 Beatrix Krümmer-Frau birik...@hotmail.de Did you check the spelling? Thank you all. Yes, yesterday's lesson was brought to me by the letter 'N' lol. Today's lesson is different. Here's my code: function DisplayPicLoaded(evt:Event):void { var container:Sprite = new Sprite(); var myXArray:Array = new Array(10,176,342,508,674,840); var loaderInfo:LoaderInfo = evt.target as LoaderInfo; var displayObject:DisplayObject = loaderInfo.content; displayObject.width = 150; displayObject.height = 150; displayObject.x = myXArray[countRounds]; displayObject.y = 10; displayObject.filters = [createBevel()]; container.addChild(displayObject); addChild(container); navPics.push(displayObject); container.addEventListener(MouseEvent.CLICK, navToURL); if (countRounds 5) { countRounds++; init(); } } function navToURL(e:Event):void { e.currentTarget.removeEventListener(MouseEvent.CLICK, navToURL); Navigate.to(test.html); } The above code works fine, but it's only a baby-step toward what I need. I'm confused how to change test.html into a dynamic url that depends on which iteration of the displayObject is created in DisplayPicLoaded. I believe I'm supposed to use e.currentTarget.??? and that's where I'm lost. Of course, e.currentTarget refers to container, not displayObject. Perhaps I could add an URL element to container in DisplayPicLoaded, then reference it in navToURL. Please advise. TIA, Susan ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= Geografiek is a Dutch, Utrecht-based map and chart design company. Willem van den Goorbergh can be contacted by telephone: (+31) 30-2719512 or cell phone: (+31)6-26372378 or by fax: (+31)302719687 snail mail: Hooghiemstraplein 89 3514 AX UTRECHT Visit our website at: http://www.geografiek.nl =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+= ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] addEventListener Problem
On Tue, Mar 2, 2010 at 9:15 AM, Geografiek geograf...@geografiek.nl wrote: Hi Susan, In DisplayPicLoaded you add displayObject as a child of container. So in navToURL you can reference it as e.currentTarget.displayObject Half-way there. I now have this code: function DisplayPicLoaded(evt:Event):void { var container:Sprite = new Sprite(); var myXArray:Array = new Array(10,176,342,508,674,840); var loaderInfo:LoaderInfo = evt.target as LoaderInfo; var displayObject:DisplayObject = loaderInfo.content; displayObject.width = 150; displayObject.height = 150; displayObject.x = myXArray[countRounds]; displayObject.y = 10; displayObject.url = myURLs[countRounds]; displayObject.filters = [createBevel()]; container.addChild(displayObject); addChild(container); navPics.push(displayObject); container.addEventListener(MouseEvent.CLICK, navToURL); if (countRounds 5) { countRounds++; init(); } } function navToURL(e:Event):void { e.currentTarget.removeEventListener(MouseEvent.CLICK, navToURL); Navigate.to(e.currentTarget.displayObject.url); } This throws an error 1119 on this line: displayObject.url = myURLs[countRounds]; How do I attach that url? TIA, Susan ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] addEventListener Problem
Hi Susan, Didn't you attach that url in DisplayPicLoaded in the line displayObject.url = myURLs[countRounds];? Error 1119 has to do with referring to a non-existent property. Do you know which? Tracing is your friend here I would say. To be honest I don't know if the Navigate.to line is correct AS3. HTH Willem On 2-mrt-2010, at 14:28, Susan Day wrote: On Tue, Mar 2, 2010 at 9:15 AM, Geografiek geograf...@geografiek.nl wrote: Hi Susan, In DisplayPicLoaded you add displayObject as a child of container. So in navToURL you can reference it as e.currentTarget.displayObject Half-way there. I now have this code: function DisplayPicLoaded(evt:Event):void { var container:Sprite = new Sprite(); var myXArray:Array = new Array(10,176,342,508,674,840); var loaderInfo:LoaderInfo = evt.target as LoaderInfo; var displayObject:DisplayObject = loaderInfo.content; displayObject.width = 150; displayObject.height = 150; displayObject.x = myXArray[countRounds]; displayObject.y = 10; displayObject.url = myURLs[countRounds]; displayObject.filters = [createBevel()]; container.addChild(displayObject); addChild(container); navPics.push(displayObject); container.addEventListener(MouseEvent.CLICK, navToURL); if (countRounds 5) { countRounds++; init(); } } function navToURL(e:Event):void { e.currentTarget.removeEventListener(MouseEvent.CLICK, navToURL); Navigate.to(e.currentTarget.displayObject.url); } This throws an error 1119 on this line: displayObject.url = myURLs[countRounds]; How do I attach that url? TIA, Susan ___ 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
Re: [Flashcoders] addEventListener Problem
On Tue, Mar 2, 2010 at 9:47 AM, Geografiek geograf...@geografiek.nl wrote: Hi Susan, Didn't you attach that url in DisplayPicLoaded in the line displayObject.url = myURLs[countRounds];? No. I attached jpgs. Error 1119 has to do with referring to a non-existent property. Do you know which? Yes. url. Tracing is your friend here I would say. Trace what? It breaks on the line with the url, as I stated previously (in last email). I put a trace just below that line that didn't. To be honest I don't know if the Navigate.to line is correct AS3. It calls a function that I've already successfully tested. TIA, Susan ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] addEventListener Problem
On Tue, Mar 2, 2010 at 9:58 AM, Susan Day suzieprogram...@gmail.com wrote: On Tue, Mar 2, 2010 at 9:47 AM, Geografiek geograf...@geografiek.nlwrote: Hi Susan, Didn't you attach that url in DisplayPicLoaded in the line displayObject.url = myURLs[countRounds];? No. I attached jpgs. Error 1119 has to do with referring to a non-existent property. Do you know which? Yes. url. Tracing is your friend here I would say. Trace what? It breaks on the line with the url, as I stated previously (in last email). I put a trace just below that line that didn't. To be honest I don't know if the Navigate.to line is correct AS3. It calls a function that I've already successfully tested. OK. Got it: function DisplayPicLoaded(evt:Event):void { var container:MovieClip = new MovieClip(); var myXArray:Array = new Array(10,176,342,508,674,840); var loaderInfo:LoaderInfo = evt.target as LoaderInfo; var displayObject:DisplayObject = loaderInfo.content; displayObject.width = 150; displayObject.height = 150; displayObject.x = myXArray[countRounds]; displayObject.y = 10; displayObject.filters = [createBevel()]; container.addChild(displayObject); container.text = myURLs[countRounds]; addChild(container); navPics.push(displayObject); container.addEventListener(MouseEvent.CLICK, navToURL); if (countRounds 5) { countRounds++; init(); } } function navToURL(e:Event):void { e.currentTarget.removeEventListener(MouseEvent.CLICK, navToURL); Navigate.to(e.currentTarget.text); } I had to convert my container into an mc and then add a text property. Couldn't do it with a sprite. Susan ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] web video
Hi coders I know that I can control a flv from as3, but there is a way to do the opposite? I mean I have a video (flv) in one movie clip, when the video reaches the second 45, can I trigger an event? is that possible?, if so there is a tutorial pointing to that in the internet? Regards, Gus ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] web video
Use cuePoints... Google that. Each triggers an event. Thanks, Eric On Mar 2, 2010, at 7:40 PM, Gustavo Duenas gdue...@leftandrightsolutions.com wrote: Hi coders I know that I can control a flv from as3, but there is a way to do the opposite? I mean I have a video (flv) in one movie clip, when the video reaches the second 45, can I trigger an event? is that possible?, if so there is a tutorial pointing to that in the internet? Regards, Gus ___ 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
Re: [Flashcoders] web video
I think cue points are your friend on this one. You have to put cue points in your video then reference the cue points in your AS. Karl Sent from losPhone On Mar 2, 2010, at 6:40 PM, Gustavo Duenas gdue...@leftandrightsolutions.com wrote: Hi coders I know that I can control a flv from as3, but there is a way to do the opposite? I mean I have a video (flv) in one movie clip, when the video reaches the second 45, can I trigger an event? is that possible?, if so there is a tutorial pointing to that in the internet? Regards, Gus ___ 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
Re: [Flashcoders] web video
Google AS3 cue points Karl Sent from losPhone On Mar 2, 2010, at 6:40 PM, Gustavo Duenas gdue...@leftandrightsolutions.com wrote: Hi coders I know that I can control a flv from as3, but there is a way to do the opposite? I mean I have a video (flv) in one movie clip, when the video reaches the second 45, can I trigger an event? is that possible?, if so there is a tutorial pointing to that in the internet? Regards, Gus ___ 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
Re: [Flashcoders] web video
Or, you could trigger a timer when it starts and when it hits 45 seconds call your function. Are your users pressing play or does it start automatically? --Original Message-- From: Gustavo Duenas Sender: flashcoders-boun...@chattyfig.figleaf.com To: Flash Coders List ReplyTo: Flash Coders List Subject: [Flashcoders] web video Sent: Mar 2, 2010 6:40 PM Hi coders I know that I can control a flv from as3, but there is a way to do the opposite? I mean I have a video (flv) in one movie clip, when the video reaches the second 45, can I trigger an event? is that possible?, if so there is a tutorial pointing to that in the internet? Regards, Gus ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Nathan Mynarcik Interactive Web Developer nat...@mynarcik.com 254.749.2525 www.mynarcik.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders