[flexcoders] FIXED: ColumnChart not showing, no with on data columns, legend and axis show

2008-07-16 Thread supertodda
For community reference...

If you ever run into a case where you have a set width on a
columnChart and for some reason the stacked bars do not show up, even
though the axis shows and the legend show, then check out the width of
the string supplying the CategoryAxis categoryField property (label on
the stacked bar axis).  I found that if the label is too long for the
chart space, then everything disappears (and it looks like the chart
is squashed up on the right side).  Once I trim the string to a
maximum size, then the bars return.



[flexcoders] Re: Flex Builder 3 - RemoteObject connection failure

2008-04-22 Thread supertodda
I've Fixed the problem!

Thanks to those who have contributed solutions.  To answer your
question, I was using the latest 1.9 beta version of AMFPHP with the
PHP  class for performance.  This was not the problem...

The fix was to move all the code onto a Apache 2.2 server.  Originally
was was running the code on an apache 1.x instance for backwards
compatibility, legacy, PHP thread issue reasons.  When I served the
same code over Apache 2.2 the problem was resolved (and the
performance was a little better - Bonus!)  I think that the new apache
handles SSL a bit better/faster.  Also, just to note, I'm running on
Windows 2003, which has been a great platform for us.

I've tested it throughly, I've even dumbed my net connection down to
53Kbs using NetLimiter and everything runs fine, so the slow
connection is not a factor.

Please let me know if you need me to elaborate the fix anymore, but if
anybody out there is having connection issues, then this may be the
solution.

Thanks again.

-Todd


--- In flexcoders@yahoogroups.com, "supertodda" <[EMAIL PROTECTED]> wrote:
>
> Anybody out there experiencing this issue in flex 3 with AMFPHP?
>




[flexcoders] Re: Flex Builder 3 - RemoteObject connection failure

2008-04-21 Thread supertodda
I tried the timeout, but it did not have any effect.

So, I'm trying to figure out if it's a problem with one of the following:

1) flash player
2) AMFPHP working with Flex 3
3) Cairngorm on Flex 3
4) Flex 3 SDK
5) Some browser related issue

Like I say, it works with Flex 2 sdk, so I'm at a loss...  I think
it's even stranger that nobody else has ever had this problem.

Any other ideas?  Is there any way to force a
disconnection/reconnection after a freeze?

Thanks,
-Todd


--- In flexcoders@yahoogroups.com, "valdhor" <[EMAIL PROTECTED]> wrote:
>
> Actually no.
> 
> I do a lot of AMFPHP RemoteObject calls in my application and have
> never had this problem.
> 
> There are two things you mention in your post that are different here...
> 
> 1.  My application is only used on an intranet so all connections are
> fast.
> 
> 2.  I am not using Cairngorm at the moment.
> 
> Whether one of these is the root cause I cannot say.
> 
> One thing you may like to do is set a timeout value. When the call
> times out, in your fault handler try to disconnect the connection and
> then retry (Or alert the user).
> 
>  fault="faultHandler(event)" showBusyCursor="false" requestTimeout="10">
> 
> private function faultHandler(fault:FaultEvent):void
> {
> switch(fault.fault.faultCode.toString())
> {
> case "Client.Error.RequestTimeout":
> blah.disconnect();
> Alert.show("The server is not responding. Please check
> that you are connected and the server is running.", "Server Timeout");
> break;
>     default:
> Alert.show(fault.fault.faultString,
> fault.fault.faultCode.toString());
> break;
>  }
> }
> 
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "supertodda"  wrote:
> >
> > Anybody out there experiencing this issue in flex 3 with AMFPHP?
> >
>




[flexcoders] Re: Flex Builder 3 - RemoteObject connection failure

2008-04-17 Thread supertodda
Anybody out there experiencing this issue in flex 3 with AMFPHP?



[flexcoders] Flex Builder 3 - RemoteObject connection failure

2008-04-14 Thread supertodda
Hello,

I'm having the following issue with Flex Builder 3...

When I try to connect using a RemoteObject it will work 85% of the
time, but sometimes it will hang and die without returning a fault. 
Here's what I figured out so far:

1) the problem did not happen with the same code when compiled against
Flex 2 SDK.

2) it seems to happen more often in Firefox vs. Internet Explorer

3) it seems to happen more often on slower connections

4) I'm using the most current flash player and Flex 3 SDK

5) I'm suing the most current beta version of AMFPHP to connect to on
the back end.

