[flexcoders] Re: who know flex builder2 download location??

2010-07-14 Thread sevengeon
oh~ thanks your advice..

will try that solution :)

--- In flexcoders@yahoogroups.com, Nick Collins  wrote:
>
> Flex Builder 2 doesn't either. You would need to have Flex 1.5... and Flex
> Builder at that point was basically Dreamweaver. Good luck working with
> that!
> 
> On Wed, Jul 14, 2010 at 8:02 AM, sevengeon  wrote:
> 
> >
> >
> > i want programming use as2.0 on FlashPlayer 8
> >
> > but fb3 is not support as2.0 sdk..
> >
> > so i need fb2.. or any other solutions..
> >
> >
> > --- In flexcoders@yahoogroups.com ,
> > "valdhor"  wrote:
> > >
> > > Why?
> > >
> > > --- In flexcoders@yahoogroups.com ,
> > "sevengeon"  wrote:
> > > >
> > > > i want flex builder2..
> > > >
> > >
> >
> >  
> >
>




Re: [flexcoders] Re: who know flex builder2 download location??

2010-07-14 Thread lei song
Why target flash 8? Your alternative is actionscript

On Thu, 15 Jul 2010 07:53 SGT Nick Collins wrote:

>Flex Builder 2 doesn't either. You would need to have Flex 1.5... and Flex
>Builder at that point was basically Dreamweaver. Good luck working with
>that!
>
>On Wed, Jul 14, 2010 at 8:02 AM, sevengeon  wrote:
>
>>
>>
>> i want programming use as2.0 on FlashPlayer 8
>>
>> but fb3 is not support as2.0 sdk..
>>
>> so i need fb2.. or any other solutions..
>>
>>
>> --- In flexcoders@yahoogroups.com ,
>> "valdhor"  wrote:
>> >
>> > Why?
>> >
>> > --- In flexcoders@yahoogroups.com ,
>> "sevengeon"  wrote:
>> > >
>> > > i want flex builder2..
>> > >
>> >
>>
>>  
>>





Re: [flexcoders] Re: who know flex builder2 download location??

2010-07-14 Thread Nick Collins
Flex Builder 2 doesn't either. You would need to have Flex 1.5... and Flex
Builder at that point was basically Dreamweaver. Good luck working with
that!

On Wed, Jul 14, 2010 at 8:02 AM, sevengeon  wrote:

>
>
> i want programming use as2.0 on FlashPlayer 8
>
> but fb3 is not support as2.0 sdk..
>
> so i need fb2.. or any other solutions..
>
>
> --- In flexcoders@yahoogroups.com ,
> "valdhor"  wrote:
> >
> > Why?
> >
> > --- In flexcoders@yahoogroups.com ,
> "sevengeon"  wrote:
> > >
> > > i want flex builder2..
> > >
> >
>
>  
>


Re: [flexcoders] DateTimeAxis labels

2010-07-14 Thread Richard Rodseth
Before embarking on potentially time-consuming or risky customization, we
usually have to weigh other priorities. But thanks, I'll keep that in mind,
and look into it when time permits.

On Wed, Jul 14, 2010 at 3:30 PM, Brendan Meutzner wrote:

>
>
> Have you looked at using a custom IAxisRenderer for the series in which you
> limit the labels which are shown?  You would be able see the labels which
> are to be displayed and show/hide them accordingly.  I believe that you'll
> find the setter for gutters has the labels which are added automatically.
>
>
> Brendan
>
>
>
> On Wed, Jul 14, 2010 at 4:56 PM, Richard Rodseth wrote:
>
>>
>>
>> My stakeholders almost always seem to want something for DateTimeAxis
>> labels that I can't give them out of the box.
>> Example: I have a weeks worth of data in 15-minute increments, and would
>> like the labels at 12AM and 12PM. Or if only one per day, at 12PM rather
>> than 12AM.
>>
>> But if I set labelUnits to hours, I get one label per day at 12AM.
>>
>> Anyone discovered any tricks?
>>
>>
>>
>  
>


Re: [flexcoders] DateTimeAxis labels

