[Flashcoders] Disabling FLVPlayback component skin controls
I would like to be able to toggle whether the controls for a Flash 8 FLVPlayback component are enabled. I don't want to hide them all (like the skinAutoHide attribute does), rather keep them visible but non-interactive. Preferably I would like to control this per item, as I would like to leave the audio controls interactive. I have found there is an attribute FLVPlaybackInstance._uiMgr._controlsEnabled which enables and disables all of the button controls (although unfortunately not the seek bar). I am currently experimenting with enabling and disabling all of the mouse events for the movieclips in FLVPlaybackInstance._uiMgr.controls , but it isn't looking hopeful. Regards, Grant Cox ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] plz suggest.....urgent
Well, there are two methods. To do what you are trying below, you will want one movieclip in the library with instance name "checkbox_scrollpane_content", and this movieclip will then have code to attachMovie as many checkboxes as needed. This way your scrollpane always has the same contentPath, but this content knows to update as needed. However, I have done a similar thing before (controls to show/hide grid columns), and the way I did it was the popup window displayed a single Datagrid component with two columns, one column containing the titles, the other containing a checkbox CellRenderer. I find it much easier to deal with content in a Datagrid than in a ScrollPane (where the content abstraction can be a pain). Regards, Grant Cox [EMAIL PROTECTED] wrote: ok,scrollpane_instance.contentPath="linkage id of a checkbox".This adds a single checkbox.is it? How to add 2 checkboxes? The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s)and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender or [EMAIL PROTECTED] ___ 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] How do you code your Flash applications?
What are the situations that you have come across where only manual depth management would work? Do you have other ways of managing depth? It's not a matter of getNextHighestDepth not working, it's a matter of controlling the depth to avoid unexpected behaviors. I've never had a problem with accidentally creating a movie clip at the same depth as something else, and that's one less thing I have to think about when debugging. The only time when setting depth constants was inconvenient for me was in a windowing system I built, in which case I built a window manager class that managed depth for me. The window manager class kept windows on a timeline where nothing but windows would ever be created, and always kept the depths of the windows consecutive, so when a window was closed it was swapped to the top before closing, and there were never gaps in the depths. I *could* have used getNextHighestDepth and saved myself the trouble of swapping windows to the top before closing them, but then if a user left the app open overnight and used it for several days in a row, they could theoretically open enough windows to hit the 65,535 depth limit and unexpected things could happen. So I went ahead and wrote the extra 10 lines of code to keep the depths consecutive, and circumvented the problem before it ever occurred. ryanm ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Re: Setting the last pressed key in the Key class
Define your own static MyKey class and have it subscribe as a listener to Flash's Key. It can then be your applications "Key" class. Meaning your objects listen to MyKey while MyKey listens to Key. Then MyKey can at anytime listen to something else that feeds it input. There's nothing magic about the Key class you can't use the MyKey class for. MyKey can then also store the last key pressed (whether it was a real key from the Key class or a virtual key from somewhere else). Good luck, Tyler On 1/25/06, elibol <[EMAIL PROTECTED]> wrote: > > I have another idea, would it be possible to delegate Key class functions > to > a custom class I've built? > > I've tried > > _global.ASSetPropFlags(Key,null,6,true); > > It still doesn't allow me to delegate the functions. Does anyone know of a > way around this? > > H > ___ > 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] plz suggest.....urgent
is it"linkage id of a movieclip class which contains adding 2 checkboxes"?Actually,i am new to flash. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s)and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender or [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] plz suggest.....urgent
ok,scrollpane_instance.contentPath="linkage id of a checkbox".This adds a single checkbox.is it? How to add 2 checkboxes? The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s)and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender or [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] plz suggest.....urgent
Grant,i want a scrollpane. Actually,my application displays contents in a Datagrid.then,on click of a button,a pop up window appears which contains the column names and checkboxes next to them.User selects few checkboxes(present on a scrollpane) in the pop-up Window,clicks ok button.Then,the selected checkboxes/column names should only be visible in the datagrid. Remaining columns should not appear in the datagrid. Can anyone suggest how can i add checkboxes (in the scrollpane)equal to the number of column names? The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s)and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender or [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How do you code your Flash applications?
> Why not pick a good, standardized > way to manage depths that works in every scenario? "...tag, you're it!" Anyway, this has gone on long enough. If you haven't gotten the point > yet you're never going to. "...I don't feel like playing anymore." ok, let's not talk down to others who have good coding practices, even if they're not your coding practices. It's a good discussion. Managing the depths the way Ryan does it allows for a lot of control. getNextHighestDepth can be limiting as you have to predict the appropiate order of display items which can be problematic in a larger application. But the manual method sounds even more limiting, labeling depths that not only are now hard-coded in, but have to be understood and kept track of. I said it before, order matters, relational depths and not numbers. This is something that everyone has to deal > with, and I genuinely thought that others would make more use of > getNextHighestDepth() I have my own solution, but everyone else I know of uses getNextHighestDepth. Those who don't are the proud exception. Tyler ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] plz suggest.....urgent
Then yes, contentPath is what you want. The contentPath can be either a Linkage Id, or a url of an external SWF. [EMAIL PROTECTED] wrote: I want a ScrollPane, with the content being movieclip containing 2 checkboxes and labels next to them. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s)and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender or [EMAIL PROTECTED] ___ 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] plz suggest.....urgent
I want a ScrollPane, with the content being movieclip containing 2 checkboxes and labels next to them. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s)and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender or [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] plz suggest.....urgent
Please explain what you mean by "checkboxes in a scrollbar". Do you mean a list component (scrollable), where each row contains a checkbox? If so, you want to use a CellRenderer. Or do you mean just two checkboxes, in a bounding area that can have scrollbars? If so, you probably want a ScrollPane, with the content being a movieclip containing the checkboxes. Regards, Grant Cox [EMAIL PROTECTED] wrote: how can i add 2 checkboxes in a scrollbar..is it using contentpath?? The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s)and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender or [EMAIL PROTECTED] ___ 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] plz suggest.....urgent
how can i add 2 checkboxes in a scrollbar..is it using contentpath?? The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s)and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender or [EMAIL PROTECTED] ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How do you code your Flash applications?
Just to throw my 2c in, I personally only use getNextHighestDepth(), and as yet haven't had any problems with it. The majority of our screens are already placed in the Flash timeline, I use attachMovie almost only to populate scrollpanes, and loadMovie only into graphic components. To keep our code separated from the design, we will use placeholders / components in the Flash file to define where external elements are loaded. This lets the designers fiddle with what they like, without having to bother me :) Regards, Grant Cox Nathan Derksen wrote: Nonsense, this is a great debate IMHO, and I would love to hear more from others as well. This is something that everyone has to deal with, and I genuinely thought that others would make more use of getNextHighestDepth() and was surprised that you and others avoid it. What are the situations that you have come across where only manual depth management would work? Do you have other ways of managing depth? Nathan http://www.nathanderksen.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How do you code your Flash applications?
You make it sound like I'm forcing it to work. I'm not forcing it, it works as a nice byproduct of how I normally setup and group my movie clips. I see this as being good coding practice. Things that are grouped together share a parent movie clip, making control of the group easier and making depth management easer as each movie clip manages the depths of its children. I hate renumbering depths, and I don't like having to figure out blocks of depths then later finding that I need to move a block later on. This works very cleanly for me, both from architecting movie clips into a logical hierarchy and from preventing annoying depth collisions. I don't deny that it will not work in all situations, nor did I claim so, nor do I know your particular experiences with depth management. I do however have a hard time imagining that manual depth management is a best practice. Anyway, this has gone on long enough. If you haven't gotten the point yet you're never going to. Nonsense, this is a great debate IMHO, and I would love to hear more from others as well. This is something that everyone has to deal with, and I genuinely thought that others would make more use of getNextHighestDepth() and was surprised that you and others avoid it. What are the situations that you have come across where only manual depth management would work? Do you have other ways of managing depth? Nathan http://www.nathanderksen.com On Feb 6, 2006, at 3:10 PM, ryanm wrote: Then I create a placeholder movie clip... You miss the point. Doing something because you can usually find a way to make it work doesn't make it a valid replacement for good coding practices. That you rarely come across a scenario that you can't handle that way only means that there *are* scenarios that won't work that way, and that it is likely that at least some of the time when it does work for you it would still be better (more efficient, more readable, etc) to do it a different way. Also, just because you rarely run into situations that don't work that way doesn't mean that others don't run into them all the time, which means your method probably isn't the best one to be recommending broadly in a thread about best practices. Why not pick a good, standardized way to manage depths that works in every scenario? Anyway, this has gone on long enough. If you haven't gotten the point yet you're never going to. ryanm ___ 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] Timeline sound delay
What he said. By default, the sound is set to event, which means that it will play without concern to the pace of the timeline. If the timeline skips a frame due to performance, or stops completely because you paused it with script, the sound will keep going. By setting it to stream, it is tied directly to the timeline, and will remain in sync regardless of performance or playhead manipulation. Nathan http://www.nathanderksen.com On Feb 6, 2006, at 11:09 AM, Tom Rhodes wrote: set it to stream -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marcelo Wolfgang Sent: 06 February 2006 20:02 To: Flashcoders mailing list Subject: [Flashcoders] Timeline sound delay Hi list, I'm doing a freelance project, and I'm having problems with sound sync. I've placed a sound in the timeline and syncronized the animation, it was ok on the movie preview so I've published it. In my browser the syncing was all wrong, and again I fixed it. So I finished of the job and send it to my contractor, the sound was so delayed that he made me cut the animation in about 10 secs to almost sync with his computer. Now it is completely off sync in my machine, and I can't understand why that difference happens. Can anyone here throw some light in this issue ? Please, I want any tip you can offer. TIA, Grillo ___ 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] FAME demands perfection
I did actually. Doesn't seem to do it. Or perhaps MTASC is not reading the -mx setting that's been set via eclipse correctly. I'll give it a go with direct command line and see how it goes. Thanks mate. -Original Message- From: gilles Bertrand [mailto:[EMAIL PROTECTED] Sent: Monday, February 06, 2006 5:13 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] FAME demands perfection Have you tried to use the -mx options in mtasc line command That should do it BERTRAND Gilles Le 06-fйvr.-06 а 11:04, Galt Roarc a йcrit : > I just started using the FAME combo (Flashout, ASDT, MTASC and > Eclipse) and > tried compiling an existing class and fla as my first run thru of > flashout. > > > > Flashout seems pretty strict -which is excellent for my own classes > but it > complains about the ScrollView core mx class. > > > > C:\Documents and Settings\rakesh.OSELLUS\Local Settings\Application > Data\Macromedia\Flash MX > 2004\en\Configuration\Classes/mx/core/ScrollView.as:174: characters > 1-42 : > type error Object should be String > > > > Quite a lot of coding of mx core classes is admittedly lousy but > how do I > get Flashout to ignore problems in the core classes? > > > > Appreciated. > > Galt > > > > > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.375 / Virus Database: 267.15.2/251 - Release Date: > 2/4/2006 > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 267.15.2/252 - Release Date: 2/6/2006 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Accessing Dynamically Created MC's
This is just because "group_mc.node_mc" is not a property of "this", only the "group_mc" bit is. What you would need to do is this["group_mc"]["node_mc"] , however you want to store those in your array. Or, you can use eval, as testValue = eval(targetArray[0]).id; should do what you want, and it is not deprecated in AS2. Regards, Grant Cox Dave Geurts wrote: Okay, So I swear I have done this 1oo times before but for the life of me I cannot get this to work. So lets say I have a MC called group_mc that contains a MC called node_mc and node_mc contains a variable named id. When I do: trace("test:"+this.group_mc.node_mc.id); I get the value I expect but when I do the following I get nothing _global.targetArray = new Array(); _global.targetArray[0] = "group_mc.node_mc"; testValue = this[targetArray[0]].id; trace("test:"+testValue); I get nothing?? I am compiling with flash 7 AS 2.0 THANKS in advanced Dave Geurts ___ 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] Accessing Dynamically Created MC's
Okay, So I swear I have done this 1oo times before but for the life of me I cannot get this to work. So lets say I have a MC called group_mc that contains a MC called node_mc and node_mc contains a variable named id. When I do: trace("test:"+this.group_mc.node_mc.id); I get the value I expect but when I do the following I get nothing _global.targetArray = new Array(); _global.targetArray[0] = "group_mc.node_mc"; testValue = this[targetArray[0]].id; trace("test:"+testValue); I get nothing?? I am compiling with flash 7 AS 2.0 THANKS in advanced Dave Geurts ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash Senior Developer/Copenhagen
Little Planet Inc is another e-Learning company located in Nashville, Tennesse. Well recently we have had a developer leave us. I am looking to replace this developer with one possible two candidates. So with that, I have been tasked to look outside of our city and into other cities for qualified Flash Actionscript Developers. We have an immediate fulltime position available. We are looking for a person that carries AS2 OOP style coding, also hoping to find a person familiar with CVS, Eclipse, Ant, Apache web servers, Php, mySql, SCORM and AICC LMS's. If you have any leads within your user group, man I would truely appreciate it. This is a position that would require relocation, but having said that, we are going to be looking for what we can get, so if you just do contract work then we would definitely keep you in consideration. -Chris Alexander [EMAIL PROTECTED] Little Planet Learning 2963 Foster Creighton Drive Nashville, TN 37204 (615) 250-7055 www.littleplanet.com On 2/6/06, Alexander Aghassipour <[EMAIL PROTECTED]> wrote: > > Flash Senior Developer > > > Effective-Learning is an independent IBM subsidiary specializing in > e-learning solutions. Our vision is to bring knowledge to action and > results. We employ 50 people in Copenhagen, Denmark. > > Job description: > Effective-Learning is looking for a world-class Flash senior developer to > work with us developing and delivering Flash based e-learning applications > for our clients who span across multiple industries. You will be working > tightly together with storyboarders, designers, developers and the > client's > subject matter experts. You will also be responsible for the overall > architecture of our Flash based e-learning framework and backend > integration. > > The job is a fulltime position and is located in Copenhagen. > > Fluency in danish - written and verbal - is a prerequisite. > > Skills: > Flash > Project management > Client relations > Systems integration, incl. web services and XML > > Contact Jens Lauritzen at [EMAIL PROTECTED] and say you heard of the vacancy > here. > > -- > Thanks, > Alexander > > > ___ > 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] Attn: John Grden
Man, guy takes a few days off... What is this "day off" concept you speak of, I'm not familiar with it... ;-) I'll email you offlist later this evening. ryanm ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How do you code your Flash applications?
Then I create a placeholder movie clip... You miss the point. Doing something because you can usually find a way to make it work doesn't make it a valid replacement for good coding practices. That you rarely come across a scenario that you can't handle that way only means that there *are* scenarios that won't work that way, and that it is likely that at least some of the time when it does work for you it would still be better (more efficient, more readable, etc) to do it a different way. Also, just because you rarely run into situations that don't work that way doesn't mean that others don't run into them all the time, which means your method probably isn't the best one to be recommending broadly in a thread about best practices. Why not pick a good, standardized way to manage depths that works in every scenario? Anyway, this has gone on long enough. If you haven't gotten the point yet you're never going to. ryanm ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] EventDispatcher.removeEventListener
Or perhaps a bit simpler and safer: var myFunction:Function=Delegate.create(this,somefunction); cancel_btn.addEventListener("click",myFunction); and later: cancel_btn.removeEventListener("click",myFunction); You could always store myFunction as a property... Ian On 2/6/06, blists <[EMAIL PROTECTED]> wrote: > > You can also remove a listener from an object using the __q_click array of > the object the listener is on. > > Add a listener like this: > cancel_btn.addEventListener("click", Delegate.create(this, > this.somefunction)); > > And remove that listener like this: > cancel_btn.removeEventListener("click", cancel_btn.__q_click[0]); > > If you had multiple listeners, you might be able to loop over the > __q_click > array and do a comparison but I'm not sure how. > > Brookd > > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] EventDispatcher.removeEventListener
You can also remove a listener from an object using the __q_click array of the object the listener is on. Add a listener like this: cancel_btn.addEventListener("click", Delegate.create(this, this.somefunction)); And remove that listener like this: cancel_btn.removeEventListener("click", cancel_btn.__q_click[0]); If you had multiple listeners, you might be able to loop over the __q_click array and do a comparison but I'm not sure how. Brookd At 12:43 PM 2/6/2006, you wrote: What I've figured out with removeEventListener and Delegate is you can remove the listener on dispatchEvent like so: private function someEventHandler (e:Object) { var target = e.target; if (removeHandler) target.removeEventListener("event", arguments.caller); } Of course this only works after removeHandler is set to true and the event is dispatched once again. Yet, is some instances its enough. ___ 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] RSS ...
I thought that this was a great howto. I would be interested in what you mean by a class? Like extending textarea? http://www.thegoldenmean.com/technique/rssReader01.html On 2/6/06 2:44 PM, "Karim Beyrouti" <[EMAIL PROTECTED]> wrote: > Hello !! > > Just about to write an AS2 RSS Parser class, but before re-inventing the > wheel, I was wondering if there is an open source Atom/RSS Parser class > floating about. > > Lots of thanks... > > > - karim > > ___ > 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] RSS ...
Hello !! Just about to write an AS2 RSS Parser class, but before re-inventing the wheel, I was wondering if there is an open source Atom/RSS Parser class floating about. Lots of thanks... - karim ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] EventDispatcher.removeEventListener
What I've figured out with removeEventListener and Delegate is you can remove the listener on dispatchEvent like so: private function someEventHandler (e:Object) { var target = e.target; if (removeHandler) target.removeEventListener("event", arguments.caller); } Of course this only works after removeHandler is set to true and the event is dispatched once again. Yet, is some instances its enough. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] ComboBox functions
I am looking to Set a label on the comboBox example: "Select State" Have the comboBox open upwards every time. I have seen people discuss this on the list before but the achieves never show a solution. Thanks for any help! Wade ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Is podcasting possible with Flash MX 2004 Pro ?
not sure exactly what you are asking. 'Podcasting' generally means using a special tag (i'm pretty sure the tag name is 'enclosure' but im not 100%) in an rss feed which indicate a path to a file (mp3 generally. Programs like itunes 'subscribe' to that rss feed (meaning they listen for new entries). When a new post is found, the program will download the file indicated in the special tag. Being that rss is basically xml in a special format, you can read the in the rss feed and fork with that...then download the mp3 file you want and play it. On 2/6/06, a f <[EMAIL PROTECTED]> wrote: > > Hello, > > Is podcasting possible with Flash MX 2004 Pro ? > > > Thank you > Tony > > ___ > 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] Q:implementing quadtrees
So i guess what I'm asking is What is the best way to set up the node array(s)? (nested , associative, using objects, etc) What i would suggest is that when you classify the hotspots, you only create the nodes that you need. For the data structure each node can have 4 children, so a simple array will do containing references to its 4 child nodes, or even just 4 member variables if you dont want to loop :) So when constructing the tree you can just create the nodes that actually contain hotspots.. e.g. (in the node class) function classify(hotspot) { // flag to indicate if the hotspot is entirely contained // within a leaf node var containedInLeafNode:Boolean = false; for(var n=0;n<4;n++) { // test bounds of child[n] to see if it can hold the hotspot if(isInQuadrant(n,hotspot)) { // Make a new node if we dont already have it. if(childNodes[n] == undefined) { childNodes[n] = new Node(); } childNodes[n].classify(hotspot); containedInLeafNode = true; } } // If none of the leaf nodes 'took ownership' of the hotspot // then hold onto it here. if(!containedInLeafNode) { candidates.push(hotspot); } } So this will recurse down the tree, making sure that any item is contained within the smallest possible leaf node. Of course you'll want to put a limit on how small a node can get. How small that is depends on the sizes of the items you want to classify, if i remember correctly (which i wouldnt assume i do) then the best target size is somewhere just around the size of the smallest object you are trying to classify, unless you are classifying lots of very small objects relative to screen size then you can just cap it somewhere like 4 or 5 levels deep. Then when you come to query the tree for nodes that contain items that may be within distance of your draggable object you only need to bother with the nodes that exist for speed you could even not bother with a loop and also take advantage of the fact that calling a function on something that doesnt exist wont generate an error : so instead of for(i=0;i<4;i++) { if(childNodes[n] != undefined) { // check childNodes[n] for candidates } } you just do candidateList.concat(childNodes[0].getThingsThatAreClose(draggableObject)) candidateList.concat(childNodes[1].getThingsThatAreClose(draggableObject)) etc.. anyway, im just typing it out as it comes into my head..some of it from hazy memories of implementations past. :) Theres no real canonical way of working with quadtrees, the beauty is that you can adapt them according to your particular requirements. Id be interested to hear other peoples opinions and experiences or just 'why bother, you can do 'x' because its easier and quicker' thanks, Martin ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] serviceName property being added to Flash Remoting Data
I get a kind of meta data from from the objects generated via database queries. along with my items property, there comes result.mRecordsAvailable, result.serverInfo ( usually null ), and result.uniqueID. I really don't know what purpose it would serve for client side scripts, since all this information, maybe except uniqueID, can be determined with other properties. I've had serviceName in some instances, except, if I recall correctly, it's always been null. I use CF for remoting, what do you guys use? I wonder if it has something to do with the serverside language appending redundant data due to some configuration switches. Maybe serverside reconfigurations can stop it. M. On 2/6/06, Rich Rodecker <[EMAIL PROTECTED]> wrote: > > i beleive that is something internally in the flash player itself, and as > far as I know there is no way to stop it. > > > > > > On 2/6/06, Sam Shrefler <[EMAIL PROTECTED]> wrote: > > > > Has anyone ever noticed when using PendingCall and Responder with Flash > > remoting that an extra property: serviceName gets added to the result of > > the > > ResultEvent? > > > > Any idea why this happens? Currently I'm just doing: delete > > resultObj.result.serviceName; > > > > Any other thoughts on how to keep this from happening? > > ___ > > 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] Is podcasting possible with Flash MX 2004 Pro ?
Hello, Is podcasting possible with Flash MX 2004 Pro ? Thank you Tony ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] serviceName property being added to Flash Remoting Data
i beleive that is something internally in the flash player itself, and as far as I know there is no way to stop it. On 2/6/06, Sam Shrefler <[EMAIL PROTECTED]> wrote: > > Has anyone ever noticed when using PendingCall and Responder with Flash > remoting that an extra property: serviceName gets added to the result of > the > ResultEvent? > > Any idea why this happens? Currently I'm just doing: delete > resultObj.result.serviceName; > > Any other thoughts on how to keep this from happening? > ___ > 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] serviceName property being added to Flash Remoting Data
Has anyone ever noticed when using PendingCall and Responder with Flash remoting that an extra property: serviceName gets added to the result of the ResultEvent? Any idea why this happens? Currently I'm just doing: delete resultObj.result.serviceName; Any other thoughts on how to keep this from happening? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Timeline sound delay
set it to stream -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marcelo Wolfgang Sent: 06 February 2006 20:02 To: Flashcoders mailing list Subject: [Flashcoders] Timeline sound delay Hi list, I'm doing a freelance project, and I'm having problems with sound sync. I've placed a sound in the timeline and syncronized the animation, it was ok on the movie preview so I've published it. In my browser the syncing was all wrong, and again I fixed it. So I finished of the job and send it to my contractor, the sound was so delayed that he made me cut the animation in about 10 secs to almost sync with his computer. Now it is completely off sync in my machine, and I can't understand why that difference happens. Can anyone here throw some light in this issue ? Please, I want any tip you can offer. TIA, Grillo ___ 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] Timeline sound delay
Hi list, I'm doing a freelance project, and I'm having problems with sound sync. I've placed a sound in the timeline and syncronized the animation, it was ok on the movie preview so I've published it. In my browser the syncing was all wrong, and again I fixed it. So I finished of the job and send it to my contractor, the sound was so delayed that he made me cut the animation in about 10 secs to almost sync with his computer. Now it is completely off sync in my machine, and I can't understand why that difference happens. Can anyone here throw some light in this issue ? Please, I want any tip you can offer. TIA, Grillo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Attn: John Grden
Man, guy takes a few days off... Ryan...what up! i'm back On 2/3/06, Manuel Saint-Victor <[EMAIL PROTECTED]> wrote: > > I think it's more along the lines of: > var correctEmail:Boolean= manueSaintVictor.canMultiTask(); > > It was one of those days. > > M > > On 2/3/06, hank williams <[EMAIL PROTECTED]> wrote: > > > > It was a pascal snippet. > > > > Hank > > > > On 2/3/06, Chris Allen <[EMAIL PROTECTED]> wrote: > > > On 2/3/06, Michael Stuhr <[EMAIL PROTECTED]> wrote: > > > > > > > > hank williams schrieb: > > > > > hmm... > > > > > > > > > > Does John Grden = Manuel Saint-Victor? > > > > > > > > > > > > > > > > > > you mean like "John Grden === Manuel Saint-Victor" ? > > > > > > > > seems not the case > > > > > > > > micha > > > > > > > > > Good point Micha, > > > > > > I think Hank was setting John to be Manuel. A typical syntax error, > > which > > > might have evaluated to true in the end, and not to mention it would > > have > > > been tough to debug. :-) Yikes, what a thought. > > > > > > Have a great weekend. > > > > > > -Chris > > > ___ > > > 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 > -- John Grden - Blitz ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Q:implementing quadtrees
I need to perform distance calculations between a number of fixed 'hotspots' and a draggable movie clip on a 2d plane. To reduce the number of calcualtions I only want to be concerned with those 'hotspots' that are 'closest to' the movieclip at any given time. So I need to perform some sort of 'proximity test' In an earlier post someone pointed out Grant Skinner's Proximity class, which is useful if all of your hot spots are moving. Martin Wood alos opnend my eys to something called 'quadtrees' which is a method of spatial partitioning absolutely essential in reducing the number of calculations in games involving a lot of 3d rendering and spatial movement. A great reference here: http://www.gamedev.net/reference/articles/article1303.asp The simple quadtree I have in mind would be composed of a 16X16 grid of cells or 'leaves'. The dimensions of our draggable clip would also be smaller than each cell. To simplify things each 'base node' I would define as having 2X2 or 4 cells. So there would be a total of 256 cells and 64 'base nodes'. The total number of nodes in this scenario would be: 4 (1st level nodes) + 4X4 (2nd level nodes) + 4X(4X4) (3rd level or 'base nodes') = 84 total nodes So, to begin, I create this grid, then create my nodes array (or arrays). Each node in the array would be composed of x,y,width,height (probably simpler to do the width, height calculation up front than simply using bounding points) At any given time there would be four 'base nodes' that would be considered 'nearest neighbours'..we need to check for and return the current plus 3 additional 'base nodes' depending on which one of four cells in the current 'base node' we're 'over' at any given time (this is easier to ilustrate on a sheet of graph paper). But the net result is that we are dealing with only 4 as opposed to 64(the entire grid) 'base nodes' or 16 vs 256 cells...a savings or reduction of 16X. So i guess what I'm asking is What is the best way to set up the node array(s)? (nested , associative, using objects, etc) and Given the current x,y coordinates of the draggable movieclip and the nodes array(s), how to perform the quadtrees calculaton? Thanks Jim Bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca "...all improvisation is life in search of a style." - Bruce Mau,'LifeStyle' ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Bullet Angle
A quick guess - if you are thinking out your math in cartesian coordinates and then implementing in flash (y is opposite, increasing as position is lowered) you may get that backwards behavior. W ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Flash Senior Developer/Copenhagen
Flash Senior Developer Effective-Learning is an independent IBM subsidiary specializing in e-learning solutions. Our vision is to bring knowledge to action and results. We employ 50 people in Copenhagen, Denmark. Job description: Effective-Learning is looking for a world-class Flash senior developer to work with us developing and delivering Flash based e-learning applications for our clients who span across multiple industries. You will be working tightly together with storyboarders, designers, developers and the client's subject matter experts. You will also be responsible for the overall architecture of our Flash based e-learning framework and backend integration. The job is a fulltime position and is located in Copenhagen. Fluency in danish - written and verbal - is a prerequisite. Skills: Flash Project management Client relations Systems integration, incl. web services and XML Contact Jens Lauritzen at [EMAIL PROTECTED] and say you heard of the vacancy here. -- Thanks, Alexander ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Bullet Angle
Awesome, works, thank you! - Original Message - From: "Jobe Makar" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Monday, February 06, 2006 12:00 PM Subject: Re: [Flashcoders] Bullet Angle Hi, Reverse the difference calculation in the atan2 method. Those parameters determine the slope from the perspective of one of the two points. So change it to this and it should work: var theRadians:Number = Math.atan2(( goodGuy._y-_y), (goodGuy._x-_x)); Jobe Makar http://www.electrotank.com http://www.electro-server.com phone: 919-609-0408 mobile: 919-610-5754 fax: 919-341-8104 - Original Message - From: "JesterXL" <[EMAIL PROTECTED]> To: Sent: Monday, February 06, 2006 11:56 AM Subject: [Flashcoders] Bullet Angle > I've got some bullet code that is dependent upon the rotation. However, > my > results are backwards; meaning, I have to invert my results to get the > bullet to move at the right angle. Granted, it works, but I feel > uncomfortable since I don't understand why it's backwards. Anyone explain > why, or give me a better algo? > > // my ship > var theRadians:Number = Math.atan2((_y - goodGuy._y), (_x - goodGuy._x)); > var theDegrees:Number = theRadians * 180 / Math.PI; > _rotation = theDegrees; > > // the bullet code > var deltaX:Number = targetX - _x; > var deltaY:Number = targetY - _y; > var angle:Number = p_shipFiring._rotation; > angle = angle * Math.PI / 180; > theX = speed * Math.cos(angle); > theY = speed * Math.sin(angle); > // only works if I invert...??? > theX *= -1; > theY *= -1; > > Thanks if you can help! > > --JesterXL > > ___ > 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] Bullet Angle
Hi, Reverse the difference calculation in the atan2 method. Those parameters determine the slope from the perspective of one of the two points. So change it to this and it should work: var theRadians:Number = Math.atan2(( goodGuy._y-_y), (goodGuy._x-_x)); Jobe Makar http://www.electrotank.com http://www.electro-server.com phone: 919-609-0408 mobile: 919-610-5754 fax: 919-341-8104 - Original Message - From: "JesterXL" <[EMAIL PROTECTED]> To: Sent: Monday, February 06, 2006 11:56 AM Subject: [Flashcoders] Bullet Angle I've got some bullet code that is dependent upon the rotation. However, my results are backwards; meaning, I have to invert my results to get the bullet to move at the right angle. Granted, it works, but I feel uncomfortable since I don't understand why it's backwards. Anyone explain why, or give me a better algo? // my ship var theRadians:Number = Math.atan2((_y - goodGuy._y), (_x - goodGuy._x)); var theDegrees:Number = theRadians * 180 / Math.PI; _rotation = theDegrees; // the bullet code var deltaX:Number = targetX - _x; var deltaY:Number = targetY - _y; var angle:Number = p_shipFiring._rotation; angle = angle * Math.PI / 180; theX = speed * Math.cos(angle); theY = speed * Math.sin(angle); // only works if I invert...??? theX *= -1; theY *= -1; Thanks if you can help! --JesterXL ___ 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] Bullet Angle
I've got some bullet code that is dependent upon the rotation. However, my results are backwards; meaning, I have to invert my results to get the bullet to move at the right angle. Granted, it works, but I feel uncomfortable since I don't understand why it's backwards. Anyone explain why, or give me a better algo? // my ship var theRadians:Number = Math.atan2((_y - goodGuy._y), (_x - goodGuy._x)); var theDegrees:Number = theRadians * 180 / Math.PI; _rotation = theDegrees; // the bullet code var deltaX:Number = targetX - _x; var deltaY:Number = targetY - _y; var angle:Number = p_shipFiring._rotation; angle = angle * Math.PI / 180; theX = speed * Math.cos(angle); theY = speed * Math.sin(angle); // only works if I invert...??? theX *= -1; theY *= -1; Thanks if you can help! --JesterXL ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] As2 Event Broadcasting for fp 6.0.0.0 [was: 6.0]
Yep, you are right!!! That will teach me for RTFM! ;) Thanks for the help, Giles -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Velevitch Sent: 06 February 2006 11:34 To: Flashcoders mailing list Subject: Re: [Flashcoders] As2 Event Broadcasting for fp 6.0.0.0 [was: 6.0] On 2/6/06, Giles Taylor <[EMAIL PROTECTED]> wrote: > Sorry, should have said that I need it for fp 6.0.0.0 (rather than 6.0). > EventDispatcher is 6.0.79.0. I believe it should work as is, because the full source of the EventDispatcher class is included in the mx classes. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au ___ 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
AW: [Flashcoders] How do you code your Flash applications?
Hi, i´ve heard the gof is the leading book for design patterns. But this one... Head First Design Patterns - Eric Freeman, Elisabeth Freeman, Kathy Sierra is a good one for beginners and was easier to understand for me as other ones. Maybe you like it! Regards Peter :: Peter Oliver Geller virtual effects artist interactive design & development Ricarda-Huch-Str. 7 50858 Cologne 02234 - 99 52 63 phone 0163 - 63 66 088 mobile www.pixel-gallery.com [EMAIL PROTECTED] :: > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Im Auftrag > von Anggie Bratadinata > Gesendet: Sonntag, 5. Februar 2006 13:16 > An: Flashcoders mailing list > Betreff: Re: [Flashcoders] How do you code your Flash applications? > > You guys rock! > Thanks for all advice you gave me. I got so much more than > what I was asking for. > Hmmm .. I can even make a book out of this thread :D > > Thanks a million, > -- > Anggie Bratadinata > Graphic|Web|Flash > Jl. Raya Langsep 21 > Malang - East Java > I N D O N E S I A > www.ibshastautama.com > www.nextrand.co.id > ___ > 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] catching errors at top level
Hi list, i was wondering how to catch an error at top level. So for example, somewhere deep down in my code I do throw new Error ("bla blah"); and since i'm lazy i don't try to catch in the calling function (since it is a.. runtime error or something :))... Is there some way I can catch this error at the top level in my code. I tried System.onStatus / System.onError but it does not work:) thanks! Hans ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] As2 Event Broadcasting for fp 6.0.0.0 [was: 6.0]
On 2/6/06, Giles Taylor <[EMAIL PROTECTED]> wrote: > Sorry, should have said that I need it for fp 6.0.0.0 (rather than 6.0). > EventDispatcher is 6.0.79.0. I believe it should work as is, because the full source of the EventDispatcher class is included in the mx classes. Chris -- Chris Velevitch Manager - Sydney Flash Platform Developers Group www.flashdev.org.au ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] FAME demands perfection
Have you tried to use the -mx options in mtasc line command That should do it BERTRAND Gilles Le 06-févr.-06 à 11:04, Galt Roarc a écrit : I just started using the FAME combo (Flashout, ASDT, MTASC and Eclipse) and tried compiling an existing class and fla as my first run thru of flashout. Flashout seems pretty strict -which is excellent for my own classes but it complains about the ScrollView core mx class. C:\Documents and Settings\rakesh.OSELLUS\Local Settings\Application Data\Macromedia\Flash MX 2004\en\Configuration\Classes/mx/core/ScrollView.as:174: characters 1-42 : type error Object should be String Quite a lot of coding of mx core classes is admittedly lousy but how do I get Flashout to ignore problems in the core classes? Appreciated. Galt -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 267.15.2/251 - Release Date: 2/4/2006 ___ 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] FAME demands perfection
I just started using the FAME combo (Flashout, ASDT, MTASC and Eclipse) and tried compiling an existing class and fla as my first run thru of flashout. Flashout seems pretty strict -which is excellent for my own classes but it complains about the ScrollView core mx class. C:\Documents and Settings\rakesh.OSELLUS\Local Settings\Application Data\Macromedia\Flash MX 2004\en\Configuration\Classes/mx/core/ScrollView.as:174: characters 1-42 : type error Object should be String Quite a lot of coding of mx core classes is admittedly lousy but how do I get Flashout to ignore problems in the core classes? Appreciated. Galt -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.375 / Virus Database: 267.15.2/251 - Release Date: 2/4/2006 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] As2 Event Broadcasting for fp 6.0.0.0 [was: 6.0]
Sorry, should have said that I need it for fp 6.0.0.0 (rather than 6.0). EventDispatcher is 6.0.79.0. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rich Rodecker Sent: 03 February 2006 18:20 To: Flashcoders mailing list Subject: Re: [Flashcoders] As2 Event Broadcasting for fp 6.0 does EventDispatcher not compile to fp 6? i thought it did. On 2/3/06, Giles Taylor <[EMAIL PROTECTED]> wrote: > > Hi All, > I'm trying to figure out the best way to do events in as2 published > for fp6.0. > Something like Brandon Halls EventBroadcaster would be perfect, but in > as2 obviously. > > Does anybody have any ideas? > > BTW: I'm trying to stay away from AsBroadcaster/ASBroadcaster, if pos. > > Cheers, > Giles > ___ > 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] EventDispatcher.removeEventListener
yup, check out gDispatcher by Mr. Skinner. You can google it. On 2/6/06, Simen Brekken <[EMAIL PROTECTED]> wrote: > I'm having some issues with EventDispatcher, specifically removeEventListener > and delegates. The problem arises when I want to remove an existing event > listener but the target function no longer exists, is there any way to remove > an > event listener without specifying the callback function? > > On a side note, are there any improved alternatives to EventDispatcher? > > -- > Regards, > Simen Brekken > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- Ramon Miguel M. Tayag ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] EventDispatcher.removeEventListener
I'm having some issues with EventDispatcher, specifically removeEventListener and delegates. The problem arises when I want to remove an existing event listener but the target function no longer exists, is there any way to remove an event listener without specifying the callback function? On a side note, are there any improved alternatives to EventDispatcher? -- Regards, Simen Brekken ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] ActionScript equivalent of embed/object BASE tag
Okay, thanks everyone! On 2/5/06, Tyler Wright <[EMAIL PROTECTED]> wrote: > > In flash you'll have to do your own BASE tag. You'll either need to > prepend > which is probably the best way to go, or do something crazy like > > MovieClip.prototype.oldLoadMovie = MovieClip.prototype.loadMovie; > MovieClip.prototype.loadMovie = function(url) { > this.oldLoadMovie("http://prepended.BASE"; + url); > } > > However, I strongly recommend you don't do this in real coding that others > might curse you for ;) > > if the baseURL variable doesn't exist, the call will still work. Then, if > > you wanted to, you could pass in the baseURL value through flashvars or > > something, so you wouldnt have to recompile whenever you wanted to > change > > it. > > > Only in Flash 6 ... if you have a Flash 7+ movie you're value will end up > " > undefinedmyfile.xml". It's one of those annoying things you just have to > keep track of. Just remember to validate your flashvars. > > _global.baseURL = (_root.baseurl != undefined) ? _root.baseurl : ""; > > Tyler > ___ > 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