[flexcoders] Validation Error Tooltip

2007-09-20 Thread Jeremy Tooley
Hello all,

I have been struggling with this all day. I have a custom email 
validator in a textInput component, and my requirements call for the 
error tool tip to be present after focus is lost on the field until a 
valid email is present. Everything works perfectly with the error 
validation... although when the textInput loses focus... the error goes 
away... although the box is still highlighted red. Is there a way to 
keep the tooltip present until it is valid?


Cheers
Jeremy Tooley


Re: [flexcoders] Validation Error Tooltip (solved)

2007-09-20 Thread Jeremy Tooley
Wow.. it would really help if I wasn't so lazy and searched the posts.. 
sorry


http://tech.groups.yahoo.com/group/flexcoders/message/81597

Jeremy Tooley wrote:


Hello all,

I have been struggling with this all day. I have a custom email
validator in a textInput component, and my requirements call for the
error tool tip to be present after focus is lost on the field until a
valid email is present. Everything works perfectly with the error
validation... although when the textInput loses focus... the error goes
away... although the box is still highlighted red. Is there a way to
keep the tooltip present until it is valid?

Cheers
Jeremy Tooley




No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.487 / Virus Database: 269.13.27/1020 - Release Date: 9/20/2007 12:07 PM
  




[flexcoders] Printing beyond visible area

2007-04-25 Thread Jeremy Tooley
Hey all,

I am still doing revisions for an app I built and am converting for 
apollo. I have run into a huge issue and cannot figure it out.

I need to print beyond the boundaries of what is shown in the textfield.

http://www.wemadethat.com/gov/UVSBack3.html

goto the UVS Directory and click on  Amtech Aeronautical Limited in the 
business name column

When you hit print, it only prints the visible text and not what is 
beyond the scrollbar.

Has anyone run into this problem

Cheers

Jeremy


Re: [flexcoders] Re: my application -- need help on multiple images in datagrid

2007-03-08 Thread Jeremy Tooley
Thank you so much.. this worked and my datagrid now scrolls smooth. That 
is only an image in the CCUVS page.
This application needed to get done very fast... 4 1/2 days so I didnt 
really do everything right.

A lot of shortcuts to get the job done

Jeremy


Cato Paus wrote:

 Hi Jeremy,
 I did the same whit a tree,
 then i did have to parse the xml and putt on the img,
 here is a short code snipp,

 /

 [Embed(source=images/folder.gif)]
 [Bindable]
 public var imgFolder:Class;

 var newItem : XMLList = new XMLList(element label={fileList
 [f].fileName} path={fileList[f].path} isBranch={fileList[f].children}
 icon=imgFolder/);

 /

 this wath i have done to get the embeded img into my xml.

 hope this helps.

 Cato Paus

 --- In flexcoders@yahoogroups.com 
 mailto:flexcoders%40yahoogroups.com, Jeremy Tooley [EMAIL PROTECTED] 
 wrote:
 
  I have an application I am working on where the datagrid gets
 populated
  from an xml file and the images are loaded in from there as well.
 There
  are only 2 images and I was wondering if it would be better to
 embed the
  image and base it on a predetermined value.
 
  Here is my app so far.
 
  http://www.wemadethat.com/gov/UVSBack3.html 
 http://www.wemadethat.com/gov/UVSBack3.html
 
  If you click on the capability matrix you can see the green x's get
  loaded over and over. I am just wondering if there is a better way.
 
  Thanks
  Jeremy
 

 
 

 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.5.446 / Virus Database: 268.18.7/713 - Release Date: 3/7/2007 9:24 
 AM
   



[flexcoders] my application -- need help on multiple images in datagrid

2007-03-07 Thread Jeremy Tooley
I have an application I am working on where the datagrid gets populated 
from an xml file and the images are loaded in from there as well. There 
are only 2 images and I was wondering if it would be better to embed the 
image and base it on a predetermined value.

Here is my app so far.

http://www.wemadethat.com/gov/UVSBack3.html

If you click on the capability matrix you can see the green x's get 
loaded over and over. I am just wondering if there is a better way.