2010-07-14 Thread Brendan Meutzner
Have you looked at using a custom IAxisRenderer for the series in which you
limit the labels which are shown?  You would be able see the labels which
are to be displayed and show/hide them accordingly.  I believe that you'll
find the setter for gutters has the labels which are added automatically.


Brendan



On Wed, Jul 14, 2010 at 4:56 PM, Richard Rodseth  wrote:

>
>
> My stakeholders almost always seem to want something for DateTimeAxis
> labels that I can't give them out of the box.
> Example: I have a weeks worth of data in 15-minute increments, and would
> like the labels at 12AM and 12PM. Or if only one per day, at 12PM rather
> than 12AM.
>
> But if I set labelUnits to hours, I get one label per day at 12AM.
>
> Anyone discovered any tricks?
>
>
>  
>


[flexcoders] Re: who know flex builder2 download location??

2010-07-14 Thread sevengeon
i want programming use as2.0 on FlashPlayer 8

but fb3 is not support as2.0 sdk..

so i need fb2.. or any other solutions..

--- In flexcoders@yahoogroups.com, "valdhor"  wrote:
>
> Why?
> 
> --- In flexcoders@yahoogroups.com, "sevengeon"  wrote:
> >
> > i want flex builder2..
> >
>




[flexcoders] Re: who know flex builder2 download location??

2010-07-14 Thread sevengeon
i want programming use action script2.0 on flash player8.0

my flex builder is version 3.. that is can't loading 2.0 sdk...

need help...

--- In flexcoders@yahoogroups.com, "valdhor"  wrote:
>
> Why?
> 
> --- In flexcoders@yahoogroups.com, "sevengeon"  wrote:
> >
> > i want flex builder2..
> >
>




[flexcoders] Re: who know flex builder2 download location??

2010-07-14 Thread Levi


--- In flexcoders@yahoogroups.com, "sevengeon"  wrote:
>
> i want flex builder2..
> 
> but adobe is not provide old version flex builder...
> 
> anyone know where to download flex builder2 ??
> 
> i need any help..
>


http://www.adobe.com/support/flex/downloads_updaters.html



Re: [flexcoders] who know flex builder2 download location??

2010-07-14 Thread kovacs levy
http://www.adobe.com/support/flex/downloads_updaters.html





From: sevengeon 
To: flexcoders@yahoogroups.com
Sent: Wed, July 14, 2010 1:35:34 PM
Subject: [flexcoders] who know flex builder2 download location??

  
i want flex builder2..

but adobe is not provide old version flex builder...

anyone know where to download flex builder2 ??

i need any help..


 


  

[flexcoders] DateTimeAxis labels

2010-07-14 Thread Richard Rodseth
My stakeholders almost always seem to want something for DateTimeAxis labels
that I can't give them out of the box.
Example: I have a weeks worth of data in 15-minute increments, and would
like the labels at 12AM and 12PM. Or if only one per day, at 12PM rather
than 12AM.

But if I set labelUnits to hours, I get one label per day at 12AM.

Anyone discovered any tricks?


Re: [flexcoders] Flex and "Socket policy file"?

2010-07-14 Thread Oleg Sivokon
Security files are served from the socket on the server side. You don't need
to change flex code for that. Well, they are not precisely files, they are
the content of the security file being sent over the socket in response
to .
For more info see this:
http://www.adobe.com/devnet/flashplayer/articles/socket_policy_files.html


[flexcoders] Flex and "Socket policy file"?

2010-07-14 Thread markflex2007
Hi,

I am work with asSQL. and I need to do socket communication from Flex to MySQL. 
I have security problem now.

I need set up Socket policy file, I do not have idea how to do this.

Do I need change Flex code?

Thanks

Mark



[flexcoders] Re: DataGrid decides not to render on some occasions

2010-07-14 Thread atomilux
I broke that one after posting this. This is the stable build I should have 
referenced:

http://iddev.its.txstate.edu/library/dragDropTool/controller.html

- sl



[flexcoders] Re: textInput - Flex 4 vs. Flex 3

2010-07-14 Thread tex_learning_flex
Gordon,

I had the following call in a Flex 3 component which worked exactly as I 
wanted/expected:




