Assuming you are storing the Singleton instance in a static class variable,
unloading the movie from your container does not remove the instance from
the class. Try setting your instance property to null when you unload the
app (via a die() call or something similar), or detect its existence on
EEColor,
I remember asking the same question years ago. The answer was something like
this:
SharedObject.getRemote(my_so, rtmp:/./.., /);
I am not completely sure and do not have time to test it. As I forgot my
mailing list password I couldnt search the archives... And next to that, I'm
Hi,
I have a chat application that uses an HTML text field for input and a Flash
Control for output.
Everything worked fine until I installed Flash 9: The focus now stays in the
Flash Control when clicking on it.
I am having this problem with Firefox 2.0.0.6 and the Flash 9 plugin on
I don't have you're new email address
ping me off list
:)
--
[ JPG ]
___
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
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
Thanks Bryan, after I posted this yesterday I did some more testes and in
fact came out to the conclusion of what you are describing...
private function onUnload ()
{
delete Singleton
trace(deleted);
}
It works, my variables get reset (counter) but there is still one
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
Hello :)
can you show your code ?
else try it :
import mx.utils.Delegate ;
class Test
{
function Test()
{
x = new XML() ;
x.onLoad = Delegate.create(this, onLoad) ; // create a proxy
between your instance and the xml object
x.load(test.xml) ;
}
if you are just extending from ClassA you should be able to do something
like this:
--CLASS A:
class ClassA
{
public var myVar:Number = 50;
public function ClassA() {};
}
--CLASS B
class ClassB extends ClassA{
public function ClassB()
{
trace(myVar);//this will
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 =
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
I'm currently doing some research on flash CMS. The idea is to build my own
using Flash CS3. The backend will be ASP.NET(C#) and MSSQL.
. I have many questions, the first one is: what do you think is the
best approach? For example, suppose I need to edit some text (content) and
OpenCMs and Lenya
Claudio M. E. Bastos Iorio wrote:
I'm currently doing some research on flash CMS. The idea is to build my own
using Flash CS3. The backend will be ASP.NET(C#) and MSSQL.
. I have many questions, the first one is: what do you think is the
best approach? For
http://www.10cms.com/
Steven Sacks
Flash Maestro
Los Angeles, CA
--
blog: http://www.stevensacks.net
Ron Wheeler wrote:
OpenCMs and Lenya
Claudio M. E. Bastos Iorio wrote:
I'm currently doing some research on flash CMS. The idea is to build
my own
using Flash CS3. The backend will be
Thanks for your response!
As I see, Lenya and OpenCMS are both 'html' CMS.
Now what I'm trying to do is flash based CMS. For example: Start CMS, select
a template or start with a blank. Drag a textbox to stage, edit content,
edit styles. Drag a picturebox to stage, set url image or upload the
My assumption is that you have a scope problem. It seems like you're
Singleton is working properly inside its own SWF, because you remarked that
the duplication when loading was unusual. It sounds like you know that the
Singleton pattern is designed to instantiate only one copy of itself, only
if
If i get your explanation you are going to index the instance name of each
childMc inside an array, to later delete mcArray[0], mcArray[1],mcArray[2]
and so on as in:
mcArray[0] = mc1.mc2;
and so on...
in this case try:
unloadMovie(mcArray[0]); // will delete the mc2 inside mc1
Note that
Or you could simply put all your movieclips into a container movieclip
and remove that one movieclip rather than iterating through and removing
each movieclip one at a time.
Steven Sacks
Flash Maestro
Los Angeles, CA
--
blog: http://www.stevensacks.net
Omar Fouad wrote:
If i get your
Steven's Idea is also good.. Others?
On 9/10/07, Steven Sacks [EMAIL PROTECTED] wrote:
Or you could simply put all your movieclips into a container movieclip
and remove that one movieclip rather than iterating through and removing
each movieclip one at a time.
Steven Sacks
Flash Maestro
var num:Number = 10;
var refs:Array = new Array();
function createClips() {
for(var i=0; inum; i++) {
var mc:MovieClip = createEmptyMovieClip(dummy+i, getNextHighestDepth());
refs.push(mc);
}
trace(refs.length);
}
function removeClips() {
for(var i=0; inum; i++){
That would be the best of all solutions.
On 9/10/07, Muzak [EMAIL PROTECTED] wrote:
var num:Number = 10;
var refs:Array = new Array();
function createClips() {
for(var i=0; inum; i++) {
var mc:MovieClip = createEmptyMovieClip(dummy+i, getNextHighestDepth());
refs.push(mc);
}
Yes, you're right. You can find it here http://flashblocks.com/ . That's
exactly what I'm trying to do. I didn't find a trial version on site :( .
http://www.10cms.com/ looks fine, but I don't think the project is active,
since website says that trial registration are full and there's no price.
anyone have a simple state array for a combox i could steal? :) thanks!
--
-cb
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by
23 matches
Mail list logo