Re: [flexcoders]Need help creating a Singleton with MXML

2009-01-11 Thread Paul Andrews
- Original Message - 
  From: dorkie dork from dorktown 
  To: flexcoders@yahoogroups.com 
  Sent: Sunday, January 11, 2009 5:05 AM
  Subject: Re: [flexcoders]Need help creating a Singleton with MXML


  Yay! That's the class I needed! :)

  To answer your question why. First I like to use MXML. Any tool can parse 
XML. Plus, with this class, I plan to drop it into all my future project and 
set properties on it. If I had more than one instance it would screw up the 
application. Other classes use some of its functionality so I am providing a 
getInstance(). The problem has been that the other classes may be declared 
before the MXML instance. So I updated my code to always call the getInstance() 
method and both problems have been solved!!!

Eventually for functionality like that you will end up using actionscript 
classes, so it would be better to go there now that put off that day. If you 
are determined to use MXML in this way, there's nothing stopping you 
implementing the singleton as an actionscript class then having that class 
instantiate the MXML class and return a reference to it. There's no need to 
have a situation where you want to use the MXML class but it doesn't exist.

Until I saw this thread I had never imagined that anyone would use MXML for 
creating singletons.

Paul



  On Sat, Jan 10, 2009 at 12:38 AM, Haykel BEN JEMIA  wrote:


You should probably implement the IMXMLObject interface. Override the 
initialized method where you can set the class instance (to 'this').

The getInstance() method can create a default class instance if it's null 
and return it.

Don't save references to the class instance in the classes that need to use 
it. Instead always call getInstance(). This way, until the MXML singleton is 
initialized, a 'default' singleton will be used. Afterwards, the MXML instance 
will be used.

This said, why do you need the singleton to be MXML?

Haykel Ben Jemia

Allmas
Web & RIA Development
http://www.allmas-tn.com






On Sat, Jan 10, 2009 at 5:47 AM, dorkie dork from dorktown 
 wrote:

  I'm stumped. I'm trying to create a singleton class that is also an MXML 
class. 

   creates one instance obviously. But another 
class needs to reference this class. So class 2 calls 
SingletonClass.getInstance(). It's possible that class 2 will be created before 
the MXML SingletonClass instance. 

  It's ok for me if there is a ghost instance as long as everything works 
like it should. As long as the instance that is in the main MXML file is the 
one thats in effect.

  Also, when debugging this, the id is always an empty string. I'm 
extending EventDispatcher. 

  dorkie dork from singleton-town place





   

Re: [flexcoders]How do I know if a class is on the Application?

2009-01-11 Thread Manish Jethani
On 1/10/09, dorkie dork from dorktown  wrote:

> I have a class on the application like this:
>
> 
>
> How do I find out inside that class in the constructor if that class is on 
> the Application?

By "Application" I assume the Flex application (instance of
mx.core.Application). The only way to do this is to walk the parent
chain (parent.parent.parent) until you come across an Application
instance, or null.

  inApplication = false;
  p = this.parent;

  while (p != null) {
if (p is Application) {
  inApplication = true;
  break;
}

p = p.parent;
  }

Your loop will never run, however, since parent will always be null in
the constructor.

Note that checking for Application is different from checking for
stage. The Application may not have been added to the stage when
you're doing this check (even if not in the constructor). So if you
want to check if you're on the stage yet, just check for the stage
property.

onStage = (stage != null);

Manish

-- 
http://manishjethani.com


Re: [flexcoders]How do I know if a class is on the Application?

2009-01-11 Thread Paul Andrews
- Original Message - 
  From: dorkie dork from dorktown 
  To: flexcoders@yahoogroups.com 
  Sent: Saturday, January 10, 2009 6:06 AM
  Subject: [flexcoders]How do I know if a class is on the Application?


  I have a class on the application like this:

  

  How do I find out inside that class in the constructor if that class is on 
the Application?

Is this just another incarnation of your mxml singleton question?

  dorkie dork from dorktown™

[flexcoders] Re: Wierd error 1067 on extended DefaultDataDescriptor