6) There does not seems to be any setting I can set in the
services-config.xml (and related) files that will affect the problem
(tried various timeouts, etc).

7) when I run the logger, the last message I get before it dies is
something like "...mx.messaging.Channel 'null' pinging endpoint".  I
get this message when it goes though correctly, however it quickly
continues on.

8) As far as I can tell, it does not ever make it back to the server
(I could be wrong on this, but I see no messages in the AMFPHP debug
directories)

9) When it freezes, I cannot re-send the message or initiate another
connection.

10) We are using the latest version of Cairngorm to send the messages
via the delegates.

So, I'm not sure where exactly the problem is.  I don't think it's my
server setup, since it works fine compiled against flex 2 sdk.  Could
be something with the flash player, or firefox, or Cairngorm in flex 3??

Has anybody experienced this issue, and if so, can you either shed
more light on the problem, or let me know how to solve it.

Any thoughts?

Thanks,
-Todd



[flexcoders] Flex 3 Beta 2 - Deprecated Grid Class Help

2007-10-03 Thread supertodda
Hello,

I just installed flex 3 beta 2 and I pulled in some current flex 2
projects to judge the compatibility.

Of all our projects, the ONLY issue was that fact that the Grid class
is now deprecated in favor of constraintRows, etc.  I watched the
movie found here:
http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions#Enhanced_Constraints_.28Updated_for_Beta_2.29

and I understand how neat the new constraint layout is, but it's not
cool enough to break all my code.  I don't understand why we can't
have both.

Could somebody at Adobe tell me how to layout a basic table with
visible borders and cell padding dynamically, in AS code and not the
WYSIWYG stuff using the constraint layout?

Please reconsider axing the Grid classes.  Sometimes it's nice to do
things the easy way ;)

Thanks.




[flexcoders] Re: nulling primitive data types

2007-09-21 Thread supertodda
Sorry to double post, but below is the word from the ES4 guys.  Looks
like nullable primitive types are in the new spec.  Hopefully Adobe
will follow suit:
---
> Just for clairification...  These wrapper classes will be available in 
> the NEXT version of es4?

There is only one version of ES4 (after that it will be ES5...)
ActionScript 3 serves as a basis for ES4 but ES4 is not quite
compatible with AS3.

The ES4 design docs on the wiki do not always explain the current
state of the language; we're not updating them any more.

(Tentatively the ES4 spec will be complete next year.)

--lars

> -Original Message-
> Subject: Re: Proposal: nullable wrapper class for primitive data types 
> (int, Number, Boolean)
>
> Those pages are probably somewhat out of date.
>
> At present we have Boolean, Number, and String which are nullable 
> wrapper classes for boolean, double, and string, respectively.  Is 
> there a particular reason you would need specific wrappers for int and 
> could not make do with Number?
>
> If the recordset "will return a null value for an int typed column"
> then arguably the type of the column is (int,null), not int.  The 
> former is expressible in ECMAScript 4 either like that or as "int?".
> Will that not do?
>
> --lars






[flexcoders] Re: nulling primitive data types

2007-09-21 Thread supertodda
Gordon,

Thank you for your reply - your comments have been most helpful.  I
looked into this and there is an Es4 Wiki entry on this:

http://wiki.ecmascript.org/doku.php?id=proposals:nullability

There is also an Es4 discussion list, of which I've posted this issue
and the proposal for wrapper classes:

https://mail.mozilla.org/listinfo/es4-discuss

So, the discussion will continue there if anybody is interested.



--- In flexcoders@yahoogroups.com, "Gordon Smith" <[EMAIL PROTECTED]> wrote:
>
> > Is there any way for us developers to influence this decision making
> process?
>  
> Yes. Check out the Community section of http://www.ecmascript.org/
>  
> > What is the current position this committee holds?
>  
> I'm not sure what you mean by this. I believe the committee is an
> official committee of Ecma International
> (http://www.ecma-international.org/ 
> ), "an industry association founded in 1961, dedicated to the
> standardization of information and communication systems." I don't know
> how the committee members are selected, or how the committee's
> recommendations get officially ratified by Ecma.
> 
> > What do other languages do? 
>  
> Before I started programming in ActionScript, my background was in C++.
> Types like int, float, double, and bool aren't nullable in C++. I'm not
> a Java programmer, but I think Java has a primitive types like int which
> aren't nullable and wrapper classes like Int (i.e., new Int(3)) which
> are. I don't know how these interconvert, but I'm sure some Java
> programmer on this list can tell us. I don't know what C# does.
> 
> > Is it possible to make a Non-primitive extension type of a nullable
> int, Number, Boolean in future releases (thus remaining true to the
> current way of doing things, but still leaving some room for
> developers)?
>  
> I think this is what Java does, and ECMAScript could presumably do
> something similar. Check out the committee's wiki to see whether they've
> thought about this.
>  
> - Gordon
> 