When I try this in FlashBuilder 4 I receive 2 errors:

Type 1084: Syntax error: expecting identifier before leftbracket.

Type 1084: Syntax error: expecting rightparen before end of program.


Any feedback will be appreciated.

thanks,

Tex





[flexcoders] Re: Setting width/height not affecting visual display?

2010-07-14 Thread Roy Pardi
At 3:47 PM + 7/14/10, Ariel J wrote:
>my guess is that the 200x100 rect was working properly but the +5 stuff
>wasn't?
>
>I remember dealing with this and saw somewhere that sprites are sized only
>when content is there, so for example, if you just add pixels to the
>height, it won't get bigger, but if you draw a bigger rect, e.g. 200x105,
>it will.
>

In my test there is a child sprite - so I was expecting that to scale when
it's parent h/w changes.

It seems like the lack of scaling issue is due to my nesting of
SpriteVisualElement type containers. I started using SVEs because I
couldn't add  a 'Sprite' instance to any of the Spark containers. So I just
started using them as my base class for a bunch of dynamic stuff I was
doing.

Coming to Flex from Flash this has been one of the most confusing things -
the addChild/addElement differences. I've been through the docs but haven't
seen a clear explanation aside from SVEs "implementing IVisualElement" -
but that's not registering well in my little brain.


 >> public var testSprite:SpriteVisualElement
>>
>> protected function creationCompleteHandler(event:FlexEvent):void
>> {
>>
>>  testSprite = new SpriteVisualElement();
>>
>>  var childSprite:Sprite = new Sprite();
>>  childSprite.graphics.beginFill(0x00, 1);
>>  childSprite.graphics.drawRect(0, 0, 200, 100);
>>  childSprite.graphics.endFill();
>>  childSprite.name = "child";
>>
>>  testSprite.addChild(childSprite);
>>
>>  container.addElement(testSprite);
>>  testSprite.addEventListener(MouseEvent.CLICK, grow);
>> }
>>
>>
>> public function grow(event:MouseEvent):void
>> {
>>  event.target.width += 5;
>>  event.target.height += 5;
>>  trace("grow",  event.target.width);
>> }
>> --
>> -
>> http://www.roypardi.com/
>>
>
>
>
>
>
>
>--
>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
>
>
>
-- 
-
http://www.roypardi.com/





[flexcoders] Re: Setting width/height not affecting visual display?

2010-07-14 Thread Ariel J
my guess is that the 200x100 rect was working properly but the +5 stuff wasn't?

I remember dealing with this and saw somewhere that sprites are sized only when 
content is there, so for example, if you just add pixels to the height, it 
won't get bigger, but if you draw a bigger rect, e.g. 200x105, it will.

--- In flexcoders@yahoogroups.com, Roy Pardi  wrote:
>
> At 3:14 PM +0200 7/13/10, Oleg Sivokon wrote:
> >These properties may be overridden. My gut feeling says there should be
> >something like commitProperties / validate or some similar method to apply
> >all changes to the changed display object.
> >
> 
> Thanks for the reply. Still tinkering here - I changed the type of the
> 'childSprite' var to be an instance of 'Sprite' - and then it works:
> changing the width/height of 'testSprite" (SpriteVisualElement) results in
> a resizing of its child content.
> 
> Guess I am not clear on when to use 'SpriteVisualElement' - I started using
> it in place of 'Sprite' because I could not add a Sprite to any of the
> Spark containers. Much of my app's content is generated through code.
> 
> 
> 
> public var testSprite:SpriteVisualElement
> 
> protected function creationCompleteHandler(event:FlexEvent):void
> {
> 
>   testSprite = new SpriteVisualElement();
> 
>   var childSprite:Sprite = new Sprite();
>   childSprite.graphics.beginFill(0x00, 1);
>   childSprite.graphics.drawRect(0, 0, 200, 100);
>   childSprite.graphics.endFill();
>   childSprite.name = "child";
> 
>   testSprite.addChild(childSprite);
> 
>   container.addElement(testSprite);
>   testSprite.addEventListener(MouseEvent.CLICK, grow);
> }
> 
> 
> public function grow(event:MouseEvent):void
> {
>   event.target.width += 5;
>   event.target.height += 5;
>   trace("grow",  event.target.width);
> }
> -- 
> -
> http://www.roypardi.com/
>




