RE: [flexcoders] trying to control space above label

2009-09-22 Thread Tracy Spratt
VBox has a verticalGap property.  Set it to 0. also you can set the padding
on the label to 0.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of mitchgrrt
Sent: Monday, September 21, 2009 12:08 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] trying to control space above label

 

  

It seems like when I put some labels in my app, there is always 5 pixels
padding above them:

mx:VBox
mx:Box borderColor=red borderStyle=solid
   mx:Label text=System styleName=systemDescriptionText
paddingTop=0/
/mx:Box
mx:Box borderColor=red borderStyle=solid
   mx:Label text=System 24 styleName=systemDescriptionText
height=24 /
/mx:Box
mx:Box borderColor=red borderStyle=solid
   mx:Label text=System 16 styleName=systemDescriptionText
height=16 /
/mx:Box
/mx:VBox

.systemDescriptionText {
fontFamily: Lucida Sans Unicode;
fontSize:12pt;
color:#CC;
}

Each one of the labels above has 5 pixels of space above it, between the
label and the red border line.  Is there a way to control this?  Thanks.





RE: [flexcoders] Can a variable set in one component be called in another component?

2009-09-22 Thread Tracy Spratt
You can pass references to one component into another.  You can use a
central model accessible by both components.  You can use events.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of spuy...@ymail.com
Sent: Monday, September 21, 2009 10:33 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Can a variable set in one component be called in
another component?

 

  

Can a variable set in one component be called in another component without
having to go back to the application file? I just want to set a variable in
one component, and then access that variable in another component. 





[flexcoders] Re: trying to control space above label

2009-09-22 Thread mitchgrrt
Thanks, but the result is the same even if we put 0 gaps and padding everywhere:

mx:VBox verticalGap=0
mx:Box borderColor=red borderStyle=solid paddingBottom=0 
paddingTop=0
   mx:Label text=System styleName=systemDescriptionText 
paddingBottom=0 paddingTop=0/
/mx:Box
mx:Box borderColor=red borderStyle=solid paddingBottom=0 
paddingTop=0
   mx:Label text=System 24 styleName=systemDescriptionText 
height=24  paddingBottom=0 paddingTop=0/
/mx:Box
mx:Box borderColor=red borderStyle=solid paddingBottom=0 
paddingTop=0
   mx:Label text=System 16 styleName=systemDescriptionText 
height=16  paddingBottom=0 paddingTop=0/
/mx:Box
/mx:VBox


--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote:

 VBox has a verticalGap property.  Set it to 0. also you can set the padding
 on the label to 0.
 
  
 
 Tracy Spratt,
 
 Lariat Services, development services available




[flexcoders] X-Post: UI - List item matching with lines -- how to do it?

