Re: [Flashcoders] IE not releasing memory after unloading Flash object

2011-03-16 Thread Karl DeSaulniers
Hi Chris, I was rummaging around in one of my php.ini files and found this nifty little tid bit. Take a look. ; After this number of seconds, stored data will be seen as 'garbage' and ; cleaned up by the garbage collection process. session.gc_maxlifetime = 1440

Re: [Flashcoders] IE not releasing memory after unloading Flash object

2011-03-16 Thread Henrik Andersson
Karl DeSaulniers skriver: Hi Chris, I was rummaging around in one of my php.ini files and found this nifty little tid bit. Take a look. ; After this number of seconds, stored data will be seen as 'garbage' and ; cleaned up by the garbage collection process.

[Flashcoders] Simple encapsulation question

2011-03-16 Thread Mattheis, Erik (MIN-WSW)
I have a typical tabbed layout and am trying to figure out the simplest/best way to reset the focused state on the focused tab when another is clicked. Classes: Tab - contains graphics and a public variable referencing the MovieClip of the over state. Header - creates tabs, adds event

Re: [Flashcoders] Simple encapsulation question

2011-03-16 Thread Glen Pike
I would suggest allowing Tabs to remain ignorant of each other and let the parent deal with the focus, because you might like to change it. In my lazy world of radio-buttons that can only have on toggled on at once, I keep a reference to the currently toggled button. If I receive a click from

Re: [Flashcoders] Simple encapsulation question

2011-03-16 Thread Henrik Andersson
Mattheis, Erik (MIN-WSW) skriver: I have a typical tabbed layout and am trying to figure out the simplest/best way to reset the focused state on the focused tab when another is clicked. Classes: Tab - contains graphics and a public variable referencing the MovieClip of the over state.

Re: [Flashcoders] Simple encapsulation question

2011-03-16 Thread Geografiek
Hi Erik, Can't you use the array of references to tabs to reset the focused state of all tabs but the one just clicked? HTH Willem van den Goorbergh On 16 mrt 2011, at 18:00, Mattheis, Erik (MIN-WSW) wrote: I have a typical tabbed layout and am trying to figure out the simplest/best way to

Re: [Flashcoders] Simple encapsulation question

2011-03-16 Thread Mattheis, Erik (MIN-WSW)
Yes, I was hoping I could avoid the class of the tabs parent having to know anything about the Tab class. I think I'll go with Henrik and Glen's suggestion to keep track of the tab that has focus. On 3/16/11 12:20 PM, Geografiek geograf...@geografiek.nl wrote: Hi Erik, Can't you use the

[Flashcoders] Duplicate varibale definition

2011-03-16 Thread Marco Terrinoni
Hi everybody I'm sure some of you have experience with this issue I'm trying to write an array for all my navigation buttons and one of the functions is a MouseEvent clickHandler which is used for all buttons to navigate to external pages. Below is my code: var webArray: Array =

Re: [Flashcoders] Duplicate varibale definition

2011-03-16 Thread tom rhodes
stick var request:URLRequest; before your switch, then assign it with request = whatever later On 16 March 2011 19:16, Marco Terrinoni ma...@mularam.com wrote: Hi everybody I'm sure some of you have experience with this issue I'm trying to write an array for all my navigation buttons

Re: [Flashcoders] Duplicate varibale definition

2011-03-16 Thread Henrik Andersson
The way I would do it is to assign each clickable object the url it needs to go to in a property and then use a single event listener that reads the property to know what url to use. If I was in a really fancy mood I would look into using a component definition to allow the url to be easily

Re: [Flashcoders] IE not releasing memory after unloading Flash object

2011-03-16 Thread Karl DeSaulniers
Darnit, your right. And here I thought I was on to something.. :) Thanks for the input Henrik. Karl On Mar 16, 2011, at 5:28 AM, Henrik Andersson wrote: Karl DeSaulniers skriver: Hi Chris, I was rummaging around in one of my php.ini files and found this nifty little tid bit. Take a

RE: [Flashcoders] Duplicate varibale definition

2011-03-16 Thread Marco Terrinoni
Thank you Tom - works perfectly now! Henrik - I'd love to know more about your use of component definitions, do you have any recommended reading material? Thanks again Marco Terrinoni - Director MULARAM PRODUCTIONS web design // animation // illustration uk: +44 7876 652 643