2009-01-11 Thread Amy
--- In flexcoders@yahoogroups.com, Alex Harui  wrote:
>
> You have to assign an instance of your class, not the class itself

Yes, I ultimately figured that out.  Thanks :-).  I was expecting it to 
work like itemRenderers or something.



Re: [flexcoders]How do I know if a class is on the Application?

2009-01-11 Thread Samuel Colak
To reference the application object inside another object (either UI  
or otherwise) just define a variable to reference  
"Applicaton.application";


Note that this returns an object - not an instance of Application per  
se.


One interesting note is that singletons can be instantiated through  
using a check in the following manner...


var _x:Object = Application.application;
if (_x["mySingleton"] == null) {
_x["mySingleton"] = new SingletonClass();
}
return _x["mySingleton"] as SingletonClass;

Maybe that helps someone ;)

Samuel


On Jan 11, 2009, at 1:32 PM, Manish Jethani wrote:

On 1/10/09, dorkie dork from dorktown > wrote:


> I have a class on the application like this:
>
> 
>
> How do I find out inside that class in the constructor if that  
class is on the Application?


By "Application" I assume the Flex application (instance of
mx.core.Application). The only way to do this is to walk the parent
chain (parent.parent.parent) until you come across an Application
instance, or null.

inApplication = false;
p = this.parent;

while (p != null) {
if (p is Application) {
inApplication = true;
break;
}

p = p.parent;
}

Your loop will never run, however, since parent will always be null in
the constructor.

Note that checking for Application is different from checking for
stage. The Application may not have been added to the stage when
you're doing this check (even if not in the constructor). So if you
want to check if you're on the stage yet, just check for the stage
property.

onStage = (stage != null);

Manish

--
http://manishjethani.com






[flexcoders] Re: CategoryAxis category order