Re: [flexcoders] Re: Compile error when trying to use an extended spark TextInput

2010-07-14 Thread Andriy Panas
Actually, we can create an mxml based TextInput, it works for me.

Post your ActionSscript code at http://github.com/ or http://pastebin.com/ and
we will work it out.

--
Best regards,
Andriy Panas



On 14 July 2010 18:34, bhaq1972  wrote:

>
>
> Thanks Andriy
>
> I just got round to testing it as a ActionScript class and it worked.
>
> I'm very surprised it we cant create an mxml based TextInput component.
>
> but there you go.
>
> thanks
> bod
>
>
> --- In flexcoders@yahoogroups.com , Andriy
> Panas  wrote:
> >
> > I cannot reproduce your issue in a normal case.
> >
> > I can reproduce your issue only in extreme case, e.g.
> >
> > 
> > textValue2
> > 
> >
> >
> > BTW, why extend from TextInput class in MXML?
> >
> > If there are no visual subchildren in your custom component, it's better
> to
> > extend the class in solemn ActionScript.
> >
> > --
> > Best regards,
> > Andriy Panas
> >
> >
> >
> > On 14 July 2010 13:41, bhaq1972  wrote:
> >
> > >
> > >
> > > I have created a very simple MyTextInput
> > >
> > > MyTextInput.mxml
> > > -
> > > 
> > > http://ns.adobe.com/mxml/2009";
> > > xmlns:s="library://ns.adobe.com/flex/spark"
> > > xmlns:mx="library://ns.adobe.com/flex/mx">
> > > 
> > > !-- Place non-visual elements (e.g., services, value objects) here -->
> > > 
> > > 
> > >
> > > When I try using it in a Application I am getting the compile error -
> > >
> > > Multiple initializer values for default property, 'text', of type
> 'String'
> > >
> > > What am I missing?
> > > thanks
> > >
> > > testApp
> > > ---
> > > http://ns.adobe.com/mxml/2009";
> > > xmlns:s="library://ns.adobe.com/flex/spark"
> > > xmlns:mx="library://ns.adobe.com/flex/mx"
> > > xmlns="*">
> > >
> > > 
> > > 
> > >
> > >
> > >
> >
>
>  
>


[flexcoders] Re: Compile error when trying to use an extended spark TextInput

2010-07-14 Thread bhaq1972
Thanks Andriy

I just got round to testing it as a ActionScript class and it worked.

I'm very surprised it we cant create an mxml based TextInput component.

but there you go.

thanks
bod

--- In flexcoders@yahoogroups.com, Andriy Panas  wrote:
>
> I cannot reproduce your issue in a normal case.
> 
> I can reproduce your issue only in extreme case, e.g.
> 
> 
> textValue2
> 
> 
> 
> BTW, why extend from TextInput class in MXML?
> 
> If there are no visual subchildren in your custom component, it's better to
> extend the class in solemn ActionScript.
> 
> --
> Best regards,
> Andriy Panas
> 
> 
> 
> On 14 July 2010 13:41, bhaq1972  wrote:
> 
> >
> >
> > I have created a very simple MyTextInput
> >
> > MyTextInput.mxml
> > -
> > 
> > http://ns.adobe.com/mxml/2009";
> > xmlns:s="library://ns.adobe.com/flex/spark"
> > xmlns:mx="library://ns.adobe.com/flex/mx">
> > 
> > !-- Place non-visual elements (e.g., services, value objects) here -->
> > 
> > 
> >
> > When I try using it in a Application I am getting the compile error -
> >
> > Multiple initializer values for default property, 'text', of type 'String'
> >
> > What am I missing?
> > thanks
> >
> > testApp
> > ---
> > http://ns.adobe.com/mxml/2009";
> > xmlns:s="library://ns.adobe.com/flex/spark"
> > xmlns:mx="library://ns.adobe.com/flex/mx"
> > xmlns="*">
> >
> > 
> > 
> >
> >  
> >
>