Thanks
Jeremy


[flexcoders] printJob on a textArea

2007-03-05 Thread Jeremy Tooley
When I go to print my text area in flex. The Text area gets clipped by 
what is shown and the rest does not print. The styles and everything 
come out great, I just cant print the data that is not shown.

Any Ideas

Jeremy Tooley


Re: [flexcoders] Data Provider refresh problems

2007-03-05 Thread Jeremy Tooley

Dude,

I just fought this battle. I had an Array Collection and I would filter 
it.. but the I couldnt access the indexs of the arrayCollection. It 
would only change my dataGrid and comboboxes based on what was in the view.


Here is my code snip

//import the class first
import mx.collections.ListCollectionView;
// you can then use this later. to me I store my intial data in it 
without changing my dataProvider


private function checkBoxFilter():void{
 // regions is my DP... can be xml or arrayCollection
listMyFavorites = new ListCollectionView(regions);
   // I check against the item to see if its true. but 
I never change the original DP
   listMyFavorites.filterFunction = function 
(item:Object):Boolean {return String(item.var1) == assets/blueStar.png};

   listMyFavorites.refresh();
   // update my datagrid.. but it is not reflective on my 
original DP.. as my ListCollectionView just took over that duty

   myGrid.dataProvider = listMyFavorites;
   // dont want sorting after the function has played out.. 
so I null it

   listMyFavorites.filterFunction = null
  
   
 }


All I know is ListCollectionView stores the stuff for me while I am in 
the application and changes things based on my inital dp.


This functionality rocks.
If you were filtering your initial DP... you could trace it and it would 
all show up fine but come to use it and your screwed


so use the ListCollectionView

Jeremy

tdexterus wrote:


Hi All
I have a relatively simple template, we are using XML data generated
and embedded into the template. The template has a combo box that is
initialized upon opening the template - it has a list of Departments
+ 'All'. The user can change the combo choice, the XML is filtered
and a chart and table are refreshed with the same data.
All is fine except when the user comes back to 'All' ... nothing is
rendered as if no data is returned. I have debugged and the code is
returning all XMLdata:
Code snippet
private function getEmployees(deptVal:String):void
{
if (deptVal == 'All')
{
// we want the complete data set again so use empty filter
EmpTable.dataProvider = dataXML.ROW.(DEPARTMENT_NAME != null);
deptChart.dataProvider = dataXML.ROW.(DEPARTMENT_NAME != null);
}
// Combo box selection has been made so filter by Deprtment
EmpTable.dataProvider = dataXML.ROW.(DEPARTMENT_NAME ==
deptVal);
deptChart.dataProvider = dataXML.ROW.(DEPARTMENT_NAME == deptVal);
}

Any ideas why the All option is not refreshing the output, I have
tried variations on this theme. Is there a method to force a refresh
of the components ?
Thanks for any help, Tim




No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.7/711 - Release Date: 3/5/2007 9:41 AM
  




Re: [flexcoders] Data Provider refresh problems

2007-03-05 Thread Jeremy Tooley

and this is how I set my initial DP back to normal

private function clearSearch():void{

   itemsDiscontinued = new ListCollectionView(regions);

   itemsDiscontinued.filterFunction = null
   itemsDiscontinued.refresh();
   myGrid.dataProvider = itemsDiscontinued;
  }

 // itemsDiscontinued = new ListCollectionView(regions); is set to the 
intial DP... which would be your xml data


Jeremy


Jeremy Tooley wrote:


Dude,

I just fought this battle. I had an Array Collection and I would 
filter it.. but the I couldnt access the indexs of the 
arrayCollection. It would only change my dataGrid and comboboxes based 
on what was in the view.


Here is my code snip

//import the class first
import mx.collections.ListCollectionView;
// you can then use this later. to me I store my intial data in it 
without changing my dataProvider