2009-09-22 Thread pauli159000
[This is where I should have posted in the first place -- but hey!  I got to 
post the diagram I drew. ... http://forums.adobe.com/thread/495411 ...]

I'm a new flex developer.  I want to create a UI roughly like the included 
image.  As stated on the image, the purpose is to allow users to visually 
define a many-to-many data relationship.  The point of the exercise is to 
maintain the rows in the intermediate table that contain the relationship 
information.  Neither the lists nor the list items will be updated in the 
database.

I've searched and haven't located any existing components that would appear to 
support this interaction.  There's a good chance I'm not using the right search 
terms.  Know any existing components that would make this straightforward to 
do?  Maybe some part of a game or quiz engine?

Any suggestions for the newbie, on how to implement this?

Thanks so much for any help you can provide!




[flexcoders] AS3 URLRequest issue

2009-09-22 Thread Calbeans
Hi All, 

This isn't actually a Flex question but hopefully someone can still answer it 
for me.  I have a URLRequest set up, and the URL that I'm navigating to has a 
 symbol in it, so when I'm being navigated to the page, the URL gets cut off 
right at the  symbol. 

Is there some way around that, like maybe make an if statement saying something 
like (if url contains  then convert it to %26) or something like that?



[flexcoders] AIR SQL can any one have material?

2009-09-22 Thread Prajnith Karra
hi friends  how to manipulate database  using SQL for AIR applications?

does SQL: is pre-installed in AIR alredy?


  

[flexcoders] Re: Can a variable set in one component be called in another component?

2009-09-22 Thread spuy...@ymail.com
Thank you Tracy.  Does it matter if the data type being passed is simple or 
complex?  Also, can you provide a link to a good example of using a central 
model?

Thanks!



--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote:

 You can pass references to one component into another.  You can use a
 central model accessible by both components.  You can use events.
 
  
 
 Tracy Spratt,
 
 Lariat Services, development services available
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of spuy...@...
 Sent: Monday, September 21, 2009 10:33 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Can a variable set in one component be called in
 another component?
 
  
 
   
 
 Can a variable set in one component be called in another component without
 having to go back to the application file? I just want to set a variable in
 one component, and then access that variable in another component.





[flexcoders] Re: AIR SQL can any one have material?

2009-09-22 Thread valdhor
http://livedocs.adobe.com/flex/3/langref/localDatabaseSQLSupport.html


--- In flexcoders@yahoogroups.com, Prajnith Karra prajnith_f...@... wrote:

 hi friends  how to manipulate database  using SQL for AIR applications?
 
 does SQL: is pre-installed in AIR alredy?





[flexcoders] Re: AS3 URLRequest issue

2009-09-22 Thread valdhor
escape?

http://livedocs.adobe.com/flex/3/langref/package.html#escape%28%29


--- In flexcoders@yahoogroups.com, Calbeans jwrigh...@... wrote:

 Hi All, 
 
 This isn't actually a Flex question but hopefully someone can still answer it 
 for me.  I have a URLRequest set up, and the URL that I'm navigating to has a 
  symbol in it, so when I'm being navigated to the page, the URL gets cut 
 off right at the  symbol. 
 
 Is there some way around that, like maybe make an if statement saying 
 something like (if url contains  then convert it to %26) or something like 
 that?





RE: [flexcoders] Re: trying to control space above label

2009-09-22 Thread Tracy Spratt
Use a negative value in the verticalGap as needed.  I think there is
built-in padding in label.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of mitchgrrt
Sent: Tuesday, September 22, 2009 7:12 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: trying to control space above label

 

  

Thanks, but the result is the same even if we put 0 gaps and padding
everywhere:

mx:VBox verticalGap=0
mx:Box borderColor=red borderStyle=solid paddingBottom=0
paddingTop=0
mx:Label text=System styleName=systemDescriptionText paddingBottom=0
paddingTop=0/
/mx:Box
mx:Box borderColor=red borderStyle=solid paddingBottom=0
paddingTop=0
mx:Label text=System 24 styleName=systemDescriptionText height=24
paddingBottom=0 paddingTop=0/
/mx:Box
mx:Box borderColor=red borderStyle=solid paddingBottom=0
paddingTop=0
mx:Label text=System 16 styleName=systemDescriptionText height=16
paddingBottom=0 paddingTop=0/
/mx:Box
/mx:VBox

--- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
Tracy Spratt tr...@... wrote:

 VBox has a verticalGap property. Set it to 0. also you can set the padding
 on the label to 0.
 
 
 
 Tracy Spratt,
 
 Lariat Services, development services available





RE: [flexcoders] Re: Can a variable set in one component be called in another component?

2009-09-22 Thread Tracy Spratt
No, it does not matter whether the data is complex or simple, complex data
is passed by reference anyway.

 

I have no simple example for a model.  Google model, and singleton.

 

Tracy Spratt,

Lariat Services, development services available

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of spuy...@ymail.com
Sent: Tuesday, September 22, 2009 7:52 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Can a variable set in one component be called in
another component?

 

  

Thank you Tracy. Does it matter if the data type being passed is simple or
complex? Also, can you provide a link to a good example of using a central
model?

Thanks!

--- In flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com,
Tracy Spratt tr...@... wrote:

 You can pass references to one component into another. You can use a
 central model accessible by both components. You can use events.
 
 
 
 Tracy Spratt,
 
 Lariat Services, development services available
 
 _ 
 
 From: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com
[mailto:flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com]
On
 Behalf Of spuy...@...
 Sent: Monday, September 21, 2009 10:33 AM
 To: flexcod...@yahoogro mailto:flexcoders%40yahoogroups.com ups.com
 Subject: [flexcoders] Can a variable set in one component be called in
 another component?
 
 
 
 
 
 Can a variable set in one component be called in another component without
 having to go back to the application file? I just want to set a variable
in
 one component, and then access that variable in another component.






[flexcoders] verticalSeparatorSkin with an AdvancedDataGrid

2009-09-22 Thread Matthew
Hi - 

I'm trying to put a 5px space inbetween AdvancedDataGrid rows, but I don't want 
any space between the AdvancedDataGrid and its renderer (another DataGrid). 

I tried creating a spacer gif and using that as the verticalSeparatorSkin in 
the outer AdvancedDataGrid but it puts a space not only between the rows but 
between the renderer as well. 

Is there another way of accomplishing this? 

Thanks for any tips. 



[flexcoders] Detecing AIR Network Timeout - Best Practices

2009-09-22 Thread Battershall, Jeff
In the AIR app I'm building, if the user leaves the app running for without 
interaction, the network times out and the user gets ChannelCall.Failed error 
when they next attempt to interact with the application.

What's the best way to listen for a timeout? On the ChannelSet? Or to keep the 
network connection alive by periodic requests?

Jeff Battershall
Application Architect
Dow Jones Indexes
jeff.battersh...@dowjones.com
(609) 520-5637 (p)

(484) 477-9900 (c)



[flexcoders] Secure transfert

2009-09-22 Thread Christophe
Hello, 

How to make secure transfert of image with a flex application by using VPN or 
https ? 

Thank you,
Christopher, 




[flexcoders] Re: trying to control space above label

2009-09-22 Thread mitchgrrt
Negative verticalGap.  That worked!  Thanks.  I tried a lot of things but 
didn't think to try a negative number.

--- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote:

 Use a negative value in the verticalGap as needed.  I think there is
 built-in padding in label.
 
  
 
 Tracy Spratt,
 
 Lariat Services, development services available




[flexcoders] BlazeDS + Google App Engine

2009-09-22 Thread Manu Dhanda

Hi Guys,

As most of you knows that BlazeDS does not work with Google App
Engine(Java), there is a bug raised in the bug tracking system. 

You can vote for it here for a quick fix: 

http://bugs.adobe.com/jira/browse/BLZ-444


--Manu.
-- 
View this message in context: 
http://www.nabble.com/BlazeDS-%2B-Google-App-Engine-tp25530812p25530812.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Re: Flickering in datagrid Header Renderer while loading data

2009-09-22 Thread djhatrick
Alex,

No, 3.4 didn't solve the problem... 

I just got upgraded and came across this nasty bug: 
http://enigmaticthought.com/2009/09/sdk-2233-flex3-4-httpservice-bug/

Maybe in the next release you get that flicker taken care in data grid header 
renderers (I'm using factories btw)

So I am back to 3.3, since i can't have multiple results etc.

Thanks,
Patrick



--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote:


 File a bug with a simple test case.  Also make sure you're using Flex 3.4
 
 Alex Harui
 Flex SDK Developer
 Adobe Systems Inc.http://www.adobe.com/
 Blog: http://blogs.adobe.com/aharui
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On 
 Behalf Of djhatrick
 Sent: Monday, September 21, 2009 10:17 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Flickering in datagrid Header Renderer while 
 loading data
 
 
 
 I'm having this issue and it sucks. To work around it internally I am adding 
 a bitmap image-copy of the datagrid inside until it renders completely, which 
 I've figured on some arbitrary number...
 
 This really sucks for us developers, makes our projects look unstable... Is 
 this going to be addressed? I too am using the prescribed method of factories 
 in the flex cookbook.
 
 Thanks,
 Patrick
 
 --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Alex 
 Harui aharui@ wrote:
 
  It depends on what you mean by flickering. It would be unusual for a label 
  to flicker. Images often do, and SuperImage from quietlyscheming.com can 
  help, but if the label if flickering, something else might be the issue.
 
  Alex Harui
  Flex SDK Developer
  Adobe Systems Inc.http://www.adobe.com/
  Blog: http://blogs.adobe.com/aharui
 
  From: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com 
  [mailto:flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com] On 
  Behalf Of Dharmendra Chauhan
  Sent: Monday, March 09, 2009 11:05 AM
  To: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com
  Subject: [flexcoders] Flickering in datagrid Header Renderer while loading 
  data
 
 
  I m also facing similar issue,Please see my code below:-
 
  Custom Header Renderer:
 
  [Bindable]
  private var theImage:Class;
  override public function set data(value:Object):void
  {
  dgColumn = value as DataGridColumn;
  if(dgColumn.sortDescending)
  this.theImage = this.downArrow;
  else
  this.theImage = this.upArrow;
  }
 
  ]]
  /mx:Script
 
  mx:Image source={this.theImage}/
 
 
  Image is flicking when data loads in data grid. I also tried Label with 
  some text, that to is flicking.
  Everything looks good as soon as data loading is over .Is there any ways to 
  avoid this flicker ??
 
  Please throw some light in to it
 
  Regards,
  Dharmendra
 