Re: [flexcoders] Sign in using flex Mr flash

2010-07-14 Thread Jeffry Houser


 Is it possible?  Yes!
 Is it advisable?  It depends what type of application you're trying to 
build.  I would not use a Flex sign in / login form for a primarily HTML 
Web site.  For a Flex, or AIR, application then yes, go ahead and create 
a Flex sign in / login form.


On 7/13/2010 8:51 PM, yanlilei64 wrote:


Is it advisable to create a sign in/login in flex?





--
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711  | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust



[flexcoders] Re: who know flex builder2 download location??

2010-07-14 Thread valdhor
Why?

--- In flexcoders@yahoogroups.com, "sevengeon"  wrote:
>
> i want flex builder2..
> 





Re: [flexcoders] Security with HTML from External Site

2010-07-14 Thread Oleg Sivokon
Hm... this is a good point... however, I think that you can secure yourself
by parsing  tags in that text and see if they don't dispatch any events
that your SWF may be listening to. But, the worst thing that can happen is
that the anchor in the text will call some handler inside your application
(that is execute your own code, not the foreign code), which shouldn't be
really dangerous, but, that's for you to tell :)


Re: [flexcoders] Loaded SWF loses nested child instance name

2010-07-14 Thread Oleg Sivokon
Well, that wasn't a good idea from the start, as instance name isn't a
reliable identification (you can assign two identical names to different
instances and that will compile, while the second instance will not
be available). What I usually do in such case is: I prepare the class with
the fields it should have, give it to designer and explain hot to link their
library items to that class, and then when I compile, I use my own version
of that class with the functionality added, this way we (me and designer)
can work on the same class and I don't have problems using it in my project.
Ah, important to note, this approach requires that the designer turn off the
"automatically declare stage instances" in publish settings.


[flexcoders] Re: Sign in using flex Mr flash

2010-07-14 Thread valdhor
My personal opinion is that it is not necessary but it depends on the 
application.

In my case I use PHP as the back end and set up a session variable. I then 
create a timer that fires every 30 minutes to check this session variable and 
send the user to the corporate login page if it has expired.

--- In flexcoders@yahoogroups.com, "yanlilei64"  wrote:
>
> Is it advisable to create a sign in/login in flex?
>




[flexcoders] Re: Compile error when trying to use an extended spark TextInput

2010-07-14 Thread bhaq1972
fyi. 
I'm using FlashBuilder (with Flex 4.1 upgrade). This was a very basic test just 
to highlight the problem.


My actual extended TextInput has alot more code (it also has a child button 
which i use to open up a number of popup components) 

I'll try out your Actionscript component suggestion. 
Thanks 
(btw this component is in  mxml because thats how I did it back in Flex 1)



--- In flexcoders@yahoogroups.com, Andriy Panas  wrote:
>
> I cannot reproduce your issue in a normal case.
> 
> I can reproduce your issue only in extreme case, e.g.
> 
> 
> textValue2
> 
> 
> 
> BTW, why extend from TextInput class in MXML?
> 
> If there are no visual subchildren in your custom component, it's better to
> extend the class in solemn ActionScript.
> 
> --
> Best regards,
> Andriy Panas
> 
> 
> 
> On 14 July 2010 13:41, bhaq1972  wrote:
> 
> >
> >
> > I have created a very simple MyTextInput
> >
> > MyTextInput.mxml
> > -
> > 
> > http://ns.adobe.com/mxml/2009";
> > xmlns:s="library://ns.adobe.com/flex/spark"
> > xmlns:mx="library://ns.adobe.com/flex/mx">
> > 
> > !-- Place non-visual elements (e.g., services, value objects) here -->
> > 
> > 
> >
> > When I try using it in a Application I am getting the compile error -
> >
> > Multiple initializer values for default property, 'text', of type 'String'
> >
> > What am I missing?
> > thanks
> >
> > testApp
> > ---
> > http://ns.adobe.com/mxml/2009";
> > xmlns:s="library://ns.adobe.com/flex/spark"
> > xmlns:mx="library://ns.adobe.com/flex/mx"
> > xmlns="*">
> >
> > 
> > 
> >
> >  
> >
>