[flexcoders] Re: nulling primitive data types

2007-09-20 Thread supertodda
- Is there any way for us developers to influence this decision making
process?
- What is the current position this committee holds?
- What do other languages do? 
- Is it possible to make a Non-primitive extension type of a nullable
int, Number, Boolean in future releases (thus remaining true to the
current way of doing things, but still leaving some room for developers)?

We use some VOs in Caringorm to handle some sql result sets when we
found out that an int column with the value of null came back as 0 in
flex. This puts us in the position to either make all VO variables of
type String (problems because 1- the int/Boolean is not a string and
2- hard to work with strings as int/Boolean) or scrap VOs all together
in favor of using regular objects (error prone, not typed, no auto
complete in flex builder, etc.).  As far as I know, the idea of "not
yet determined" and 0 are not equal.

Reminds me of Schrodinger's Cat.  Some part of me cares what is
"right", but mostly I just want it to work without hacking both flex
and server ends.

Thanks.


--- In flexcoders@yahoogroups.com, "Gordon Smith" <[EMAIL PROTECTED]> wrote:
>
> BTW... Adobe is on this committee along with other companies. Our plan
> is to adopt what they decide, but to influence the decision process. If
> they go for nullable types, you'll get nullable types. If they don't,
> you won't. We're taking language compliance seriously.
>  
> - Gordon
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Gordon Smith
> Sent: Wednesday, September 19, 2007 1:22 PM
> To: flexcoders@yahoogroups.com
> Subject: RE: [flexcoders] nulling primitive data types
> 
> 
> 
> I believe the committee defining the next version of Ecmascript is
> considering support for nullable and non-nullable types.
>  
> - Gordon
> 





[flexcoders] sqlite in Flex too?

2007-06-04 Thread supertodda
Hello,

In light of the recent news regarding SQLite in Apollo, are there any
plans to make it available in standard Flex as well?  This would be
killer for doing some complex filtering, etc on data.

Thanks,
-Todd



[flexcoders] Re: ListBase ScrollVertically error #1010

2007-05-02 Thread supertodda
--- In flexcoders@yahoogroups.com, "confined_to_death666"
<[EMAIL PROTECTED]> wrote:
>
> I don't have the error anymore. I'm now using a vbox with a repeater
> and my custom item renderer instead. With some tweaking
> (recyclechildren, etc) it works just as good as the list component but
> it doesn't give me the error. Thnx everyone who replied on my problem
> before.
>


Hello,

I had this problem too with my datagrid, it was solved by looping
though the columns array and setting the headerWordWrap to true and
setting a HeaderHeight on the datagrid.  Note that you need to modify
the columns array, then re assign it to the datagrid before use.

answer found in message #66959



[flexcoders] Request: Example of Custom itemRenderer for Plot Chart

2007-04-30 Thread supertodda
Hello,

Is there anybody out there that can give me an example of a custom
itemRenderer .as class for a Plot Chart?  I've looked and cannot find
anyting that fits the bill.  Simple is good, one that just draws a
circle and adds a tool tip would be appreciated.

Thank you.



[flexcoders] Flex Security Best Practices

2007-04-03 Thread supertodda
Hello,

Are there any high level flex developers out there who have a response
to this article on Ajax security with regards to flex?

AJAX Apps Ripe Targets for JavaScript Hijacking
http://www.eweek.com/article2/0,1895,2110554,00.asp

Is Flex vulnerable to such types of attacks? Is there a Flex Security
consortium, similar to the PHP security consortium that gives best
practices regarding secure code and data requests?

Thanks.



[flexcoders] Re: Flex 2 SWFLoader disable browser cache

2006-09-26 Thread supertodda
Looks like this did the trick! Thank You.