2009-01-11 Thread Amy
--- In flexcoders@yahoogroups.com, Maciek Sakrejda  
wrote:
>
> When I have a data provider like
> 
> [ { category : foo, val : 1 }, { category : bar, val : 2 },{ 
category :
> baz, val : 3 } ]
> 
> and graph this on a BarChart as category vs. val, the values are 
graphed
> bottom to top. That is, category foo is on the bottom, then bar, then
> baz at the top. Is there a way to reverse this order, and have the
> categories as foo, bar, baz bottom-to-top without having to re-sort 
the
> dataprovider (it is used elsewhere) or copy the data in reverse order
> (I'd rather extend the charting components to do the "right thing")?

How bout just creating a ListCollectionView that points to the same 
data and sort that?



[flexcoders] Re: Cairngorm and ChangeWatcher

2009-01-11 Thread lampei
That's actually the example I've been using (I thought it was 2006,
not 2007), but it's 2 years old, and my question still holds.  Is this
the best practice or is some other method being used with Cairngorm?

--- In flexcoders@yahoogroups.com, claudiu ursica  wrote:
>
>
http://weblogs.macromedia.com/auhlmann/archives/2007/02/creating_a_popu.html#more
> 
> This should give you some directions...
> 
> Claudiu
> 
> 
> 
> 
> 
> From: lampei 
> To: flexcoders@yahoogroups.com
> Sent: Saturday, January 10, 2009 1:34:25 AM
> Subject: [flexcoders] Cairngorm and ChangeWatcher
> 
> 
> I have begun tinkering around with various frameworks and thought I
> would start with Cairngorm.  I am refactoring a small application to
> use Cairngorm, but ran into a snag.  All of the examples I found just
> bound an item in the view to a property of the ModelLocator, and thus
> automagically updated the value when the property of the ModelLocator
> changed.  However, I had one item that is waiting for a response from
> a service, and needed to respond to that change (such as an error
> message), rather than just display the updated data that is returned.
> 
> I found an example that uses the ChangeWatcher class to watch the
> property on the ModelLocator.  This seemed to work fine, but I was
> wondering if this is still best practice, as the example I found was
> from 2006.
> 
> Thanks.
>




[flexcoders] VO and LabelField Problem

2009-01-11 Thread Berkay Unal
Hi,
When trying have dataprovider for a list control using remoting with VO i
cannot set the label of the control with the labelField = "courseName".

How to achieve this, guess i am missing smthing. Any help appreciated much

result Array (@1a522159)

[0] com.abc.courseList.VO.CourseVO (@1ee40449)
courseID 1
courseName "Course1"
[1] com.abc.courseList.VO.CourseVO (@1ee404c1)
courseID 2
courseName "Course2"
[2] com.abc.courseList.VO.CourseVO (@1ee40719)
courseID 3
courseName "Course3"
length 3

Best
Bunal


Re: [flexcoders] Re: Flash Remoting Options

2009-01-11 Thread Alan K

Resonably - there are no options regarding AMFPHP.

PHP 4 is really old.  Your host should offer an upgrade to at  least  
PHP 5.


Alan
On Jan 10, 2009, at 11:44 PM, Amy wrote:


Any options for earlier php versions?




[flexcoders] Loading Images Using CSS

2009-01-11 Thread Dan Vega
I was looking through the archives and I came to what I thought was an
answer to my problem but I can't get it to work. I have logo / icon sets
that I want to be able to switch between. All of the sets have there own
style sheets and its working great for the buttons but i am having an issue
with the logo. There is no way to define a css image but I read that you can
do something like this

*main.mxml*


*stylesheet
*.logo {
source: "assets/images/robp/rocketfm_logosmall.png";
}

I tried this and got the following error. I am sure I am probably just doing
something wrong, anyone know what it is?
TypeError: Error #1009: Cannot access a property or method of a null object
reference.

Thank You
Dan Vega
danv...@gmail.com
http://www.danvega.org


[flexcoders] creating Help Files for a Flex application

2009-01-11 Thread weezee49
What are people using to create help files for a Flex application?  I
have used HTML Help Workshop to create a small test help file, but I
can't find any information on how to hook it up to my Flex app.  So my
questions are:

1.  Is it possible to use a.chm file with a Flex application, and how
can I do that?

2.  If not, what is the Flex-approved way to create help files?  

Thanks,
LG Rains



[flexcoders] Re: Namespace declaration problem

2009-01-11 Thread brucewhealton
I thought, when I first read this, that you were saying that it is a
part of a normal flex installation.  The author of the text said that
I need to download and install the auto-complete edit field component
into my libs directory.  I wonder if that means just for this project
or the libs directory for my Flex installation.

I don't understand why, if a 3rd party package or set of components is
required, they were not included with the rest of the content that
comes with the text.  It almost sounded like I should have somehow
known to locate and install this auto-complete component and that I
should have known how to install it into this project.  Is it just me,
or is it strange to think that the reader of this text would have
known to do this without even mentioning anything about needing this
extra component, how to get it and how to install it or install it for
this project?

So, yes, I did follow package notation, even before I asked this
question.  I mean the explanation of it was helpful to refresh my
memory as to how it works.  Then it just left me thinking something is
seriously missing that I need.  Please let me know what you think... 
Shouldn't a writer at least mention that one is going to need to
install this component into this package?  
Thanks,
Bruce

--- In flexcoders@yahoogroups.com, Gordon Smith  wrote:
>
> It sounds like you don't have the SWC with the
comc.adobe.flex.extras.controls.* classes (which are not part of a
standard Flex installation) or it isn't on your library-path.
> 
> Gordon Smith
> Adobe Flex SDK Team
> 
> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]
On Behalf Of brucewhealton
> Sent: Thursday, January 08, 2009 6:25 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Namespace declaration problem
> 
> 
> Hello all,
> I have this code that I copied from a text book on Flex. I'm
> aware of package notation but I'm not sure how this works in this
> example and what is going wrong. In the code, I have within the
> Application tag, a namespace definition. So, the Application tag
> opens like this:
> http://www.adobe.com/2006/mxml";
> layout="vertical"
> xmlns:ec="com.adobe.flex.extras.controls.*">
> 
> I'm cutting out what is not relevant to the problem. The problem is
> that this tag is not recognized by Flex 3, it gives a compile time
error:
> 
> I guess I need to figure out what is inside the controls package that
> is named above in the Application.
> The error I get on that line is
> 1046: Type was not found or was not a Compile time constant:
AutoComplete.
> How might I figure this out? The text where I found this does not
> elaborate on this particular code. It is an example of coding that is
> a little different then what I am familiar with.
> 
> Can anyone help me make sense of this, please?
> Bruce
>