[flexcoders] Re: Flash Debugger crashing in Firefox?

2010-07-14 Thread valdhor
I'll give this a go and see what happens.

--- In flexcoders@yahoogroups.com, Robert VanCuren Jr  
wrote:
>
> http://www.riaxe.com/blog/flex/flex-firefox-flash-debug-player-crash-solved/
> 
> On Tue, Jul 13, 2010 at 3:40 PM, kris range  wrote:
> 
> >
> >
> > Something like this happens to me on Safari OS X. If an flash
> > application is loading or doing something and I go to another page,
> > I'll usually get an IOErrorEvent error with the error dialog popping
> > up, then it disappears and I can't click on anything in the browser
> > (Flash or not). Very annoying. I hope they fix this soon as this
> > didn't happen for me before 10.1
> >
> >
> > On Tue, Jul 13, 2010 at 7:12 PM, valdhor 
> > >
> > wrote:
> > > Yes. I am getting this a lot and not just my own code. The crash report
> > happens on pretty much any site that has flash content. I don't know if this
> > is a problem with the Flash debugger or Firefox but it did not happen before
> > the latest update to Firefox.
> > >
> > > --- In flexcoders@yahoogroups.com , Rick
> > Schmitty  wrote:
> > >>
> > >> Is anybody having an issue with Flash 10 debugger and Firefox's new
> > >> anti crash feature?  Whenever I get a debug popup from flash Firefox
> > >> thinks Flash crashed and locks up completely until the lil frowny lego
> > >> with text that says "The Adobe Flash plugin has crashed.  Send crash
> > >> report"
> > >>
> > >> The debugger works fine in IE or if no debug popups in FF it works fine
> > >>
> > >> Anyone else run into 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
> > >
> > >
> > >
> > >
> >
> >  
> >
>




[flexcoders] who know flex builder2 download location??

2010-07-14 Thread sevengeon
i want flex builder2..

but adobe is not provide old version flex builder...

anyone know where to download flex builder2 ??

i need any help..



[flexcoders] Security with HTML from External Site

2010-07-14 Thread sapejordan
I am building an application that pulls HTML content from an external site (RSS 
feed) and placing that content into my Flex application.  The content of this 
HTML is controlled by another developer at another company.
 
After pulling back the HTML I am setting it as the htmlText attribute for an 
 box.
 
Is this safe?  Since I don't control the source HTML content I'm concerned 
about the content having cross-site scripting attacks in it.  Links or things 
that execute arbitrary javascript onclick.  Is there any way to ensure that the 
HTML coming back can't be used to execute any JavaScript or ActionScript?
 
Thanks,
..Jordan
 
 
--
Jordan | Yodlee Product Management
Launch your Flex-based financial app in the Yodlee FinApp Store - 
http://www.finappstore.com



[flexcoders] Loaded SWF loses nested child instance name

2010-07-14 Thread Clark Stevenson
Bit of a horrible title.

In Flash i have this as a SWF:

root
-item
--overlay
--color

Where root holds MovieClip with instance name "item" and item holds
moviclips with instance names "color" and "overlay".

Loading this SWF is then converted into a MovieClip

var loadedSWF:MovieClip = //the loaded swf


For some reason, i cannot access overlay and color by instance name
but i can access item.


var item:MovieClip = MovieClip(loadedSWF.item)
// result [MovieClip]


But thats as far as i can reference any other item.

var overlay:MovieClip = MovieClip(loadedSWF.item.overlay)
//result "undefined" or null

var color:MovieClip = MovieClip(loadedSWF.item.color);
//result "undefined" or null



However

item.numChildren()
//returns 2 which is correct (overlay and color)

item.getChildByIndex(1);
//returns color



Because of the nature of this project, i really need to have access to
instance names as opposed to depths. Depths is going to get
complicated and cause mistakes between me and the designer.

Does anyone know why i cannot access the children of item? Yet i can
access the child of loadedSWF.


Thank you.


Re: [flexcoders] Compile error when trying to use an extended spark TextInput