--- In flexcoders@yahoogroups.com, "Ralf Bokelberg"
<[EMAIL PROTECTED]> wrote:
>
> You could add a parameter to the url. For example, if you want to
> completely stop cacheing, you can add the current time to the url.
> 
> url = "test.swf?nocache=" + ( new Date().getTime() );
> 
> Cheers,
> Ralf.
> 
> On 9/13/06, supertodda <[EMAIL PROTECTED]> wrote:
> > I have a flex 2 app that calls some swf files using the SWFLoader
> > component.  I've noticed that although I have the following headers in
> > the web page that calls the parent movie, the child swfloader movies
> > are being cached in IE.  Is there any way around this?  I've noticed
> > some cache control stuff for swfloader, but they seem to be for
bitmaps.
> >
> > Thanks.
> >
> > header('Cache-control: no-cache, no-store, must-revalidate,
max-age=-1');
> > header('Pragma: no-cache, no-store');
> > header( "Expires: Mon, 26 Jul 1997 05:00:00 GMT" );  // disable IE
caching
> > header( "Last-Modified: " . gmdate( "D, d M Y H:i:s" ) . " GMT" );
> >
> >
> >
> >
> >
> > --
> > 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
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> 
> 
> -- 
> Ralf Bokelberg <[EMAIL PROTECTED]>
> Flex & Flash Consultant based in Cologne/Germany
>







--
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/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Fire Event On All Child Containers

2006-09-23 Thread supertodda
There is probably an easier way to do this, but I could not find a way
to fire an event that bubbles down stream from a DisplayObject, i.e.
fire an event on all child objects, not parent objects, so I wrote
this function and it seems to work.  Again please tell me if there is
a more correct way to do this...

public function
fireChildEventMatch(currentTarget:DisplayObject,eventName:String):void {
var currentTargetUI:DisplayObjectContainer = currentTarget as
DisplayObjectContainer;
if(currentTargetUI != null) {
if(currentTargetUI.hasEventListener(eventName) == true) {
currentTarget.dispatchEvent(new Event(eventName));
// Alert.show("found event match: "+currentTarget.name);
}

for(var i:int=0; i < currentTargetUI.numChildren; i++) {
var currentChild:DisplayObject = 
currentTargetUI.getChildAt(i);
fireChildEventMatch(currentChild,eventName);
}
}
}

The function is called like this:

fireChildEventMatch(this,"myEvent");

in place of "this" you can put parent, ParentAppliation.bla, or some
other id, etc.






--
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/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Flex 2 SWFLoader disable browser cache

2006-09-13 Thread supertodda
I have a flex 2 app that calls some swf files using the SWFLoader
component.  I've noticed that although I have the following headers in
the web page that calls the parent movie, the child swfloader movies
are being cached in IE.  Is there any way around this?  I've noticed
some cache control stuff for swfloader, but they seem to be for bitmaps.

Thanks.

header('Cache-control: no-cache, no-store, must-revalidate, max-age=-1');
header('Pragma: no-cache, no-store');
header( "Expires: Mon, 26 Jul 1997 05:00:00 GMT" );  // disable IE caching
header( "Last-Modified: " . gmdate( "D, d M Y H:i:s" ) . " GMT" ); 





--
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/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Solution - Selecting ViewStack Container from a MenuEvent dynamically

2006-07-10 Thread supertodda
Hello,

This is an example of how to select a ViewStack child continer from a
menuEvent.  This function is called in the itemClick event of the
MenuBar and the MenuBar is populated with a dataProvider such as this:

[Bindable]
public var header_menu_array1:Array = [{label: "MenuItem A", children: [
{label: "SubMenuItem A-1", enabled: true, click: "sm_main"},
{label: "", type: "separator"},
{label: "SubMenuItem A-2", type: "normal", click: "sm_man2"} 
]}
];


Note that the "click" attribute is used in the function below
(event.item.click) to designate the id of the container under the
ViewStack you wish to switch to.  In the below function you pass in
the viewstack as well (theVS).  Type casting the getChildAt(i) as
Container was the key making this work and can be used for many other
things.  Enjoy!


// function to switch the view stack when a menu selection is selected
private function skinMenuHandler(event:MenuEvent,theVS:ViewStack):void {
if(event.item.click != null) {
var theSelectedItem:String = event.item.click;

for(var i:int; i < theVS.getChildren().length; i++) {
// trace(childrenVBox.getChildAt(i).id);
var currentChildComponent:Container = 
theVS.getChildAt(i) as Container;
if(currentChildComponent.id == theSelectedItem) {

theViewStack.selectedChild=currentChildComponent;
}
}
}
}









--
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] Flex Builder 2 - MenuBar icon not showing