RE: [flexcoders] Re: CategoryAxis category order

2009-01-11 Thread Maciek Sakrejda
Thanks, Amy. The nature of how we use charts would make a solution based around 
modifying the axis a lot simpler, but I may need to fall back to this approach. 
I think the problem is that an axis is unaware of its orientation, and 
left-to-right is isomorphic with bottom-to-top (to represent a cartesian chart 
with the standard x and y dimensions). This makes sense for numeric and 
datetime axes, but it seems counter-intuitive for a category axis. I wonder if 
I can monkey around with AxisBase.describeData()...


-Original Message-
From: flexcoders@yahoogroups.com on behalf of Amy
Sent: Sun 1/11/2009 5:52 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: CategoryAxis category order
 
--- In flexcoders@yahoogroups.com, Maciek Sakrejda  
wrote:
>
> When I have a data provider like
> 
> [ { category : foo, val : 1 }, { category : bar, val : 2 },{ 
category :
> baz, val : 3 } ]
> 
> and graph this on a BarChart as category vs. val, the values are 
graphed
> bottom to top. That is, category foo is on the bottom, then bar, then
> baz at the top. Is there a way to reverse this order, and have the
> categories as foo, bar, baz bottom-to-top without having to re-sort 
the
> dataprovider (it is used elsewhere) or copy the data in reverse order
> (I'd rather extend the charting components to do the "right thing")?

How bout just creating a ListCollectionView that points to the same 
data and sort that?


<>

RE: [flexcoders] Re: CategoryAxis category order

2009-01-11 Thread Maciek Sakrejda
Hmm. No dice. Overriding describeData() to return 
super.describeData().reverse() does nothing... Maybe I'll go the 
ListCollectionView route.

-Original Message-
From: flexcoders@yahoogroups.com on behalf of Maciek Sakrejda
Sent: Sun 1/11/2009 2:47 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: CategoryAxis category order
 
Thanks, Amy. The nature of how we use charts would make a solution based around 
modifying the axis a lot simpler, but I may need to fall back to this approach. 
I think the problem is that an axis is unaware of its orientation, and 
left-to-right is isomorphic with bottom-to-top (to represent a cartesian chart 
with the standard x and y dimensions). This makes sense for numeric and 
datetime axes, but it seems counter-intuitive for a category axis. I wonder if 
I can monkey around with AxisBase.describeData()...


-Original Message-
From: flexcoders@yahoogroups.com on behalf of Amy
Sent: Sun 1/11/2009 5:52 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: CategoryAxis category order
 
--- In flexcoders@yahoogroups.com, Maciek Sakrejda  
wrote:
>
> When I have a data provider like
> 
> [ { category : foo, val : 1 }, { category : bar, val : 2 },{ 
category :
> baz, val : 3 } ]
> 
> and graph this on a BarChart as category vs. val, the values are 
graphed
> bottom to top. That is, category foo is on the bottom, then bar, then
> baz at the top. Is there a way to reverse this order, and have the
> categories as foo, bar, baz bottom-to-top without having to re-sort 
the
> dataprovider (it is used elsewhere) or copy the data in reverse order
> (I'd rather extend the charting components to do the "right thing")?

How bout just creating a ListCollectionView that points to the same 
data and sort that?



<>

RE: [flexcoders] Re: CategoryAxis category order

2009-01-11 Thread Maciek Sakrejda
Ok, so it looks like a (reasonably simple) way to do this is to set the 
dataProvider of the CategoryAxis to originalDataProvider.toArray().reverse() on 
every update of originalDataProvider. A ListCollectionView to wrap 
originalDataProvider would have been cleaner, but there doesn't seem to be a 
simple way to say "sort the opposite of how this is sorted by default". I tried 
to extend ListCollectionView into a ReverseListCollectionView by overriding 
getItemAt() and itemIndex(), but it looks like CategoryAxis actually uses 
IViewCursor, and I would have had to write my own. I think this solution works 
reasonably well for now.


-Original Message-
From: flexcoders@yahoogroups.com on behalf of Maciek Sakrejda
Sent: Sun 1/11/2009 3:39 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: CategoryAxis category order
 
Hmm. No dice. Overriding describeData() to return 
super.describeData().reverse() does nothing... Maybe I'll go the 
ListCollectionView route.

-Original Message-
From: flexcoders@yahoogroups.com on behalf of Maciek Sakrejda
Sent: Sun 1/11/2009 2:47 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: CategoryAxis category order
 
Thanks, Amy. The nature of how we use charts would make a solution based around 
modifying the axis a lot simpler, but I may need to fall back to this approach. 
I think the problem is that an axis is unaware of its orientation, and 
left-to-right is isomorphic with bottom-to-top (to represent a cartesian chart 
with the standard x and y dimensions). This makes sense for numeric and 
datetime axes, but it seems counter-intuitive for a category axis. I wonder if 
I can monkey around with AxisBase.describeData()...


-Original Message-
From: flexcoders@yahoogroups.com on behalf of Amy
Sent: Sun 1/11/2009 5:52 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: CategoryAxis category order
 
--- In flexcoders@yahoogroups.com, Maciek Sakrejda  
wrote:
>
> When I have a data provider like
> 
> [ { category : foo, val : 1 }, { category : bar, val : 2 },{ 
category :
> baz, val : 3 } ]
> 
> and graph this on a BarChart as category vs. val, the values are 
graphed
> bottom to top. That is, category foo is on the bottom, then bar, then
> baz at the top. Is there a way to reverse this order, and have the
> categories as foo, bar, baz bottom-to-top without having to re-sort 
the
> dataprovider (it is used elsewhere) or copy the data in reverse order
> (I'd rather extend the charting components to do the "right thing")?

How bout just creating a ListCollectionView that points to the same 
data and sort that?




<>

[flexcoders] Server Side Cache and AMF

2009-01-11 Thread Mike Oliver

What are the pros and cons to using a serverside cache or proxy cache with
Flex and AMF?

I can see a cache on a web service that is primarily a lookup service, but
don't see much if any benefit to a cache related to transactions, and for
lookup, except for really large data sets I think a client side actionscript
object will be every bit as effective, and for really large data sets you
don't want to fetch more than you need anyway so a cache won't do much there
either.

I think server side cache is best for pages of information like HTML pages,
XML documents, JSP pages where the content is keyed in the cache by the URL
for the GET, and anything else is a waste of effort or worse due to stale
data in the cache.

But what do I know?  If I knew everything I wouldn't ask.
-- 
View this message in context: 
http://www.nabble.com/Server-Side-Cache-and-AMF-tp21406354p21406354.html
Sent from the FlexCoders mailing list archive at Nabble.com.



Re: [flexcoders] creating Help Files for a Flex application

2009-01-11 Thread Paul Hastings
weezee49 wrote:
> What are people using to create help files for a Flex application?  I

cfdocument in coldfusion to create flashpaper from HTML, etc.



[flexcoders] Styling Alert box default button

2009-01-11 Thread achegedus
I have a custom styled alert box with two buttons (ok and cancel), I'm
trying to make the default button look slightly different, but I can't
figure out how to do this.  Does anyone know?  The default style can
achieve this.



[flexcoders] Timer Solution

2009-01-11 Thread vinod kumar
I want an urgent help. From metadata information i got the frame rate
as 15. So between every second i want to display the values 1 to 15
using timer. But i dont know how to do this . Please help me. its urgent
I have attached code also.






http://www.adobe.com/2006/mxml"; layout="vertical" 
verticalAlign="top" backgroundColor="white">


    
    
    

    
    


    

    
    


    
    
    
    
    





  Unlimited freedom, unlimited storage. Get it now, on 
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/

[flexcoders] Using dispatchEvent ?

2009-01-11 Thread biosmonkey
I thought I had understood the event model, but apparently not.

I have a custom class that extends EventDispatcher, let's call it
MyClass.  This class will periodically dispatch a custom event based
on a timer and some condition.

In my main app, I instantiate an instance of this class.  I also
create an event listener at the application level.

Here's the problem:

* If I use dispatchEvent(...) inside MyClass, the event listener in
the main app never fires (the custom event *is* set to bubble)

* The only way it will work is if I use the application object, ie
mx.core.Application.application.dispatchEvent(...)

But I don't understand why I have to do this? I have used a similar
model just fine when dispatching events from inside components (ie I
use dispatchEvent and my custom event is heard at the app level via
bubbling).  

Can someone help me understand this?



[flexcoders] scaleMode(scaling app)

2009-01-11 Thread stinasius
hi guys i have been reading alex aharui's blog
post(http://blogs.adobe.com/aharui/2008/01/flex_and_scalemodes.html)
about scaling a flex application and i like it but i have one problem.
he says to get better results you have to estimate the size that is
width and height of the application other wise if you use percentages
the scalemode wont work. now i would like to have my flex app cover
the whole screen area and i am currently using percentages
(width="100%" and height="100%") and when i use the scalemode half of
my application is seen the other half is cut away. my question is! is
there a way of estimating the width and height of the app if its going
to cover the whole screen area without using percentages and is there
a way to archive good result even if you are still using percentages.
by good result i mean as you shrink the application its contents like
text and images also shrink to fit the app so that there are no scroll
bars. thanks



Re: [flexcoders] Using dispatchEvent ?

2009-01-11 Thread Josh McDonald
Event bubbling only occurs within the display list. So your dispatching
object must also be a child UIComponent if you want to catch bubbled events.

-Josh

On Mon, Jan 12, 2009 at 4:12 PM, biosmonkey  wrote:

> I thought I had understood the event model, but apparently not.
>
> I have a custom class that extends EventDispatcher, let's call it
> MyClass.  This class will periodically dispatch a custom event based
> on a timer and some condition.
>
> In my main app, I instantiate an instance of this class.  I also
> create an event listener at the application level.
>
> Here's the problem:
>
> * If I use dispatchEvent(...) inside MyClass, the event listener in
> the main app never fires (the custom event *is* set to bubble)
>
> * The only way it will work is if I use the application object, ie
> mx.core.Application.application.dispatchEvent(...)
>
> But I don't understand why I have to do this? I have used a similar
> model just fine when dispatching events from inside components (ie I
> use dispatchEvent and my custom event is heard at the app level via
> bubbling).
>
> Can someone help me understand this?
>
>
> 
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Alternative FAQ location:
> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>
>
>
>


-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

Like the cut of my jib? Check out my Flex blog!

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: j...@gfunk007.com
:: http://flex.joshmcdonald.info/
:: http://twitter.com/sophistifunk


Re: [flexcoders]How do I know if a class is on the Application?

2009-01-11 Thread Haykel BEN JEMIA
I have to ask again: What do you mean with "on the application"?
I you mean added to some display list, then it must be a subclass of
DisplayObject.
Or perhaps you can tell what you want to do exactly.

Haykel Ben Jemia

Allmas
Web & RIA Development
http://www.allmas-tn.com




On Sun, Jan 11, 2009 at 5:42 AM, dorkie dork from dorktown <
dorkiedorkfromdorkt...@gmail.com> wrote:

>   It's a manager class that extends EventDispatcher.
>
> On Sat, Jan 10, 2009 at 12:17 AM, Haykel BEN JEMIA wrote:
>
>>   What do you mean with "on the application"?
>> If you mean added to the stage, then you can't find this out in the
>> constructor. Make sure your class is a subclass of DisplayObject and listen
>> to the "added" or "addedToStage" events.
>>
>>
>> Haykel Ben Jemia
>>
>> Allmas
>> Web & RIA Development
>> http://www.allmas-tn.com
>>
>>
>>
>>
>>
>> On Sat, Jan 10, 2009 at 7:06 AM, dorkie dork from dorktown <
>> dorkiedorkfromdorkt...@gmail.com> wrote:
>>
>>>   I have a class on the application like this:
>>>
>>> 
>>>
>>> How do I find out inside that class in the constructor if that class is
>>> on the Application?
>>>
>>> dorkie dork from dorktown™
>>>
>>
>>
>  
>