[flexcoders] AreaSeries LinearGradient Fill [1 Attachment]

2009-09-22 Thread Jake Churchill
Here's a stumper for anyone out there (*cough* Alex).

 

I've got a CartesianChart with an AreaSeries that has an areaFill defined as
a LinearGradient (code below).  An example of this kind of styling can be
seen online at
http://livedocs.adobe.com/flex/3/html/help.html?content=charts_formatting_07
.html almost all the way to the bottom of the page.

 

My question is this.  Why does the Gradient only happen between the max and
min values in the dataProvider in that particular series?

 

Look at the link and specifically, look at the yellow AreaSeries.  The
gradientEntries are set to 0, .33 and .66 for ratio but you can see that
ratio is only applied between the min/max data points, not the minimum of
the chart and the max of the chart.

 

This is even more evident in my attachment (a screen shot of what I'm
working on).  The majority of the area is under the minimum value in the
dataProvider so the gradient is almost non-existent (I don't have ratio's
applied as you can see in the code below so it should be .5)

 

So, hopefully I've explained my situation enough to get my point across.
Can anyone explain why this is or point me in a direction to fix this in
order to get a full gradient?

 

Thanks!

 

 

CODE:

 

mx:AreaSeries 

id
= floorSeries 

 
showDataEffect= {seriesEffect} 

