<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Tarek Mahmud Apu - Latest Comments in Custom Event in actionscript 3</title><link>http://apueee.disqus.com/</link><description></description><atom:link href="http://apueee.disqus.com/custom_event_in_actionscript_3/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 28 Jul 2011 01:15:10 -0000</lastBuildDate><item><title>Re: Custom Event in actionscript 3</title><link>http://www.apueee.com/2008/10/26/custom-event-in-actionscript-3/#comment-267385465</link><description>Yes ,this is a great  way to integrate custom event Regards.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Data Recovery Virus removal</dc:creator><pubDate>Thu, 28 Jul 2011 01:15:10 -0000</pubDate></item><item><title>Re: Custom Event in actionscript 3</title><link>http://www.apueee.com/2008/10/26/custom-event-in-actionscript-3/#comment-231587890</link><description>Under what environment would one be using actionscript 3? With so many plugins to most blogging platforms, is it even necessary?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">High School Scholarships</dc:creator><pubDate>Tue, 21 Jun 2011 23:29:54 -0000</pubDate></item><item><title>Re: Custom Event in actionscript 3</title><link>http://www.apueee.com/2008/10/26/custom-event-in-actionscript-3/#comment-179753513</link><description>wonderfull way to integrate custom event&lt;br&gt;Regards&lt;br&gt;&lt;a href="www.justmobilephone.com" rel="nofollow"&gt;snowbreeze 2.5&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">JailBreak</dc:creator><pubDate>Thu, 07 Apr 2011 04:55:33 -0000</pubDate></item><item><title>Re: Custom Event in actionscript 3</title><link>http://www.apueee.com/2008/10/26/custom-event-in-actionscript-3/#comment-161554362</link><description>&lt;br&gt;Thank you friend for the information
&lt;br&gt;
&lt;br&gt;The article is very professionally written. I enjoy reading every day
&lt;br&gt; ...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">farmhouse kitchen table</dc:creator><pubDate>Sun, 06 Mar 2011 19:27:54 -0000</pubDate></item><item><title>Re: Custom Event in actionscript 3</title><link>http://www.apueee.com/2008/10/26/custom-event-in-actionscript-3/#comment-158534887</link><description>&lt;br&gt;subscribed to your blog when is the next post
&lt;br&gt;
&lt;br&gt;regards
&lt;br&gt;poly banger
&lt;br&gt; ...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">make a logo for free</dc:creator><pubDate>Tue, 01 Mar 2011 17:47:00 -0000</pubDate></item><item><title>Re: Custom Event in actionscript 3</title><link>http://www.apueee.com/2008/10/26/custom-event-in-actionscript-3/#comment-128120148</link><description>Well, good news for me, thanks!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">USB 3G</dc:creator><pubDate>Wed, 12 Jan 2011 05:26:01 -0000</pubDate></item><item><title>Re: Custom Event in actionscript 3</title><link>http://www.apueee.com/2008/10/26/custom-event-in-actionscript-3/#comment-108392294</link><description>&lt;br&gt;Yes I agree with you this blog contents are really worth reading. Such a good blog to visit. I will recommend it to my friends.
&lt;br&gt;-------------&lt;br&gt; - &lt;a href="http://www.insurance.forumn1.com/mortgage-insurance" rel="nofollow"&gt;mortgage insurance&lt;/a&gt; - &lt;a href="http://www.insurance.forumn1.com/farm-insurance" rel="nofollow"&gt;farm insurance&lt;/a&gt; - &lt;a href="http://www.insurance.forumn1.com/property-insurance" rel="nofollow"&gt;property insurance&lt;/a&gt; - &lt;a href="http://www.insurance.forumn1.com/home-insurance" rel="nofollow"&gt;home insurance&lt;/a&gt; ...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">post traumatic depression</dc:creator><pubDate>Tue, 07 Dec 2010 15:58:07 -0000</pubDate></item><item><title>Re: Custom Event in actionscript 3</title><link>http://www.apueee.com/2008/10/26/custom-event-in-actionscript-3/#comment-105052444</link><description>Its easy to trigger and also can be listen from anywhere.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Best Registry Cleaner</dc:creator><pubDate>Tue, 30 Nov 2010 09:15:47 -0000</pubDate></item><item><title>Re: Custom Event in actionscript 3</title><link>http://www.apueee.com/2008/10/26/custom-event-in-actionscript-3/#comment-8916810</link><description>Dear Oliver,
&lt;br&gt;
&lt;br&gt;Thanks for ur comment. 
&lt;br&gt;
&lt;br&gt;Have u changed at myCustomEvent ? in myCustomEvent  class i have set the type of myMessage as string. But you are passing the message as object. So its need to change the myMessage as Object or u can set * for any type.
&lt;br&gt;
&lt;br&gt;package wneeds.events{
&lt;br&gt;
&lt;br&gt;          import flash.events.Event;
&lt;br&gt;
&lt;br&gt;          public class myCustomEvent extends Event {
&lt;br&gt;    
&lt;br&gt;              public var myMessage:*;
&lt;br&gt; 
&lt;br&gt;             public function myCustomEvent(msg) {
&lt;br&gt;
&lt;br&gt;                 super("myCustomEvent");
&lt;br&gt;                 myMessage = msg;
&lt;br&gt;            }
&lt;br&gt;     }
&lt;br&gt;}
&lt;br&gt;
&lt;br&gt;Try it . i think it should work.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">apueee</dc:creator><pubDate>Sat, 02 May 2009 01:21:22 -0000</pubDate></item><item><title>Re: Custom Event in actionscript 3</title><link>http://www.apueee.com/2008/10/26/custom-event-in-actionscript-3/#comment-8906819</link><description>Hi,
&lt;br&gt;great tutorial, i got it so far working as i can send the one var back to e.myMessage
&lt;br&gt;
&lt;br&gt;But when i try you example line with multi values , i get stuck and only get erros.
&lt;br&gt;
&lt;br&gt;can you make a example how the  myCustomEvent class needs to look if i 
&lt;br&gt;dipatch this message.:
&lt;br&gt;dispatchEvent(new myCustomEvent({Amode:'tma',SID:this.SID,MYID:this.MYID,PRID:this.PRID,TYP:this.TYP}));
&lt;br&gt;
&lt;br&gt;where SID, MYID,PRID,TYP are all byte arrays.
&lt;br&gt;Best regards Oliver</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Oliver</dc:creator><pubDate>Fri, 01 May 2009 16:27:50 -0000</pubDate></item><item><title>Re: Custom Event in actionscript 3</title><link>http://www.apueee.com/2008/10/26/custom-event-in-actionscript-3/#comment-7408473</link><description>Not from the timeline, but receive event from other class (that linkaged by a movieclip). Example, from first class after finished some tween, I want to control other movieclip that do something. To do that, I want to access other class from the first class. After access that class, I can control that Movieclip.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Purwanto</dc:creator><pubDate>Sat, 21 Mar 2009 23:30:01 -0000</pubDate></item><item><title>Re: Custom Event in actionscript 3</title><link>http://www.apueee.com/2008/10/26/custom-event-in-actionscript-3/#comment-7308513</link><description>Dear Purwanto
&lt;br&gt;
&lt;br&gt;Thanks for ur comment.  
&lt;br&gt;
&lt;br&gt;The following code need to write where you want to call the event.  first u need to import the custom event class. then u need to call the dispatchEvent method to call ur custom event.  This is not a part of myCustomEvent Class. Here you just using the myCustomEvent class. :)
&lt;br&gt;**************
&lt;br&gt;import        wneeds.events.myCustomEvent;          //import ur class here
&lt;br&gt;dispatchEvent(new myCustomEvent("Hello ..."));  // call your custom event.
&lt;br&gt;*******************
&lt;br&gt;
&lt;br&gt;To track the event in any where of ur code u need to put the following code:
&lt;br&gt;**********
&lt;br&gt;addEventListener("myCustomEvent", showMessage);
&lt;br&gt;function showMessage(e:myCustomEvent):void {
&lt;br&gt;    trace(e.myMessage);
&lt;br&gt;}
&lt;br&gt;*********************
&lt;br&gt;I'm not clear about your last question. Do you want to call a event from a movieclip and receive the event from main timeline?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">apueee</dc:creator><pubDate>Wed, 18 Mar 2009 01:06:51 -0000</pubDate></item><item><title>Re: Custom Event in actionscript 3</title><link>http://www.apueee.com/2008/10/26/custom-event-in-actionscript-3/#comment-7307411</link><description>I'm still confused about custom event. I have search many many sample but it's still make me don't get it. I like the sample that you have above, but I don't know which code will act as document class. Thus, in the part ..."dispatchEvent("new MyCustomEvent("Hello...."));  &amp;gt;&amp;gt; it's still the same class with the myCustomEvent class or other new class??
&lt;br&gt;Oh yeah, this custom Event can do something like accessing other movieclip object that have linkage with a class, can it?
&lt;br&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Purwanto</dc:creator><pubDate>Tue, 17 Mar 2009 23:59:27 -0000</pubDate></item></channel></rss>