private function checkBoxFilter():void{
  // regions is my DP... can be xml or arrayCollection
 listMyFavorites = new ListCollectionView(regions);
// I check against the item to see if its true. 
but I never change the original DP
listMyFavorites.filterFunction = function 
(item:Object):Boolean {return String(item.var1) == 
assets/blueStar.png};

listMyFavorites.refresh();
// update my datagrid.. but it is not reflective on my 
original DP.. as my ListCollectionView just took over that duty

myGrid.dataProvider = listMyFavorites;
// dont want sorting after the function has played 
out.. so I null it

listMyFavorites.filterFunction = null
   

  }


All I know is ListCollectionView stores the stuff for me while I am in 
the application and changes things based on my inital dp.


This functionality rocks.
If you were filtering your initial DP... you could trace it and it 
would all show up fine but come to use it and your screwed


so use the ListCollectionView

Jeremy

tdexterus wrote:


Hi All
I have a relatively simple template, we are using XML data generated
and embedded into the template. The template has a combo box that is
initialized upon opening the template - it has a list of Departments
+ 'All'. The user can change the combo choice, the XML is filtered
and a chart and table are refreshed with the same data.
All is fine except when the user comes back to 'All' ... nothing is
rendered as if no data is returned. I have debugged and the code is
returning all XMLdata:
Code snippet
private function getEmployees(deptVal:String):void
{
if (deptVal == 'All')
{
// we want the complete data set again so use empty filter
EmpTable.dataProvider = dataXML.ROW.(DEPARTMENT_NAME != null);
deptChart.dataProvider = dataXML.ROW.(DEPARTMENT_NAME != null);
}
// Combo box selection has been made so filter by Deprtment
EmpTable.dataProvider = dataXML.ROW.(DEPARTMENT_NAME ==
deptVal);
deptChart.dataProvider = dataXML.ROW.(DEPARTMENT_NAME == deptVal);
}

Any ideas why the All option is not refreshing the output, I have
tried variations on this theme. Is there a method to force a refresh
of the components ?
Thanks for any help, Tim



No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.7/711 - Release Date: 3/5/2007 9:41 AM
  





No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.7/711 - Release Date: 3/5/2007 9:41 AM
  




Re: [flexcoders] Two Questions on which I am stumped

2007-03-03 Thread Jeremy Tooley
After much searching I have answered question 2 myself. I didnt realize 
I could create a custom event and dispatch it from my itemRenderer 
button within the datagrid.


Anyone have any ideas on question 1.

Thanks
Jeremy


We Made That design wrote:



Hi all,

I have two questions I am trying to figure out.

1. I have a client who has specifically requested an intro be played at
the start of the application( I have tried talking them out of it). I was
thinking I could use flash 9 ide as the intro was built in it. Can I just
load the flex app into an swf via flash 9 ide. And the real question for
me is how would I replay the intro as there is a button specified for
this?
I am so used to using modules now in flex.

2. I am using itemRenderers in my datagrid and have a link button in one
of the columns. I cant seem to access the selectedIndex on the row
selected when clicking the link button. I actually cant access any
functions either from my as class. How can I access functions from my main
mxml file and also access stuff like selectedIndex from my
arrayCollection. I can access the data from the grid no problem using
data.name or whatever.

Thanks
Jeremy

Jeremy Tooley
Creative Director
We Made That Design Group Inc.
[EMAIL PROTECTED] mailto:jeremy%40wemadethat.com
http://www.wemadethat.com http://www.wemadethat.com
p: 403.668.0857
c: 403.836.3048




No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.446 / Virus Database: 268.18.5/707 - Release Date: 3/1/2007 2:43 PM
  




[flexcoders] accessing variables through events

2006-11-27 Thread Jeremy Tooley
Quick question regarding accessing variables.

I have the following code

public function tracePath():void {
   
for (var i:int = 0; i  photoFeed.menu.submenu.length(); i++) {
trace([EMAIL PROTECTED])
var results:XMLList = 
[EMAIL PROTECTED];
trace(results);
   trace (i);
var myUIComponent:UIComponent = new UIComponent();
   
myUIComponent.graphics.beginFill(0xFFCC00);
myUIComponent.graphics.drawCircle(60*i, 30, 30);
myUIComponent.buttonMode = true;
myUIComponent.useHandCursor = true;
myUIComponent.addEventListener(MouseEvent.CLICK, 
mouseClickHandler);
   
this.addChild(myUIComponent);
  
}
trace(photoFeed.menu.submenu.length() +hello);
}