displayName
= Floor 

form
= step

yField
= floor

xField
= historyDt



 
mx:areaStroke

 
mx:Stroke

 
id= floorStroke

 
weight  = {this.getStyle('floorStrokeWeight')} 

 
alpha =
{Number(ArrayCollection(this.getStyle('floorAlphas')).getItemAt(0))} 

 
color  =
{uint(ArrayCollection(this.getStyle('floorColors')).getItemAt(0))}

 
/

 
/mx:areaStroke

 
mx:areaFill

 
mx:LinearGradient

 
id= floorFill

 
angle = 90

 


 
mx:entries

 
mx:GradientEntry id=floorFillEntry1
color={uint(ArrayCollection(this.getStyle('floorColors')).getItemAt(0))}
alpha={uint(ArrayCollection(this.getStyle('floorAlphas')).getItemAt(0))}
/

 
mx:GradientEntry id=floorFillEntry2
color={uint(ArrayCollection(this.getStyle('floorColors')).getItemAt(1))}
alpha={uint(ArrayCollection(this.getStyle('floorAlphas')).getItemAt(1))}
/

 
/mx:entries

 
/mx:LinearGradient

/mx:areaFill

/mx:AreaSeries

 

Jake Churchill
CF Webtools
11204 Davenport, Ste. 100
Omaha, NE  68154
 http://www.cfwebtools.com http://www.cfwebtools.com
402-408-3733 x103



[flexcoders] Hard limits of text objects?