2006-07-10 Thread supertodda
Hello,

I'm trying to add an icon to the top level of the menuBar component,
but no matter what I try I cannot get it to display.  The icon will
display with other component types, such as a List, but not the
menubar.  The idea is that I'm trying to emulate a separator at the
top level (which also does not display).  Any ideas?

Thanks.

Here is the code:


http://www.adobe.com/2006/mxml";
layout="absolute">












 Yahoo! Groups Sponsor ~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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 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] Solved - " Security error accessing url " Error

2006-07-05 Thread supertodda
Hello,

If you receive an error such as the one below when you upload your
code to the server, one possible reason may be that you are accessing
your flex app via http and the web service may be running on https
(SSL).  You can solve this by running your main code on https as well.
 Another clue could be found with the crossdomin.xml file, which I'm
not sure is still relevant with flex builder 2 (somebody more
knowledgeable can maybe contribute).  Details on this can be found here:

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14213

Error:

[RPC Fault faultString="Security error accessing url"
faultCode="Channel.Security.Error" faultDetail="Unable to load WSDL.
If currently online, please verify the URI and/or format of the WSDL
(https://[YOUR WSDL URL HERE].wsdl)"]
at mx.rpc.soap::WSDLParser/::dispatchFault()
at
mx.rpc.soap::WSDLParser/http://www.adobe.com/2006/flex/mx/internal::httpFaultHandler()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
at
mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::faultHandler()
at mx.rpc::Responder/fault()
at mx.rpc::AsyncRequest/fault()
at ::DirectHTTPMessageResponder/securityErrorHandler()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/flash.net:URLLoader::redirectEvent()






 Yahoo! Groups Sponsor ~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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 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] Update on any WYSIWYG Text Editor projects for Flex Builder 2

2006-06-28 Thread supertodda
Hello,

Does anybody out there have any updates on a good WYSIWYG text editor
for Flex Builder 2?  I know there were a few ActionScript 3 projects
started, but there have not been any updates recently.  We are looking
for something with spell checking and a few more advanced features
than the one supplied.  Seems like this is one feature the current
release of Flex Builder 2 lacks.

Thanks.





 Yahoo! Groups Sponsor ~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/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 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] Flex 2 Beta 3 - MenuBar rollover text color not changing

2006-06-14 Thread supertodda
Hello,

I've searched everywhere and no matter what I do, CSS or setStyle, I 
cannot change the color of the text on the top level of the menu bar 
when rolled over (the text that actually appears on the menu bar). 
Everything else works fine except for the textRollOverColor on the 
menu bar.  If anybody has any ideas on this, or if you need more 
information, please let me know.

Also note, I can change the rollover text on the sub menus by calling 
the setMenuColors() function below, however it only applies to the sub 
menus.

Thanks.

MenuBar CSS:

.myMenuBar {
color: white;
font-weight: bold;
text-decoration: underline;
background-color: #ECECD4;
selectionColor: #ECECD4;
rollOverColor: #ECECD4;
textRollOverColor: black;
textSelectedColor: black;
separatorColor: #FF;
separatorWidth: 1;
themeColor: #ECECD4;
 }

Sub Menu Function:

private function setMenuColors(mb:MenuBar):void {
for (var i:int = 0; i < dp1.length; i++) {
mb.getMenuAt(i).setStyle('color', 'black');
mb.getMenuAt(i).setStyle('rollOverColor', '#2433AA');
mb.getMenuAt(i).setStyle('selectionColor', '#2433AA');
mb.getMenuAt(i).setStyle
('textRollOverColor', '#FF');
}
}







 Yahoo! Groups Sponsor ~--> 
Get to your groups with one click. Know instantly when new email arrives
http://us.click.yahoo.com/.7bhrC/MGxNAA/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 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: TextEvent.LINK not calling function

2006-05-11 Thread supertodda



That did the trick!  Thank you.  My intension was to not confuse 
users by being able to select the text.  I will log it as a bug.

All the Best,
-Todd

--- In flexcoders@yahoogroups.com, "Anant Gilra" <[EMAIL PROTECTED]> 
wrote:
>
> You seem to have selectable set to false. If you leave it as its 
default i.e.
> true, the LINK event will be dispathced.
> I don't think selectable=true should be a requiredment for this. 
Could you
> log a bug for htis please.
> 
> Thanks,
> Anant.
>











--
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.