and I access using this function
public function mouseClickHandler(event:MouseEvent):void{
trace(this.i);
}

My question is... how do I access the i variable from within the 
mouseClickHandler() function
so I could find out certain properties. The above code does not seem to 
find the i based on the dynamically created component.

I really want to be able to find out the list collection based on click.

Thanks
Jeremy


[flexcoders] ArrayCollections

2006-07-27 Thread Jeremy Tooley
Hi all,

I am banging my head against the wall on this one.

We have an app that runs on two different servers.
One calls a CFC and uses mx:RemoteObject
The other one calls a java servlet using mx:HTTPService but they both 
retrieve the same data.

With the CFC we are using remoting and we can access the data by going

public function geoResultHandler(event:ResultEvent):void
{
 countries = event.result.countries as ArrayCollection;  
// difference
blah blah blah... more code   
}

and to call it
mx:ComboBox id=theCountry x=10 y=58  prompt=Please Select A 
Country dataProvider={countries} labelField=country_long  
change=setProvince()  width=90%

This works great.

But with mx:HTTPService.. using that way returns null.. so we have to 
use the following

public function geoResultHandler(event:ResultEvent):void
{
countries = new ArrayCollection(event.result.countries 
as Array);  // difference
blah blah blah... more code   
}

mx:ComboBox id=theCountry x=10 y=58  prompt=Please Select A 
Country dataProvider={countries} labelField=country_long  
change=setProvince()  width=90%

Can anyone explain the difference of using a variable as an 
ArrayCollection instead of declaring new ArrayCollection()

Thanks
Jeremy Tooley




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: CF adapter and Flex 2

2005-12-14 Thread Jeremy Tooley






Hi all,

I am having some difficulties using RemoteObject. I was wondering how
you test when the swf is running locally and the cf page is on another
server.

I have

mx:RemoteObject id="TestFunction"
 destination="TestReport"
  showBusyCursor="true"
mx:method name="getHits" result="getHits_result(event)"/
mx:method name="getSpeed" result="Speed_result(event)"/
/mx:RemoteObject

But I really dont know where I set my gateway url. And is it possible
to use the adapter with coldfusion 6.

Thanks
Jeremy



-- 

Untitled Document
Jeremy Tooley
Interactive Director / Partner 
We Made That Design Group Inc.
p:403.668.0857
p:604.628.1682
c:403.836.3048
www.wemadethat.com
[EMAIL PROTECTED]








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  










Re: [flexcoders] yahoo maps

2005-11-29 Thread Jeremy Tooley






This has been a battle for the last two days.. damn
JesterXL wrote:

I tried in 2, and gave up. If you get it working, let me know, but
unless 
she's converted to AS3, she'll only work if you load in a movie, or
perhaps 
if you embed the SWF as a symbol.
  