2009-09-22 Thread btzealot55
So I want to display a grid of numbers that a user can interact with. So far 
I've found labels to be inadequate. Moving the labels when there are more than 
200 or so tends to get rather slow. I've already tried to use a TileList to no 
benefit. Any other ideas? I've been pondering using some sort of tabbing and 
line spacing to get single or small number of TextAreas to do what I need.



[flexcoders] login form

2009-09-22 Thread varsha.nadig
hi m designing a new application..

i have designed the login page, but i don't know how to go the welcome page 
after login page..
what should i do to open a new mxml doc from one mxml with a button click?



[flexcoders] jar for com.farata.remoting.changeobjectImpl

2009-09-22 Thread prince sidana
I am using clear data builder tool kit to synchronize i have used a change 
object class as:


package  com.farata.remoting {
[RemoteClass(alias=com.farata.remoting.ChangeObjectImpl)]
public class ChangeObject {

}

But when i am trying to call sync method tomcat is not able to locate
com.farata.remoting.ChangeObjectImpl i think jar for this is not available in 
my web-inf lib.
So please specify the jar in which this class will be available? Is there any 
other class which i can use to initialise changeObject.
I am using this for Blazeds

Thanks
Prince



  Now, send attachments up to 25MB with Yahoo! India Mail. Learn how. 
http://in.overview.mail.yahoo.com/photos

[flexcoders] modules vs. sub-applications

2009-09-22 Thread Chris Sheffield
Hi all,

I'm brand new to Flex. Well, maybe not brand new, but almost. I've  
been reading books and working on tutorials for a couple months now,  
but my company is just getting started on our first Flex project. I'm  
excited to be working with Flex. I'm realizing there is still a lot to  
learn.

Here is my first big question. I think I'm asking for more of an  
opinion from other developers than anything, but I'm also curious to  
know if there is a best practice kind of answer. I've been reading  
through the Flex documentation and through other sources about using  
modules vs. sub-applications. I think I understand pretty well the  
difference between the two. The application we'll be creating will  
consist of multiple screens, or views, that school students will work  
their way through one screen at a time. Each screen, for the most  
part, is independent of another, but some screens are similar in that  
the student will perform similar activities on them. So there will  
probably be some screens that will need to share code. We would also  
like to make use of the same screens in such a way that someone in our  
company can test/verify certain pieces of content (for example, text,  
audio, pictures, etc), and see this content exactly as a student would  
see it by jumping directly to a specific screen. Hopefully I've  
provided enough information for someone to tell me, in your opinion,  
would it be best to use modules or sub-apps for the individual  
screens? I wasn't sure if it would even be possible to jump into a  
specific screen if it were a module. I think I'm leaning toward using  
sub-apps, but wondered if there are any major drawbacks. What about if  
sub-apps need to share classes, methods, properties, etc.?

Looking forward to your responses.

Thanks,
Chris

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com



[flexcoders] SDK 3.2 upgrade to 3.4 issue

2009-09-22 Thread Jake Churchill
I just installed the 3.4 SDK (previously was using 3.2).  I have a project
which uses Cairngorm.  I switch the project to the new compiler version and
re-build without any errors.  However, whenever I run the project, all my
events get dispatched once (I'm breaking the code all over to verify) but
the result handler in the commands get hit twice.  

 

Did something change regarding event dispatching, AsyncTokens, etc that
would cause this?  

 

FYI, switching back to 3.2 and re-building makes the code run just fine
again.

 

Thanks!

 

Jake Churchill
CF Webtools
11204 Davenport, Ste. 100
Omaha, NE  68154
 http://www.cfwebtools.com http://www.cfwebtools.com
402-408-3733 x103



[flexcoders] Write .sol SharedObject file from .net

2009-09-22 Thread ag_rcuren
I would like to be able to write to a shared object from outside of flash in 
particular from a C# application. I was wondering if someone could point me in 
the right direction. I have heard that the .sol file is basically AMF is this 
true? Also does anyone know if there are any libraries for .net already 
available, I was not able to find to much information on this.



RE: [flexcoders] modules vs. sub-applications

2009-09-22 Thread Alex Harui
Hopefully you've read through the modules and marshall plan posts on my blog.

Sub-apps can share code via RSLs.
You can't jump immediately to either a sub-app or module; it has to load first.
You can build custom test harnesses for either.

There are three main criteria: size, integration and security.  Modules are 
generally smaller because they are optimized for a particular host.  Sub-apps 
must carry their own weight because they are capable of running on their own.  
Modules sacrifice security for tight integration: they assume they have direct 
references to the host.  Sub-applications can be written in a way that they 
don't assume direct access to the main application and that allows you to 
sandbox the sub-app so it can't do mean things.  Sandboxing also allows the 
application to be written with a different version of Flex.  However there are 
UI and performance limitations.

If you own and will always own every line of code that runs, modules are going 
to be faster and smaller.

Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of Chris Sheffield
Sent: Tuesday, September 22, 2009 9:29 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] modules vs. sub-applications



Hi all,

I'm brand new to Flex. Well, maybe not brand new, but almost. I've
been reading books and working on tutorials for a couple months now,
but my company is just getting started on our first Flex project. I'm
excited to be working with Flex. I'm realizing there is still a lot to
learn.

Here is my first big question. I think I'm asking for more of an
opinion from other developers than anything, but I'm also curious to
know if there is a best practice kind of answer. I've been reading
through the Flex documentation and through other sources about using
modules vs. sub-applications. I think I understand pretty well the
difference between the two. The application we'll be creating will
consist of multiple screens, or views, that school students will work
their way through one screen at a time. Each screen, for the most
part, is independent of another, but some screens are similar in that
the student will perform similar activities on them. So there will
probably be some screens that will need to share code. We would also
like to make use of the same screens in such a way that someone in our
company can test/verify certain pieces of content (for example, text,
audio, pictures, etc), and see this content exactly as a student would
see it by jumping directly to a specific screen. Hopefully I've
provided enough information for someone to tell me, in your opinion,
would it be best to use modules or sub-apps for the individual
screens? I wasn't sure if it would even be possible to jump into a
specific screen if it were a module. I think I'm leaning toward using
sub-apps, but wondered if there are any major drawbacks. What about if
sub-apps need to share classes, methods, properties, etc.?

Looking forward to your responses.

Thanks,
Chris

--
Chris Sheffield
Read Naturally, Inc.
www.readnaturally.com



[flexcoders] cleanup on exit

2009-09-22 Thread [p e r c e p t i c o n]
Hi all,
Is there any way to do some cleanup just before an app exits?  for example
i've persisted some data to the DB and since the user hasn't completed all
the steps, i want to roll back that commit..is there an event i can write a
handler for?

thanks

and

cheers

-- 
[ p e r c e p t i c o n ]


[flexcoders] Re: login form

2009-09-22 Thread gurmeet.bali
--- In flexcoders@yahoogroups.com, varsha.nadig varsha.na...@... wrote:

 hi m designing a new application..
 
 i have designed the login page, but i don't know how to go the welcome page 
 after login page..
 what should i do to open a new mxml doc from one mxml with a button click?

Thier is no concept of pages in flex applications.It is all embeded in a single 
Application mxml.The only thing is showing/hiding different components or using 
the navigation controls provided by flex.



Re: [flexcoders] SDK 3.2 upgrade to 3.4 issue

2009-09-22 Thread Jim Cheng
Yup, something did change for the worse in 3.4 in a show-stopping way.

There's a relatively easy workaround for this, just add your own 
listeners to HTTPService directly and those will only get called once 
(as opposed to the responder).

Try the 3.x branch on opensource.adobe.com if you've brave, or stick 
with 3.3 for the time being if you can afford to wait for them to roll 
out the next official build.

Here's the bug:

   http://bugs.adobe.com/jira/browse/SDK-22883

Jim Cheng
EffectiveUI

Jake Churchill wrote:
 
 I just installed the 3.4 SDK (previously was using 3.2).  I have a 
 project which uses Cairngorm.  I switch the project to the new compiler 
 version and re-build without any errors.  However, whenever I run the 
 project, all my events get dispatched once (I’m breaking the code all 
 over to verify) but the result handler in the commands get hit twice. 
 
  
 
 Did something change regarding event dispatching, AsyncTokens, etc that 
 would cause this? 
 
  
 
 FYI, switching back to 3.2 and re-building makes the code run just fine 
 again.





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

* 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:flexcoders-dig...@yahoogroups.com 
mailto:flexcoders-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
flexcoders-unsubscr...@yahoogroups.com

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



[flexcoders] Re: Extend ToggleBar to Allow For Multiple Button Labels

2009-09-22 Thread vic8427
Great idea.  Thanks!

I tried extending button and ToggleButtonBar but the extended toggle button bar 
through errors when I tried to override the createNavItem using any object that 
was not strictly typed as Button.  (i.e, DoubleLabelButton vs Button)

Although I'm giving up the predefined button states that had skins applied to 
them, this works perfectly.


--- In flexcoders@yahoogroups.com, turbo_vb timh...@... wrote:

 Well, you are talking about a Button, so either extent Button and 
 ToggleButtonBar, or you can do it a lot easier using a HorizontalList and 
 itemRenderer.  Just set allowMultipleSelection=false.
 
 -TH
 
 --- In flexcoders@yahoogroups.com, victoria powers vic.powers@ wrote:
 
  I'm trying to create a tag list that will display the name of the tag and
  the number of posts associated with that tag.  I want to use the
  ToggleButtonBar so the user can choose only one tag at a time.
  
  The problem is that it will only accept one label. I need two, name of the
  tag to the left and the post count to the right.
  
  I'm assuming that I will have to extend both, Button and Toggle ButtonBar.
   Can someone point me in the right direction?
 





[flexcoders] AIR + RSL Error #2035: URL Not Found

2009-09-22 Thread reflexactions
I created a new AIR project Test.

The go to project properties and change all the linkages on the libs to RSL.

The app compiles fine.

However when you run it the .swz's load but the first .swf it hits will throw 
an error:

Error #2035: URL Not Found. URL: app:/Test.swf/airframework.swf

It will fail on all and any .swf.

The actual swf concerned is correctly copied into bin-debug, so it is there, 
the issue seems to be as shown in the error messages it looks for a url of 
app:/Test.swf/airframework.swf when it should be app:/airframework.swf.

Anyone come across this, or know of a fix?

TKS



[flexcoders] Re: Extend ToggleBar to Allow For Multiple Button Labels

2009-09-22 Thread turbo_vb
Good.  Nothing stopping you from using the DoubleLabelButton as the 
itemRenderer; to retain the states. but you'd still have to manually set one of 
them as selected.  So, not much more work to apply the skins to the new 
itemRenderer states. 

-TH

--- In flexcoders@yahoogroups.com, vic8427 vic.pow...@... wrote:

 Great idea.  Thanks!
 
 I tried extending button and ToggleButtonBar but the extended toggle button 
 bar through errors when I tried to override the createNavItem using any 
 object that was not strictly typed as Button.  (i.e, DoubleLabelButton vs 
 Button)
 
 Although I'm giving up the predefined button states that had skins applied to 
 them, this works perfectly.
 
 
 --- In flexcoders@yahoogroups.com, turbo_vb TimHoff@ wrote:
 
  Well, you are talking about a Button, so either extent Button and 
  ToggleButtonBar, or you can do it a lot easier using a HorizontalList and 
  itemRenderer.  Just set allowMultipleSelection=false.
  
  -TH
  
  --- In flexcoders@yahoogroups.com, victoria powers vic.powers@ wrote:
  
   I'm trying to create a tag list that will display the name of the tag and
   the number of posts associated with that tag.  I want to use the
   ToggleButtonBar so the user can choose only one tag at a time.
   
   The problem is that it will only accept one label. I need two, name of the
   tag to the left and the post count to the right.
   
   I'm assuming that I will have to extend both, Button and Toggle ButtonBar.
Can someone point me in the right direction?