2010-07-14 Thread Andriy Panas
I cannot reproduce your issue in a normal case.

I can reproduce your issue only in extreme case, e.g.


textValue2



BTW, why extend from TextInput class in MXML?

If there are no visual subchildren in your custom component, it's better to
extend the class in solemn ActionScript.

--
Best regards,
Andriy Panas



On 14 July 2010 13:41, bhaq1972  wrote:

>
>
> I have created a very simple MyTextInput
>
> MyTextInput.mxml
> -
> 
> http://ns.adobe.com/mxml/2009";
> xmlns:s="library://ns.adobe.com/flex/spark"
> xmlns:mx="library://ns.adobe.com/flex/mx">
> 
> !-- Place non-visual elements (e.g., services, value objects) here -->
> 
> 
>
> When I try using it in a Application I am getting the compile error -
>
> Multiple initializer values for default property, 'text', of type 'String'
>
> What am I missing?
> thanks
>
> testApp
> ---
> http://ns.adobe.com/mxml/2009";
> xmlns:s="library://ns.adobe.com/flex/spark"
> xmlns:mx="library://ns.adobe.com/flex/mx"
> xmlns="*">
>
> 
> 
>
>  
>


[flexcoders] Compile error when trying to use an extended spark TextInput

2010-07-14 Thread bhaq1972
I have created a very simple MyTextInput

MyTextInput.mxml
-

http://ns.adobe.com/mxml/2009"; 
  xmlns:s="library://ns.adobe.com/flex/spark" 
  xmlns:mx="library://ns.adobe.com/flex/mx">
  
!-- Place non-visual elements (e.g., services, value objects) here -->
  


When I try using it in a Application I am getting the compile error  -

Multiple initializer values for default property, 'text', of type 'String'

What am I missing?
thanks

testApp
---
http://ns.adobe.com/mxml/2009"; 
xmlns:s="library://ns.adobe.com/flex/spark" 
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns="*">

  





[flexcoders] Re: How to remove the DateField textInput border?

2010-07-14 Thread bhaq1972
no probs. my answer was based on flex 4 (i havent been using flex 3 for a long 
time)
cheers

--- In flexcoders@yahoogroups.com, Andriy Panas  wrote:
>
>There is no "borderVisible" style for DateField, it exists only for
> DateChooser, only in Flex 4 SDK and only in default "skin theme" Spark.
> 
> --
> Best regards,
> Andriy Panas
> 
> 
> 
> >  or
> > borderVisible : false;
> >
> >
> >
>




Re: [flexcoders] Re: The lifespan of flex.

2010-07-14 Thread Wesley Acheson
Thanks for your responses everyone. I was able to put this issue to sleep so
to speak. I did quote the standardisation of flash as a strong point plus a
few other points.



On Mon, Jul 12, 2010 at 4:26 PM, Netaman  wrote:

>
> The question you have to ask is how long will HTML5 be supported before
> HTML6-8 takes over the browser, also it looks like not all implementations
> of HTML are the same, so more browser supported third party javascript
> addons to handle the multitude of html5 workarounds...
>
> Flex is a fun language to code in and when it life is over it will create a
> vacuum for the next best application development environment, but by that
> time hopefully there will be direct connects to the brain for application
> development and some of the best development done while we sleep.
>
> IMHO
>
> Randy
> --- In flexcoders@yahoogroups.com, Wesley Acheson 
> wrote:
> >
> > Hi,
> >
> > One of our clients is expressing concerns over the over all lifespan of
> > flex.
> >
> > Some of his specific worries are to do with the way flash isn't allowed
> on
> > certain apple mobile devices and the initial implementations of HTML5
> which
> > is obviously backed by the W3C.  Their concern is that flex won't be a
> > supported product 5 years down the line and/or the changes in browser
> > technology by that point will render flash obsolete.
> >
> > Have any studies been done about the long term feasibility of flex?  Are
> > Adobe commited to a long term existence of the product? Is there any
> public
> > evidence of large firms using it successfully?
> >
> > Regards,
> >
> > Wesley Acheson
> >
>
>
>
>
> 
>
> --
> 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
>
>
>
>