- Original Message - 
From: "Jeremy Tooley" [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, November 29, 2005 12:07 AM
Subject: [flexcoders] yahoo maps
  
  
yo,
  
so... I have tried Jesses example on the yahoo maps and it works super
good on 1.5. Has anyone used the api on flex 2.0. I am in a battle right
now.. and the computer is winning.
  
Jeremy
  
  
  
  
  
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
  
  
  
  
  
  

  

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.8/184 - Release Date: 11/27/2005
  








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  










Re: [flexcoders] Re: Job: Flex Developer

2005-11-29 Thread Jeremy Tooley
So glad I joined this group... fucking drama... rock 
on. love it
Clint Modien wrote:

 Mr. Yates,
  
 Your ignorance is only exceeded by your arrogance.  The powers that 
 be at Minacs were the ones that informed me of the misrepresentation 
 of your skillset. 
  
 And if you were to sue me... which you won't. You would sue me 
 for liable.  Slander is spoken. Print is liable.  I wouldn't want you 
 @[EMAIL PROTECTED] that up too. 
  
 On 11/28/05, *Kenny Yates* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Clint:

 Do you even realize the legal ramifications you have created for
 your firm Minacs, USA and Minacs, Canada??  I am certain that the
 powers that be at your firm would be highly upset at the position
 you are legally placing them in at this time.  It seems odd that
 you could slander me so easily --- it also appears that you are
 the liar as I have recently spoken with references at Nationwide
 and other firms. In moving forward with this endeavor, you are
 leaving yourself and your firm open for a slander suit, as you
 continue to post these unprofessional and dishonest comments.
 Please don't hesitate to continue your actions as I will be naming
 you in the lawsuit I intend to file and have forwarded the email
 thread to my attorney.  I have asked him to make contact with Mike
 Schultz and Ed Thorpe at Minacs as well.  I wish you well in your
 future, as I am certain it will be limited.

 Kenny

  

 -Original Message-
 *From:* Clint Modien [mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]]
 *Sent:* Monday, November 28, 2005 8:09 PM
 *To:* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 *Cc:* flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com
 *Subject:* Re: Job: Flex Developer

  

 p.p.s.  Your friends at Nationwide Insurance in Columbus Ohio
 would agree me as well.

 On 11/28/05, *Kenny Yates*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 Clint:

 Thanks for your info.

 I have a great couple of great references at Macromedia and went
 on from Minacs (where there were numerous issues in management) to
 do outstanding things for JC Penney and others.  I indeed think
 you have errant info _but not from me_.  Thank you for clueing me
 in on the origination of those slanderous comments.  It is
 unfortunate that you didn't choose to check your facts first,
 before insulting me.

 Enjoy your evening!

 Kenny

  

 -Original Message-
 *From:* Clint Modien [mailto: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]]
 *Sent:* Monday, November 28, 2005 6:40 PM
 *To:* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 *Cc:* flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com
 *Subject:* RE: Job: Flex Developer

  

 Your reputation preceeds you...

  

 The post was for developers... not con-men.

  

 The world of Macromedia Flex is not as large as you think.

  

 P.S. Your friends @ Minacs say hi.

  

 On 11/28/05, *Kenny Yates*  [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 Clint:

 Last week I sent an email to you and did not receive confirmation
 that you had indeed received it.  Please confirm for me the
 receipt of this email and my previous email.

 Thank you,

 Kenny Yates

 Lead Flex Developer

 469.964.1000

 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]


  

  




 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com


 
 YAHOO! GROUPS LINKS

 *  Visit your group flexcoders
   http://groups.yahoo.com/group/flexcoders on the web.

 *  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
   mailto:[EMAIL PROTECTED]

 *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
   Service http://docs.yahoo.com/info/terms/.


 



No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.8/184 - Release Date: 11/27/2005
  







 Yahoo! Groups Sponsor ~-- 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your 

[flexcoders] button

2005-11-29 Thread Jeremy Tooley
k this question is a bit weird as I thought of it and would never use a 
button component unless I was using Flex, but I was playing around with 
AS.3 and tried to get a button component to show... and it just wont. 
Now I know I will be using Flex for the components from now on 
but this is bugging me because it wont show so I have to get it to work

Any ideas.. Here is the code I am trying.

package {
import flash.display.MovieClip;
import mx.controls.Button;
public class testButton extends MovieClip {
private var myButton:Button;
public function testButton() {
myButton=new Button();
myButton.label=Funky;
myButton.x=100;
myButton.y=50;
addChild(myButton);

}
}
}

Thanks
Jeremy





 Yahoo! Groups Sponsor ~-- 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/nhFolB/TM
~- 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] button

2005-11-29 Thread Jeremy Tooley






Hi Sreenivas

I should have been more clear. I am using flex 2.0 to comile an
Actionscript project. and using the as button components
Sreenivas R wrote:

  Hi Jeremy,
  
  I think without all Flex initialization code (SystemManager,
Application, Stylesetc) this is not going to work !
  
  I am saying this based on my look atthe generated AS file for a
simple Flex MXML app. It generates lot of code !
  
  It is easy to insert components into a minimal Flex App through
AS but it will be very difficult to use a Flex component in a stand
alone AS app.
  
  -Sreenivas

  On 11/30/05, Jeremy Tooley [EMAIL PROTECTED]
wrote:
  k
this question is a bit weird as I thought of it and would never use a
button component unless I was using Flex, but I was playing around with

AS.3 and tried to get a button component to show... and it just wont.
Now I know I will be using Flex for the components from now on
but this is bugging me because it wont show so I have to get it to work


Any ideas.. Here is the code I am trying.

package {
 import flash.display.MovieClip;
 import mx.controls.Button;
 public class testButton extends MovieClip {
 private var myButton:Button;

 public function testButton() {
 myButton=new Button();
 myButton.label="Funky";
 myButton.x=100;
 myButton.y=50;
 addChild(myButton);

 }
 }
}

Thanks
Jeremy





 Yahoo! Groups Sponsor
~--
Most low income households are not online. Help bridge the digital
divide today!

http://us.click.yahoo.com/I258zB/QnQLAA/TtwFAA/nhFolB/TM
~-

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links

* To visit your group on the web, go to:
 http://groups.yahoo.com/group/flexcoders/


* To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:

 http://docs.yahoo.com/info/terms/



  
  
  

  

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.10/186 - Release Date: 11/29/2005

  








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  










[flexcoders] Re: yahoo maps

2005-11-28 Thread Jeremy Tooley






Has anyone been using yahoo maps with flex 2.0.
And is so are there any examples.

Jeremy

Doodi, Hari - BLS CTR wrote:

  
  
  
  
  I totally
agree with you and infact I am
planning to do so. But my concern is If I have some code, like
assigning value
to dirtyFlag, in change event then that code will be executed several
times 
if I am enter a text of 150 char then that assignment code will be
executed 150
time. Which is a over load on system. Dont you agree with me???
  
  
  Thanks! 
  Hari 
  
  -Original
Message-
  From:
flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On
Behalf
Of JesterXL
  Sent: Monday, November
28, 2005
4:09 PM
  To:
flexcoders@yahoogroups.com
  Subject: Re:
[flexcoders]
TextInput control
  
  
  There is
no such event. You'll
need to create your own dirtyFlag that gets set to true when the change
occurs,
and have focusOut inspect if the dirtyFlag is true, and if so, fire
your new
"changed and focus out" event.
  
  
  
  
  
  -
Original Message - 
  
  From: Doodi,
Hari - BLS CTR 
  
  
  To: flexcoders@yahoogroups.com
  
  
  
  Sent: Monday, November 28,
2005 3:54 PM
  
  
  Subject: RE: [flexcoders]
TextInput control
  
  
  
  
  
  If I use
focus 
this event fire irrespective of whether content is modified or not. I
dont want this to happen. I want an event which should fire up only if
content changed and tab out.
  
  
  Thanks! 
  Hari 
  
  -Original
Message-
  From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com] On
Behalf
Of JesterXL
  Sent: Monday, November
28, 2005
3:49 PM
  To:
flexcoders@yahoogroups.com
  Subject: Re:
[flexcoders]
TextInput control
  
  
  focusOut
  
  
  
  
  
  -
Original Message - 
  
  From: Doodi,
Hari - BLS
CTR 
  
  
  To: flexcoders@yahoogroups.com
  
  
  
  Sent: Monday, November 28,
2005 3:42 PM
  
  
  Subject: [flexcoders] TextInput
control
  
  
  
  
  
  Hi,
  
Can some one suggest me which event is the best event to handle a
situation
like - user changes the content of textinput and tabs out of it ? I
tried change event and found that this event is firing for each
change, meaning for every key board press while entering text in it. I
dont want this. What I am looking for is an event which fires only one
time when user changes existing content and tabs out.
  
  Thanks!
  
  Hari
  
  
  
  

  

No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.8/184 - Release Date: 11/27/2005
  
  
  








--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.