Re: [flexcoders] Do you use a Mac?

2008-10-23 Thread Matthew Shirey
Like someone else already posted.  The main advantage to using OSX
instead of WindowsXP/Vista is that you spend more time actually
getting work done.  I spent fifteen years in various Windows boxes.  I
switched last year and I'll never go back.

-- Matthew

On Wed, Oct 22, 2008 at 11:49 PM, Haykel BEN JEMIA [EMAIL PROTECTED] wrote:
 Hi,

 this is probably off topic, but I noticed that most of the screencasts I
 watched about Flex are made on Mac OSX. Do most Flex developers work on Mac?
 Are most developers in the USA using Macs (as most screencasts I watched are
 done by people from the US)? Are their any advantages on using a Mac instead
 of a PC for Web/Flex development? I'm just wondering as I never used a Mac
 before.

 --
 Haykel Ben Jemia

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


 


Re: [flexcoders] DOT NET 2.0

2006-04-04 Thread Matthew Shirey
We develop Flex 1.0 application using ASP.NET 1.0 and 2.0 Web
Services.  This works extremely well.  Flex 1.0 requires a java server
to serve the Flex application itself.  While I haven't used 2.0 yet,
what I have read indicates that you do not need a java server.  The
2.0 development tools can compile the application directly into a SWF
file that can be served just like any normal Flash file.  So with Flex
2.0, you should should be able to use ASP.NET 2.0 Web Services without
the need for a Java server.

-- Matthew



On 4/4/06, sakgroups [EMAIL PROTECTED] wrote:
 We are building a web application using dot net 2.0.

 I saw the demo of FLEX 2.0 [Rich Internet Application] and was really
 impressed with its UI. I would like have similar user interface for my
 dot net application.

 I believe we can integrate FLEX 2.0 with dot net thru web services.
 Please correct it if I am wrong. But it seems I need to run JAVA web
 server in my web server. Is it true?

 Or shall I get FLEX 1.5 and FLEX 1.5 REMOTING and integrate it with my
 dot net assemblies.

 Please let me know if it is possible to have FLEX 2.0 or any previous
 version integrated with my dot net 2.0 application? Is there any
 example out there? I would love to have a better UI for my application.
 Please help me and provide more detail information. Thanks in advance!






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









--
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] bug of the minute: MenuBar, Scaling, and Sub Menus

2005-07-07 Thread Matthew Shirey



Thanks for the additional information. Since I do understand a
bit of how flash is being used to present these UI elements, I do
understand, thanks to you, why there's no parent/child
relationship. For me, its just really unfortunate. Because
of the difficulty I have had with the scaling of an entire application,
I have had to drop it from the requirements for this application.
My superiors were not thrilled, but they can easily see that its just
devouring precious time. For now, I'm just ramping all of the
fonts very large for the whole application. For those of us who
can actually see, we're going to want to take a step back from the
monitor, but its all I could come up with on my current time
line. I'll explore scaling the whole application again once I get
this version out. Thanks again for the information.

M.On 7/7/05, Manish Jethani [EMAIL PROTECTED] wrote:
On 7/7/05, Matthew Shirey [EMAIL PROTECTED] wrote:Uhm... to get right to the point... That's Crazy.Why are MenuItems and Menus not children??I'm not aware of the exact reason for this, but my guess is that they
are not children in order to support the following case: Box MenuBar / /BoxThe Box would normally clip its content -- including the dropdownmenus (if they were children of the MenuBar).
 I'm dealing with an application that I am trying desperately to use scaling in to make it easier for visually impaired to use.But at every turn scaling seems to be broken.I just found that with
 a ComboBox control scaling is also broken.The control itself is fine, but the drop down list when clicked on is not scaled properly.To say that this is frustrating would be a gross understatement.
It's the same for ComboBox: the dropdown is not a child of the component.If you decide to subclass the components to add scaling support, youwould have to override the setters for scaleX and scaleY and apply
the same value to the dropdown movie clips.This may not be trivialfor both components, since the dropdowns are created only when needed. Thankfully the source for both ComboBox and MenuBar is available in
FlexforFlash.zip, so if you're truly determined you can do it.If you want to scale the entire app, then you should simply set scaleXand scaleY on the Application element.That takes care of the menusand combo boxes.
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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/
* 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 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] Reorder tree via dragging

2005-07-07 Thread Matthew Shirey



As I am currently working with this, I can say that
dataForFormat(source) will give you a reference to the source object
of the drag drop operation. I am not sure about the items one
though. I've read mixed documentation, some say its
treeItems. Any rate, there's a formats array in the event
object that you can itterate through and see all of the available
formats if needed.

M.On 7/6/05, Matt Chotin [EMAIL PROTECTED] wrote:

















I think dataForFormat("items")
or dataForFormat("source"), not sure which is valid for Tree, might
give you the original items as opposed to the copies.



Matt











From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Sean McKibben
Sent: Wednesday, July 06, 2005
1:17 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Reorder tree
via dragging





So I'm trying to make a tree which can reorder its nodes by
dragging 
them. One of the things I wanted to do is prevent
a parent item from 
being dragged on to any of its children, and to
show that during the 
dragOver event.

In order to calculate whether the source is being
dragged on to any 
of its offspring, I've been comparing the 
event.dragSource.dataForFormat(treeItems)
first to 
firstValue=event.target.getDropParent().getTreeNodeAt

(event.target.getDropLocation()) then recursively
to the parents of 
firstValue.

This apparently doesn't work because dataForFormat
seems to hand me a 
copy of the items being dragged instead of an
actual reference, so 
the two values are never equal. I did note that
the items that 
dataForFormat give me, do contain references to
the real parents, 
data and other objects, it is just that the items
themselves are 
copies for some reason.

What I ended up doing is something like the
following:

if(checkParentDrop(myowncustom.TreeUtils.findDataItemNode

(view.TemplateAssemblyTree,
dragItems[i].getData())

, event.target.getDropParent().getTreeNodeAt 
(event.target.getDropLocation(
 action =
"">

private function checkParentDrop(source,
node):Boolean
 {

if(source == node)

return true;

if(node.getParent()!=null)

return checkParentDrop(source, node.getParent());

else

return false;
 }


public static function findDataItemNode(tree:mx.controls.Tree,

o:Object):TreeNode
... recursively check the entire tree for the same
getData() 
reference ...

So basically instead of comparing items from

event.dragSource.dataForFormat(treeItems),
i have to recursively 
look them up by the reference they contain to
their getData() 
information, to get the actual reference to the
TreeNode which I then 
compare to the drop target and its ancestors for
referential equality.

This is horribly ugly, but it works. Is there a
better way that 
people have stumbled across to validate
tree-self drags? I wish that 
dataForFormat handed over references instead of
copies!

(sorry if this was discussed before; I'm
apparently bad at finding 
previously discussed topics in this list!)

Sean




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com










--
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 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] bug of the minute: MenuBar, Scaling, and Sub Menus

2005-07-06 Thread Matthew Shirey



I am using embeded fonts, but its the whole sub menu that is not
scaling. You can see the difference in the borders and the
margins around the text. It's really easy to see that the sub
menus are not scaling at all when you do a test where the menu has been
scaled to 400%.

M.On 6/30/05, JesterXL [EMAIL PROTECTED] wrote:









Is it the items or rather the text itself that does 
not scale? The text can scale if you embed the font.

- Original Message - 
From: 
Matthew Shirey 

To: flexcoders@yahoogroups.com 
Sent: Thursday, June 30, 2005 5:05 PM
Subject: [flexcoders] bug of the minute: MenuBar, Scaling, and Sub 
Menus
Here's another bug that seems to have found me. If you use 
scaling to make a MenuBar larger, it's menu items do not scale with it. 
They remain their normal size. Does anyone know of a possible work around 
to this? I need the menu items to scale as well.-- 
Matthew--Flexcoders Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 



--
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 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] bug of the minute: MenuBar, Scaling, and Sub Menus

2005-07-06 Thread Matthew Shirey



Uhm... to get right to the point... That's Crazy. Why are
MenuItems and Menus not children?? I'm dealing with an
application that I am trying desperately to use scaling in to make it
easier for visually impaired to use. But at every turn scaling
seems to be broken. I just found that with a ComboBox control
scaling is also broken. The control itself is fine, but the drop
down list when clicked on is not scaled properly. To say that
this is frustrating would be a gross understatement.

The only thing I can think of that would be acceptable would be to
create my own menubar, menu, and menuitem controls all based on the
normal one and build the functionality into them that should have been
there in the first place. I'd have to do that with every control
that was not implelented properly for scaling. That would be a
monumental amount of work for me with my unfamiliarity of the internals
of these controls.

At the point I am really starting to regret my decision to use Flex for
this application. I wish there was some help I could ask for, but
at this point I am getting the impression that this is just not
something Flex is made to do. Thanks for what help you could
provide Manish, my anger is directed that Flex Development Team, not
you. 

Why have scalex and scaley properties when on many components they are seriously broken?

M.On 7/6/05, Manish Jethani [EMAIL PROTECTED] wrote:
On 7/6/05, Matthew Shirey [EMAIL PROTECTED] wrote:I am using embeded fonts, but its the whole sub menu that is not scaling. You can see the difference in the borders and the margins around the text.
 It's really easy to see that the sub menus are not scaling at all when you do a test where the menu has been scaled to 400%.So these are the different things we have: - MenuBar - MenuItem
 - MenuThe MenuBar contains a bunch of MenuItem's.When you click on aMenuItem, it pops up a Menu -- the Menu is _not a child_ of theMenuItem or the MenuBar.That's the reason why the scaling does not
apply to the menus.Your only option is to scale the menus individually (access them usingthe getItemAt function, etc.).You'd also have to adjust the positionof the menus.--Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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/
* 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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com



  
  
SPONSORED LINKS
  
  
  

Computer software testing
  
  
Macromedia flex
  
  
Development
  
  


Software developer
  

   






  
  
  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] bug of the minute: MenuBar, Scaling, and Sub Menus

2005-06-30 Thread Matthew Shirey



Here's another bug that seems to have found me. If you use
scaling to make a MenuBar larger, it's menu items do not scale with
it. They remain their normal size. Does anyone know of a
possible work around to this? I need the menu items to scale as
well.

-- Matthew



--
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] Flex, C# Web Services, and Dates

2005-06-28 Thread Matthew Shirey



Well, Since Flex isn't automatically parsing the date correctly.
It might be best for me to change the type on the Web Service side to
string, manually call the .ToString() method for the date there.
Send the date as a string, then use the DateFormatter as you did and
manually parse it on the Flex side. I played around with it a bit
more and I finally figured out what was going on. Basically, if
the date contains milliseconds, then Flex parses it correctly. If
not, then it fails to parse it. I tried an experiment where I
added 1 millisecond to the values I was pulling from the database, and
then all worked fine. Since adding and removing a millisecond to
make parsing work seems a little too hackish, I think I'll try the
string method I just mentioned. It's a real problem though that I
hope is fixed in 2.0. All of the work I do involves C# web
services. Until now I haven't had a problem. But this is a
pretty big wart.

-- MatthewOn 6/27/05, Matt Chotin [EMAIL PROTECTED] wrote:

















Yes, please try to play around with this
and if you figure out what's up file a bug report (http://www.macromedia.com/go/wish).
If you can supply a WSDL that's even better because we can then try to verify
that it will be fixed in 2.0. 



Matt











From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Rick Bullotta
Sent: Monday, June 27, 2005 7:14
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex, C#
Web Services, and Dates





If you don't need HH:MM:SS
resolution, try this for a test:



Generate your WSDL, and save it to a
file. Tweak the WSDL to use xsd:date instead of xsd:dateTime, point your
Flex app to the modified WSDL, and see if that addresses the issue. There
are lots of posts I found on Google regarding .NET's dateTime
serialization woes…and it seems to, by default, serialize in varying
formats depending on resolution and time zone. To be fair, the formats it
is generating should be properly parsed/processed on the Flex side based on the
following:



Also, I experimented a bit with the
DateFormatter object's parseDateString method and it worked properly on
all of the formats you generated




mx:Script


 ![CDATA[



 function
parseDateString(str:String):Date



 {




 return
DateFormatter.parseDateString(str);



 }





 function
doTest() {





alert(dateFmt.format(parseDateString(2005-06-01T00:00:00)));





alert(dateFmt.format(parseDateString(2005-06-27T18:40:41.390625-07:00)));





alert(dateFmt.format(parseDateString(2005-05-31T17:00:00-07:00)));



 }


 ]]


/mx:Script




 mx:DateFormatter
id=dateFmt formatString={'M/D/Y' + newline +
'JJ:NN:SS'} /





Seems like there's a disconnect
somewhere inside of the deserialization in Flex, but I can't be certain.
Sounds like it is worth creating a bug report.



- Rick













From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Matthew Shirey
Sent: Monday, June 27, 2005 9:36
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex, C#
Web Services, and Dates





well, the WSDL says:

s:element minOccurs=1 maxOccurs=
1 name=StartDate type=
s:dateTime /

Because I am close to pulling all my hair out on this one, I
decided to try something on the server end. In the web method, I hard
coded the StartDate propery to return DateTime.Now. To my surpise, this
actually worked. I then tried hardcoding it to return new DateTime(2005,
6, 1, 0, 0, 0, 0). This produced the original error. It seems like
things are a little wierd on both ends. Depending on the date value on
the server end, the server is actually sending the XML formatted
differently. I am more confused now than ever. Does any one here
have any experience using C# Web Services with Flex using the C# DateTime
type? I would be interested in some best practices type guidlines.
However the DateTime.Now value is delt with, it works, but any other date value
I create doesn't work. It's quite confusing...

-- Matthew













--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com










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

Re: [flexcoders] Flex, C# Web Services, and Dates

2005-06-27 Thread Matthew Shirey



Might you have some information on where to put this exactly? It
seems like it's too late by the time the object has been created from
the result of the web service call. All it seems to contain is
Invalid Date. When I look at the object that was created in the
Network Monitor, it does seem to have a date, but not the one I sent
it. 

>From the network monitor, here's the date piece of the xml recieved in the SOAP Response entry:

StartDate2005-06-01T00:00:00/StartDate

Here's the piece of the object created from the Network Monitor Web Service onResult entry :

StartDate[Local Time] : Wed Dec 31 16:00:00 1969 
(+0:00)
as you can see, it doesn't even have the proper value in it. I've
created an onResult event handler to try to print out the value and all
I get from obj.StartDate is Invalid Date.

This one really has me stuck guys. Any help would be greatly appreciated, thank you,

-- Matthew
On 6/25/05, Manish Jethani [EMAIL PROTECTED] wrote:
On 6/25/05, Rick Bullotta [EMAIL PROTECTED] wrote: Is there a way to use the import statement in inline script in an mx:Script block?The compiler complains if we try this.
Yes, certainly.mx:Scriptimport foo.Bar;function blah():Void{Bar.bar();}/mx:ScriptMust be something wrong with the way you are importing.If you still
have the problem, you could post the exact compiler error.--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
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/* 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 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] Flex, C# Web Services, and Dates

2005-06-27 Thread Matthew Shirey



Thanks for the reply, I did try what you suggested just to be sure, but
like I said before, it seems that by the time the result event handler
has fired, the data is already bad. I just cannot see why the XML
in the SOAP response is:

StartDate2005-06-01T00:00:00/StartDate

yet the object created is:

StartDate[Local Time] : Wed Dec 31 16:00:00 1969 
(+0:00)

this just doesn't make any sense...

-- Matthew
On 6/27/05, Rick Bullotta [EMAIL PROTECTED] wrote:

















Here's an example with an
HttpService, you can do something similar:



Add:



result=manageData(event)



…to your mx:HttpService tag…



Define the handler something like this,
where it will look through the returned data structure and replace the
StartDate objects with a "parsed" version…in my example, my
structure is a multi-row XML document. One of the elements is named "DateTime"
and is in the same format you are trying to parse. If you only have a single
row, the handler might look slightly different.



function manageData(event) {

 for(var i:Number=0; i event.result.Row.length;
i++) {


 var
d:Date = parseDateString(event.result.Row[i].DateTime);



event.result.Rowsets.Rowset.Row[i].DateTime
= d;

 }

}



 



- Rick











From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Matthew Shirey
Sent: Monday, June 27, 2005 6:13
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex, C#
Web Services, and Dates





Might you have some
information on where to put this exactly? It seems like it's too late by
the time the object has been created from the result of the web service
call. All it seems to contain is Invalid Date. When I
look at the object that was created in the Network Monitor, it does seem to
have a date, but not the one I sent it. 

From the network monitor, here's the date piece of the xml recieved in the SOAP
Response entry:

StartDate2005-06-01T00:00:00/StartDate

Here's the piece of the object created from the Network Monitor Web Service
onResult entry :

StartDate[Local Time] : Wed Dec 31 16:00:00 1969
(+0:00)

as you can see, it doesn't even have the proper value in it. I've created
an onResult event handler to try to print out the value and all I get from
obj.StartDate is Invalid Date.

This one really has me stuck guys. Any help would be greatly appreciated,
thank you,

-- Matthew



On 6/25/05, Manish
Jethani [EMAIL PROTECTED]
wrote:

On 6/25/05, Rick Bullotta 
[EMAIL PROTECTED]
wrote:

 Is there a way to use the import statement in inline script in
an
 mx:Script block?The compiler complains if we try this.


Yes, certainly.

mx:Script
import foo.Bar;

function blah():Void
{
Bar.bar();
}
/mx:Script

Must be something wrong with the way you are importing.If you still

have the problem, you could post the exact compiler error.


--
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 Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com










--
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 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] embedding PDF file

2005-06-27 Thread Matthew Shirey



Just a note, IFRAME works in the current version of Firefox.  I
believe it also works in current version of Netscape as well...

-- MatthewOn 6/27/05, Longley, Andrew (N-Aviture) [EMAIL PROTECTED] wrote:
I imagine the IFrame solution might work for you.It's a little toughto implement and as far as I know it's IE only due to using iframes.Ifyou can provide a source that is the URL of the PDF, and can accept IE
only, you might give it a try.http://www.coenraets.com/viewarticle.jsp?articleId=95Andrew -Original Message- From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Ghislain Simard Sent: Saturday, June 25, 2005 7:58 PM
 To: flexcoders@yahoogroups.com Subject: [flexcoders] embedding PDF file Is there a way to Embed PDF document inside Flex?
 -- 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
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
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/* 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 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] Flex, C# Web Services, and Dates

2005-06-27 Thread Matthew Shirey



well, the WSDL says:

s:element minOccurs=1 maxOccurs=
1 name=StartDate 
type=s:dateTime /

Because I am close to pulling all my hair out on this one, I decided to
try something on the server end. In the web method, I hard coded
the StartDate propery to return DateTime.Now. To my surpise, this
actually worked. I then tried hardcoding it to return new
DateTime(2005, 6, 1, 0, 0, 0, 0). This produced the original
error. It seems like things are a little wierd on both
ends. Depending on the date value on the server end, the server
is actually sending the XML formatted differently. I am more
confused now than ever. Does any one here have any experience
using C# Web Services with Flex using the C# DateTime type? I
would be interested in some best practices type guidlines.
However the DateTime.Now value is delt with, it works, but any other
date value I create doesn't work. It's quite confusing...

-- Matthew
On 6/27/05, Rick Bullotta [EMAIL PROTECTED] wrote:

















The -MM-DDTHH:MM:SS format is from .NET's
default XML serializer, which uses something like an ISO date format (.NET's
format string "s"). When you dump it on the server side, it is probably just
using the object's ToString() method, which seems like it chose a different
format. One question, I guess, is what schema data type the WSDL is telling
Flex to expect. Second question (to the Macromedia crew) is how Flex handles
deserialization depending on what that schema data type is….



- Rick











From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Matthew Shirey
Sent: Monday, June 27, 2005 6:41
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex, C#
Web Services, and Dates





Thanks for the reply, I
did try what you suggested just to be sure, but like I said before, it seems
that by the time the result event handler has fired, the data is already
bad. I just cannot see why the XML in the SOAP response is:

StartDate2005-06-01T00:00:00/StartDate

yet the object created is:

StartDate[Local Time] : Wed Dec 31 16:00:00 1969
(+0:00)


this just doesn't make any sense...

-- Matthew



On 6/27/05, Rick Bullotta 
[EMAIL PROTECTED]
wrote:



Here's an example with an HttpService, you can
do something similar:



Add:



result=manageData(event)



…to your mx:HttpService tag…



Define the handler something like this, where
it will look through the returned data structure and replace the StartDate
objects with a parsed version…in my example, my structure is a
multi-row XML document. One of the elements is named DateTime
and is in the same format you are trying to parse. If you only have a
single row, the handler might look slightly different.



function manageData(event) {


for(var i:Number=0; i event.result.Row.length; i++) {


 var d:Date =
parseDateString(event.result.Row[i].DateTime);



event.result.Rowsets.Rowset.Row[i].DateTime = d;


}

}



 



- Rick











From: 
flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Matthew Shirey
Sent: Monday, June 27, 2005 6:13
PM
To: flexcoders@yahoogroups.com
Subject: Re:
[flexcoders] Flex, C# Web Services, and Dates







Might you have some information on where to put this
exactly? It seems like it's too late by the time the object has been
created from the result of the web service call. All it seems to contain
is Invalid Date. When I look at the object that was created
in the Network Monitor, it does seem to have a date, but not the one I sent
it. 

From the network monitor, here's the date piece of the xml recieved in the SOAP
Response entry:

StartDate2005-06-01T00:00:00/StartDate

Here's the piece of the object created from the Network Monitor Web Service
onResult entry :

StartDate[Local Time] : Wed Dec 31 16:00:00 1969
(+0:00)

as you can see, it doesn't even have the proper value in it. I've created
an onResult event handler to try to print out the value and all I get from
obj.StartDate is Invalid Date.

This one really has me stuck guys. Any help would be greatly appreciated,
thank you,

-- Matthew



On
6/25/05, Manish Jethani [EMAIL PROTECTED]
wrote:

On 6/25/05, Rick Bullotta

[EMAIL PROTECTED] wrote:

 Is there a way to use the import statement in inline script in
an
 mx:Script block?The compiler complains if we try this.


Yes, certainly.

mx:Script
import foo.Bar;

function blah():Void
{
Bar.bar();
}
/mx:Script

Must be something wrong with the way you are importing.If you still

have the problem, you could post the exact compiler error.


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

Re: [flexcoders] Flex, C# Web Services, and Dates

2005-06-27 Thread Matthew Shirey



Following up on my last email... Here's some examples of different
dates providing slightly different formats coming from the web service:

Hardcoded to DateTime.Now (this is the only one that seems to work with flex):

StartDate2005-06-27T18:40:41.390625-07:00/StartDate 


Hardcoded to new DateTime(), no parameters:

StartDate0001-01-01T00:00:00/StartDate


Hardcoded to new DateTime(2006, 6, 1, 0, 0, 0):

StartDate2006-06-01T00:00:00/StartDate


Reading value from database:

StartDate2005-06-01T00:00:00/StartDate


I even tried converting to local time using dt.toLocalTime():

StartDate2005-05-31T17:00:00-07:00/StartDate

this actually seems like its closest to the DateTime.Now attempt, but
it is still not recognized by flex. It seems like flex needs to
have the milliseconds there? Anyway, I sure hope someone else has
a clue what to do, this one really has me stumped. I'm close to
coding my own date object to hold the year, month, day, hour, minutes,
and seconds values seprately and turn them back into a date once flex
has them. Again, this seems a little extreme for a situation
where it should just work... any thoughts?

-- Matthew



On 6/27/05, Matthew Shirey [EMAIL PROTECTED] wrote:
well, the WSDL says:

s:element minOccurs=1 maxOccurs=
1 name=StartDate 
type=s:dateTime /

Because I am close to pulling all my hair out on this one, I decided to
try something on the server end. In the web method, I hard coded
the StartDate propery to return DateTime.Now. To my surpise, this
actually worked. I then tried hardcoding it to return new
DateTime(2005, 6, 1, 0, 0, 0, 0). This produced the original
error. It seems like things are a little wierd on both
ends. Depending on the date value on the server end, the server
is actually sending the XML formatted differently. I am more
confused now than ever. Does any one here have any experience
using C# Web Services with Flex using the C# DateTime type? I
would be interested in some best practices type guidlines.
However the DateTime.Now value is delt with, it works, but any other
date value I create doesn't work. It's quite confusing...

-- Matthew
On 6/27/05, Rick Bullotta 
[EMAIL PROTECTED] wrote:

















The -MM-DDTHH:MM:SS format is from .NET's
default XML serializer, which uses something like an ISO date format (.NET's
format string s). When you dump it on the server side, it is probably just
using the object's ToString() method, which seems like it chose a different
format. One question, I guess, is what schema data type the WSDL is telling
Flex to expect. Second question (to the Macromedia crew) is how Flex handles
deserialization depending on what that schema data type is….



- Rick











From: 

flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 

On Behalf Of Matthew Shirey
Sent: Monday, June 27, 2005 6:41
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex, C#
Web Services, and Dates





Thanks for the reply, I
did try what you suggested just to be sure, but like I said before, it seems
that by the time the result event handler has fired, the data is already
bad. I just cannot see why the XML in the SOAP response is:

StartDate2005-06-01T00:00:00/StartDate

yet the object created is:

StartDate[Local Time] : Wed Dec 31 16:00:00 1969
(+0:00)


this just doesn't make any sense...

-- Matthew



On 6/27/05, Rick Bullotta 

[EMAIL PROTECTED]
wrote:



Here's an example with an HttpService, you can
do something similar:



Add:



result=manageData(event)



…to your mx:HttpService tag…



Define the handler something like this, where
it will look through the returned data structure and replace the StartDate
objects with a parsed version…in my example, my structure is a
multi-row XML document. One of the elements is named DateTime
and is in the same format you are trying to parse. If you only have a
single row, the handler might look slightly different.



function manageData(event) {


for(var i:Number=0; i event.result.Row.length; i++) {


 var d:Date =
parseDateString(event.result.Row[i].DateTime);



event.result.Rowsets.Rowset.Row[i].DateTime = d;


}

}



 



- Rick











From: 

flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of Matthew Shirey
Sent: Monday, June 27, 2005 6:13
PM
To: flexcoders@yahoogroups.com
Subject: Re:
[flexcoders] Flex, C# Web Services, and Dates







Might you have some information on where to put this
exactly? It seems like it's too late by the time the object has been
created from the result of the web service call. All it seems to contain
is Invalid Date. When I look at the object that was created
in the Network Monitor, it does seem to have a date, but not the one I sent
it. 

From the network monitor, here's the date piece of the xml recieved in the SOAP
Response entry:

StartDate2005-06-01T00:00:00/StartDate

Here's the piece of the object created from the Network Monitor Web Service
onResult entry :

StartDate[Local Time] : Wed Dec 31 16:00:00

[flexcoders] Strange Behavior with Font Embeding

2005-06-24 Thread Matthew Shirey



I am getting wierd results while trying to embed fonts in my application. Many times it reports:

Warning /Penguin/SurveyProperties/EditSurvey.mxml:53 
Font not found at: file:C:/Program Files/Apache Software 
Foundation/Tomcat 5.5/webapps/flex/Penguin/SurveyProperties/VERDANA.TTF

This simply isn't true. The font file IS there and I made sure that the permissions on the file were barn door open wide.

Here's the embed lines I am using:

 mx:Style
  @font-face 
  { 
   fontFamily: VerdanaBold;
   src:url(VERDANA.TTF);
   font-weight: bold; 
  }
  @font-face 
  { 
   fontFamily: VerdanaNormal;
   src:url(VERDANA.TTF);
   font-weight: normal; 
  }  
 /mx:Style

I have found this to work fine on some apps, and on others it just
breaks like this. I cannot see what the difference is between the
working apps and the non-working apps... any insight would be greatly
appreciated, thank you,

-- Matthew



--
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 the Yahoo! Terms of Service.










[flexcoders] Re: Strange Behavior with Font Embeding

2005-06-24 Thread Matthew Shirey



I guess I should say disregard, but there seems to be a bug here.
I finally gave up and stopped concentrating on it and went on to
another section of the application in the same file. After making
another alteration the file and rebuilding, everything seems to work
fine. Even though I was telling it to rebuild before, it didn't
seem to be really rebuilding. Only after making some kind of edit
to the .mxml file did it embed the font correctly.

So the way it looks like I encountered this bug, was that I added the
embed lines to the mxml file and compiled before I actually copied the
font file to the location. It correctly displayed the error
message. I then copied the font file to where it should be and
attempted to rebuild. Then it kept displaying the error
message. The error message didn't go away until I made some other
edit to the mxml file which seems to have triggered it to really do a
rebuild, which it didn't seem to be really doing before. I hope
this helps someone else...

-- MatthewOn 6/24/05, Matthew Shirey [EMAIL PROTECTED] wrote:
I am getting wierd results while trying to embed fonts in my application. Many times it reports:

Warning /Penguin/SurveyProperties/EditSurvey.mxml:53 
Font not found at: file:C:/Program Files/Apache Software 
Foundation/Tomcat 5.5/webapps/flex/Penguin/SurveyProperties/VERDANA.TTF

This simply isn't true. The font file IS there and I made sure that the permissions on the file were barn door open wide.

Here's the embed lines I am using:

 mx:Style
  @font-face 
  { 
   fontFamily: VerdanaBold;
   src:url(VERDANA.TTF);
   font-weight: bold; 
  }
  @font-face 
  { 
   fontFamily: VerdanaNormal;
   src:url(VERDANA.TTF);
   font-weight: normal; 
  }  
 /mx:Style

I have found this to work fine on some apps, and on others it just
breaks like this. I cannot see what the difference is between the
working apps and the non-working apps... any insight would be greatly
appreciated, thank you,

-- Matthew





--
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 the Yahoo! Terms of Service.










[flexcoders] Flex, C# Web Services, and Dates

2005-06-24 Thread Matthew Shirey



Hey all, I sure hope someone out there can make sense of the chaos that seems to be dates.

I recently discovered the hard way that flex dates are in UTC by
default when you create them, when you send them as a parameter to a C#
web service, you need to use the .ToLocalTime() method (in c#) because,
by default, C# uses local times. I was trying to compare a date
created in Flex as: 

var dtFlex:Date = new Date(1974, 0, 26); // should be jan 26th 1974, flex months are indexed at 0

on the C# side it was:

DateTime dtCSharp = new Date(1974, 1, 26); // should be jan 26th 1974, c# months are indexed at 1

when I passed dtFlex to the web service, then on the C# side tried to
compare it to dtCSharp, they were not coming back equal. Reason
was, inside, Flex actually made its date 01/26/1974 8:00 AM (I'm on
pacific time here). It was automatically making the date in UTC
format. To actually make the comparison I had to do this:

if (dtFlex.ToLocalTime() == dtCSharp)...

That was headache enough. My main problem though is when I go the
other direction, where I call a C# web service that returns a
date. In the web service explorer in flex it recognizes the
result property as a date. Well, sorta, it actually says
dateTime for the type. I see that's not exactly the same as
Date, and I imagine thats part of the problem. Anyway, when I try
to display that result it evaluates to Invalid Date. When I
look at the Network Monitor to see what is actually being returned by
the web service, this is what I see:

StartDate1974-01-26T00:00:00/StartDate

Now I'm assuming that this is not the format Flex expects for a
date? If not, I guess it's easy enough to make my own date
parser, but it seems like this should just work. Is there some
specific format I am supposed to return the date in from the C#
side? Or is there something I need to do on the Flex side to make
this equation happy? Please, any help would be appreciated, I'm
pulling my hair out here. Dates are only fun if they are with a
woman... :(

-- Matthew



--
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 the Yahoo! Terms of Service.










Re: [flexcoders] Html page pop up

2005-06-10 Thread Matthew Shirey



Okay, I just looked at that IFrame example... that's pretty damn slick!

M.On 6/10/05, Manish Jethani [EMAIL PROTECTED] wrote:
On 6/10/05, nithya karthik [EMAIL PROTECTED] wrote:I have an application with a top canvas and a botton canvas. the top canvas has a button which on click must make a corresponding html page to be
 displayed on the top canvas only. the bottom canvas should remain the same. how to do this? when i give the following code the whole application is getting replacedby the html page. pls help..
It's not possible to load HTML in a Canvas.You should try usingChristophe's IFrame component to load an HTML page inline.http://coenraets.com/viewarticle.jsp?articleId=95
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/









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 the Yahoo! Terms of Service.










Re: [flexcoders] Scale the size of a whole application

2005-05-20 Thread Matthew Shirey



Well, I've tried what you suggested:

Stage.scaleMode = showAll.

But I get very strange results. The application is scaling up,
but not as desired. It's actually getting larger than the browser
window. It's really wierd and hard to describe. I get the
feeling that this use was never intended

If you have some suggestions on how to actually use this and get it to
work right, I'd be very interested. Otherwise, I'll stay with my
scaling routines which are similar to what Manish suggested, only not
quite as elegant. ;)

M.
On 5/19/05, Sreejith Unnikrishnan [EMAIL PROTECTED] wrote:



  




Jexter,

I did play around with that for a while ... could not make sense of
what was happening ... especially the zoom scale ...
Code below for u to try out!

?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml
width=100% height=100%
mx:Script
![CDATA[

function resizeApp(sm) {
if (sm == showAll) {
Stage.scaleMode = showAll;
}
if (sm == exactFit) {
Stage.scaleMode = exactFit;
}
if (sm == noBorder) {
Stage.scaleMode = noBorder;
}
if (sm == noScale) {
Stage.scaleMode = noScale;
}

}

]]
/mx:Script
 mx:Panel width=100% height=100% title=How does this
scale
 mx:Button label=showAll click=resizeApp('showAll') /
  mx:Button label=exactFit click=resizeApp('exactFit')
/
   mx:Button label=noBorder
click=resizeApp('noBorder') /
mx:Button label=noScale
click=resizeApp('noScale') /
 /mx:Panel
/mx:Application

Regards
Sree


JesterXL wrote:

  
  
  
  ...this sounds like turning stage
scaling on. For a test, try this in your main app:
  
  Stage.scaleMode = showAll.
  
  I believe Flex has it set to
noScale, and thus uses the Flex containers to draw the change in size
rather than have the SWF scale. Try that, see if it works for you.
  
  -
Original Message -
  From:
  Matthew
Shirey 
  To: flexcoders@yahoogroups.com
  
  Sent: Friday, May 20, 2005 1:20 AM
  Subject: Re: [flexcoders] Scale the size of a whole
application
  
  
  
Actually, I am working down a path that uses a canvas and dynamically
adjusts the ScaleX and ScaleY properties based on the size of the
application in the browser using the applications onResize event. So
far, the effect is exactly what I'm looking for. Even the fonts are
getting scaled correctly. It works okay with non-embeded fonts but
I've found it works perfectly with embeded fonts. My only concern now
is how well it will perform once the UI gets a bit more complicated.
  
If anyone else is interested, I can post my solution once I get it a
little more perfected.
  
M.
  
  On 5/19/05, Sreejith Unnikrishnan [EMAIL PROTECTED]
 wrote:
  One interesting adventure you can
embark on is to put the whole application in a mx:Canvas and use
mx:Zoom to scale it based on the resolution. I have never tried this
before, so can't tell. I have doubts about the font-size etc :-)

Sree


Matthew Shirey wrote:
I
was afraid I hadn't explained the problem right...
  
Setting to those just takes up the space, it doesn't actually scale the
content larger. It resizes the layout managers larger which results in
a lot of unused white space for my application. I need the contents to
scale so if you make the window twice as large, then all of the
contents are twice as big. Bigger fonts, bigger everything. I'm not
sure how I can clarify this any further... :(
  
-- Matthew
  
  On 5/19/05, JesterXL [EMAIL PROTECTED]
   wrote:
  
Make the width and height of
your application tag 100%...? That's what I do to get full screen
real-estate usage. Decreasing margins on things helps a lot too.


-
Original Message -
From:
Matthew Shirey 
To: flexcoders@yahoogroups.com

Sent: Thursday, May 19, 2005 6:31 PM
Subject: [flexcoders] Scale the size of a whole
application



This may sound like a odd request, but is there a way to scale the size
of a whole application so that all of the contents get larger? The
functionality that I desire is similar to what happens to a Flash movie
when you make its size bigger. I'd like to design an application at a
fixed resolution like 800x600. If the user then makes the web browser
bigger, I'd like the contents to scale up in size. Right now, with the
layout managers I basically just end up with more space. A lot of it
is wasted empty space. I have a specific user that is mildly vision
impaired. He makes everything on his screen gigantic. His monitor is
a nice 21 flat panel at 1600x1200 resolution. I'd like him to be able
to maximize the application to 1600x1200 there by making everything in
the application which is designed at 800x600 scale up to that size.

Anyone have any suggestions? I was a little long winded there, but I
hope I've accurately described my problem and the type of solution I'm
looking for. Any other suggestions on how I can deal with visibility
impaired users would also

[flexcoders] Scale the size of a whole application

2005-05-19 Thread Matthew Shirey



This may sound like a odd request, but is there a way to scale the size
of a whole application so that all of the contents get larger?
The functionality that I desire is similar to what happens to a Flash
movie when you make its size bigger. I'd like to design an
application at a fixed resolution like 800x600. If the user then
makes the web browser bigger, I'd like the contents to scale up in
size. Right now, with the layout managers I basically just end up
with more space. A lot of it is wasted empty space. I have
a specific user that is mildly vision impaired. He makes
everything on his screen gigantic. His monitor is a nice 21 flat
panel at 1600x1200 resolution. I'd like him to be able to
maximize the application to 1600x1200 there by making everything in the
application which is designed at 800x600 scale up to that size.

Anyone have any suggestions? I was a little long winded there,
but I hope I've accurately described my problem and the type of
solution I'm looking for. Any other suggestions on how I can deal
with visibility impaired users would also be helpful. Thank you!

-- Matthew








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 the Yahoo! Terms of Service.










Re: [flexcoders] Scale the size of a whole application

2005-05-19 Thread Matthew Shirey



Actually, I am working down a path that uses a canvas and dynamically
adjusts the ScaleX and ScaleY properties based on the size of the
application in the browser using the applications onResize event.
So far, the effect is exactly what I'm looking for. Even the
fonts are getting scaled correctly. It works okay with
non-embeded fonts but I've found it works perfectly with embeded
fonts. My only concern now is how well it will perform once the
UI gets a bit more complicated.

If anyone else is interested, I can post my solution once I get it a little more perfected.

M.On 5/19/05, Sreejith Unnikrishnan [EMAIL PROTECTED] wrote:



  
  




One interesting adventure you can
embark on is to put the whole application in a mx:Canvas and use
mx:Zoom to scale it based on the resolution. I have never tried this
before, so can't tell. I have doubts about the font-size etc :-)

Sree

Matthew Shirey wrote:
I was afraid I hadn't explained the problem right...
  
Setting to those just takes up the space, it doesn't actually scale the
content larger. It resizes the layout managers larger which
results in a lot of unused white space for my application. I need
the contents to scale so if you make the window twice as large, then
all of the contents are twice as big. Bigger fonts, bigger
everything. I'm not sure how I can clarify this any further... :(
  
-- Matthew
  
  On 5/19/05, JesterXL [EMAIL PROTECTED]

wrote:
  
Make the width and height of your
application tag 100%...? That's what I do to get full screen
real-estate usage. Decreasing margins on things helps a lot too.


-
Original Message -
From:

Matthew Shirey 
To: flexcoders@yahoogroups.com

Sent: Thursday, May 19, 2005 6:31 PM
Subject: [flexcoders] Scale the size of a whole
application



This may sound like a odd request, but is there a way to scale the size
of a whole application so that all of the contents get larger? The
functionality that I desire is similar to what happens to a Flash movie
when you make its size bigger. I'd like to design an application at a
fixed resolution like 800x600. If the user then makes the web browser
bigger, I'd like the contents to scale up in size. Right now, with the
layout managers I basically just end up with more space. A lot of it
is wasted empty space. I have a specific user that is mildly vision
impaired. He makes everything on his screen gigantic. His monitor is
a nice 21 flat panel at 1600x1200 resolution. I'd like him to be able
to maximize the application to 1600x1200 there by making everything in
the application which is designed at 800x600 scale up to that size.

Anyone have any suggestions? I was a little long winded there, but I
hope I've accurately described my problem and the type of solution I'm
looking for. Any other suggestions on how I can deal with visibility
impaired users would also be helpful. Thank you!

-- Matthew



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 the Yahoo! Terms of
Service.
  



  
  










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 the Yahoo! Terms of Service.





















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 the Yahoo! Terms of Service.










Re: [flexcoders] Internal popups

2005-05-12 Thread Matthew Shirey



Yeah, you were just a little quicker than me getting that one posted. Mine is pretty much the same solution:

?xml version=1.0 encoding=utf-8?

mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml

 mx:Script
  ![CDATA[
  
   function toggleVis(){
tw.visible = !tw.visible;
   }
  ]]
 
 /mx:Script
 
 mx:Canvas width=100% height=100%
  mx:VBox x=0 y=0 width=100% height=100% horizontalAlign=center
   mx:Button click=toggleVis() label=click me/
  /mx:VBox
  mx:TitleWindow x=100 y=0
id=tw title=Some title width=300 height=200 visible=false
   mx:Label text=hi there/
  /mx:TitleWindow  
 /mx:Canvas

/mx:Application

-- MatthewOn 5/12/05, Sreejith Unnikrishnan [EMAIL PROTECTED] wrote:











ok ... 
thats interesting ..
Here's 
an idea ... you can try it ...

mx:Application
 mx:Canvas
 
mx:HBox
// 
Your entire application goes here //
 
/mx:HBox
 
mx:HBox
// The 
poup you need can go in here preferably in another Hbox hidden initially that 
takes x and y coordinates that you can pass either by mouse coordinates on 
Click//
 
mx:HBox x= 
y=
 
/mx:HBox
 
/mx:Hbox
 /mx:Canvas
mx:Application

:-)

  
  -Original Message-From: 
  flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of 
  Jeff BeemanSent: Friday, May 13, 2005 12:18 AMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] Internal 
  popups
  
  Hmm still not what 
  I'm looking for. I guess what I would like is for something like this 
  (what the previous responder sent) to work:
  
  ?xml version=1.0 
  encoding=utf-8?
  mx:Application 
  xmlns:mx=http://www.macromedia.com/2003/mxml
   
  mx:Button click=toggleVis() label=click 
  me/
   
  mx:TitleWindow id=tw title=Some title
   
  mx:Label text=hi there/
   
  /mx:TitleWindow
   
  mx:Script
   
  ![CDATA[
   
  function toggleVis(){
  
tw.visible = !tw.visible;
   
  }
  
   
  ]]
   
  /mx:Script
  /mx:Application
  
  But I need the TitleWindow to 
  behave not like a standard interface element (one that takes up space in the 
  layout), but like a normal popup window, one that appears above the content at 
  a specified location.
  
  It looks like using another MXML 
  file is the way to go
  
  
  
  
  
  /*** 
  Jeff 
  Beeman**/
  
  
  
  
  From: 
  flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Matt HornSent: Thursday, May 12, 2005 11:41 
  AMTo: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Internal 
  popups
  
  Here's an example 
  that uses createPopUp() to create a TextArea popup (no other file 
  required):
  
  ?xml 
  version=1.0?mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml
mx:Scriptimport 
  mx.managers.PopUpManager;
  
  var app = 
  mx.core.Application.application;var a = mx.controls.TextArea;var 
  p:MovieClip;
  
  
  function 
  createTextAreaPopup() {p = PopUpManager.createPopUp(app,a,false,{ 
  width:200,height:150,text:'Pop goes the weasel and the weasel goes pop' 
  });}
  
  
  function 
  destroyPopup() 
  {p.deletePopUp();}/mx:Script
  
  
  mx:VBox 
  xmlns:mx=http://www.macromedia.com/2003/mxml 
  width=500 height=200mx:Button id=b1 label=Create 
  TextArea Popup click=createTextAreaPopup(); /mx:Button 
  id=b2 label=Destroy Popup click=destroyPopup(); 
  //mx:VBox/mx:Application
  
  HTH,
  
  matt 
  horn
  flex 
  docs
  





From:
 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of JesterXL
Sent: Thursday, May 12, 2005 2:26 
PMTo: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Internal 
popups

It's compiled into the final SWF 
so there isn't technically a dependency.



However, if you want a simple 
popup, you could use an Alert.



check out Alert.show for that, 
and for loading internal components as popups, look up 
PopUpManager.createPopUp



- Original Message - 



From: 
Jeff 
Beeman 

To: 
flexcoders@yahoogroups.com 


Sent: 
Thursday, May 12, 2005 2:21 PM

Subject: RE: 
[flexcoders] Internal popups


I can't find an 
example or description of how to use the TitleWindow component without it 
being in an external file. Any pointers?



/*** 
Jeff 
Beeman**/




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt
Sent: Thursday, May 12, 2005 10:45 
AMTo: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Internal 
popups

You probably want 
the TitleWindow component.

Tracy






From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Jeff Beeman
Sent: Thursday, May 12, 2005 12:56 
PMTo: 

Re: [flexcoders] Vertical Text- is it possible?

2005-04-27 Thread Matthew Shirey



I'd like to know if there's a simple way to rotate a label placed on a canvas?

M.On 4/27/05, Abdul Qabiz [EMAIL PROTECTED] wrote:
Hi Nithya,It's not there by default, but you can do it by keeping one character perline in a Label or TextArea or TextInput. You can write a simpleVerticalLabel component that would do it for you. For example:
Look code below or find attached files.Hope that helps-abdul1) ##VerticalTextTest.mxmL##?xml version=1.0 encoding=iso-8859-1?mx:Application width=800 height=600
xmlns:mx=http://www.macromedia.com/2003/mxml xmlns:local=*local:VerticalLabel fontSize=15 text=Hey/
/mx:Application2) ##VerticalLabel.mxml##mx:VBox xmlns:mx=http://www.macromedia.com/2003/mxmlmx:Script
![CDATA[import mx.controls.Label;import mx.controls.TextInput;import mx.controls.Text;var text:String;var textField;
function createChildren():Void{var n = text.length;textField
= createChild(Label,textField);textField.styleName = this;for(var i=0;in;i++){textField.text+=
text.charAt(i) + \r;}}]]/mx:Script/mx:VBoxFrom: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]Sent: Wednesday, April 27, 2005 2:34 PMTo: flexcodersSubject: [flexcoders] Vertical Text- is it possible?
Hai!I want the text to be aligned vertically like:SHOPPINGIs it possible with flex? If yes, how?regards,nithya
Yahoo! Messengerhttp://uk.rd.yahoo.com/mail/tagline_messenger/*http://uk.messenger.yahoo.com- Communicate instantly...Ping your friends today! Download Messenger
Nowhttp://uk.rd.yahoo.com/mail/tagline_messenger/*http://uk.messenger.yahoo.com/download/index.html
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]mailto:[EMAIL PROTECTED]
?subject=Unsubscribe* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Servicehttp://docs.yahoo.com/info/terms/ .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/








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 the Yahoo! Terms of Service.










Re: [flexcoders] Vertical Text- is it possible?

2005-04-27 Thread Matthew Shirey



Thanks, thats just what I needed!

M.On 4/27/05, Abdul Qabiz [EMAIL PROTECTED] wrote:
Yeah,you can use Label's_rotation property. But you would need to embed thefont if you want to rotate a Label,TextInput or TextArea..For example:##RotateLabel.mxml##mx:Application xmlns:mx=
http://www.macromedia.com/2003/mxml width=425height=400 mx:Style@font-face { fontFamily:myfont;src:url(
file:///c:/windows/fonts/Georgia.TTF); } /mx:Stylemx:Canvas mx:Label fontFamily=myfont fontSize=16 id=out _rotation=45
text=This is a label alpha=20//mx:Canvas/mx:Application-abdulFrom: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]Sent: Wednesday, April 27, 2005 8:52 PMTo: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Vertical Text- is it possible?I'd like to know if there's a simple way to rotate a label placed on acanvas?M.On 4/27/05, Abdul Qabiz 
[EMAIL PROTECTED] wrote:Hi Nithya,It's not there by default, but you can do it by keeping onecharacter perline in a Label or TextArea or TextInput. You can write a simple
VerticalLabel component that would do it for you. For example:Look code below or find attached files.Hope that helps-abdul1) ##VerticalTextTest.mxmL##
?xml version=1.0 encoding=iso-8859-1?mx:Application width=800 height=600xmlns:mx=
http://www.macromedia.com/2003/mxml xmlns:local=*local:VerticalLabel fontSize=15 text=Hey//mx:Application2) ##VerticalLabel.mxml##
mx:VBox xmlns:mx=http://www.macromedia.com/2003/mxmlmx:Script![CDATA[import
mx.controls.Label;import
mx.controls.TextInput;import
mx.controls.Text;var
text:String;var
textField;function
createChildren():Void{var
n = text.length;textField
= createChild(Label,textField);textField.styleName
= this;for(var
i=0;in;i++){textField.text+=
text.charAt(i) + \r;}}]]/mx:Script/mx:VBox
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]Sent: Wednesday, April 27, 2005 2:34 PM
To: flexcodersSubject: [flexcoders] Vertical Text- is it possible?Hai!I
want the text to be aligned vertically like:SHOPPINGIs it possible with flex? If yes, how?regards,
nithyaYahoo! Messengerhttp://uk.rd.yahoo.com/mail/tagline_messenger/*http://uk.messenger.yahoo.co
m- Communicate instantly...Ping your friends today! DownloadMessengerNowhttp://uk.rd.yahoo.com/mail/tagline_messenger/*http://uk.messenger.yahoo.co
m/download/index.htmlYahoo! 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]mailto:
[EMAIL PROTECTED] ?subject=Unsubscribe*
Your use of Yahoo! Groups is subject to the Yahoo! Terms ofServicehttp://docs.yahoo.com/info/terms/ .Yahoo! Groups Links
http://docs.yahoo.com/info/terms/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]
mailto:[EMAIL PROTECTED]?subject=Unsubscribe* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
http://docs.yahoo.com/info/terms/ .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/







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 the Yahoo! Terms of Service.










Re: [flexcoders] Dynamic CSS

2005-04-25 Thread Matthew Shirey



No you cannot. Just search the groups for the keywords Dynamic CSS. You'll see quite a few posts on the topic.

-- MatthewOn 4/25/05, kaibabsowats [EMAIL PROTECTED] wrote:
Can you reference CSS files in the main Application file dynamically?I tried to bind a value to the CSS include statement and kept gettingerrors.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/







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 the Yahoo! Terms of Service.










Re: [flexcoders] Re: Windows Logon ID in Flex

2005-04-25 Thread Matthew Shirey



I'm doing this, but I'm using Flex to talk to an ASP.NET web service that gets the information and returns it.

M.On 4/25/05, kaibabsowats [EMAIL PROTECTED] wrote:
Since the flash player resides in a sandbox on the clients machine(for security reasons) it wont be able to talk to the underlying OS totry and grab sensitive information like Login ID's.
You would have to use other mechanisms to get the users Login ID andpass it along to the server.But this is quite complex and depends onclient machines and network setup.All way beyond Flex/Flash.Somebody correct me if I am wrong,
--- In flexcoders@yahoogroups.com, Tolulope Olonade [EMAIL PROTECTED]wrote: Anybody knows how I can get windows log on ID in Action Script??? or
 MXML??? Or Using any Flex technology.. Thanks.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/







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 the Yahoo! Terms of Service.










Re: [flexcoders] Re: Dynamic CSS

2005-04-25 Thread Matthew Shirey



Well, the solutions that were suggested to me were extrememly
programmatic. Setting each of the properties for the CSS file
manually. I really didn't like that solution. It worked
fine for adjusting the sizes of a few things, but for implementing a
full theme style sheet it was just too much.

Another along the same lines, used an xml file to define the css and
write a small reader to takes that xml file and applies the values to
the appropriate css properties. I tried this, and it worked very
well, but I still didn't like that the file was no longer a CSS
file. My designers are a bit fragile and they didn't like the
idea of editing an xml file instead of the css file they were already
familiar with.

So, I came up with something quite hackery that I'm not all that proud
of. It consists of multiple applications. One for each
style sheet. In each application there are only a few lines, one
of which is the one that includes the css file. That file then
includes the common Main component which is my application. 

So I have a single loader application, that looks up the users profile
and determines their theme setting. It redirects to the
appropriate mini-app that contains the css definition and loads the
main app inside of that.

Like I said, its not pretty, but it does what we want, and the graphics people can still work with their normal css files.

I hope this helps. I have already sent in a request to MM that
dynamic loading of css files be added to a future version of Flex, but
I have no idea if that will ever be a reality. I don't know how
much value they put in those requests.

-- MatthewOn 4/25/05, kaibabsowats [EMAIL PROTECTED] wrote:
Thx for your reply, I only see our posts when searching for Dynamic CSS.Any standard approaches to the Dynamic CSS limitation?--- In 
flexcoders@yahoogroups.com, Matthew Shirey [EMAIL PROTECTED] wrote: No you cannot. Just search the groups for the keywords DynamicCSS. You'll see quite a few posts on the topic.
 -- Matthew On 4/25/05, kaibabsowats [EMAIL PROTECTED] wrote: Can you reference CSS files in the main Application file dynamically? 
  I tried to bind a value to the CSS include statement and kept getting  errors.Yahoo! Groups Links 
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/








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 the Yahoo! Terms of Service.










Re: [flexcoders] WYSIWYG

2005-04-25 Thread Matthew Shirey



I am assuming you mean a WYSIWYG test editor. We have one we
created in Flash. I intend to convert that to a component that
can be used in Flex. Unless someone here has a better idea?

-- MatthewOn 4/25/05, Ryan Scott Jones [EMAIL PROTECTED] wrote:















Has anyone created a nice WYSIWYG
component for Flex? 











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 the Yahoo! Terms of Service.



















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 the Yahoo! Terms of Service.










Re: [flexcoders] WYSIWYG

2005-04-25 Thread Matthew Shirey



Heh, typo, I meant WYSIWYG TEXT editor... I think I type the word test to often.

M.On 4/25/05, Matthew Shirey [EMAIL PROTECTED] wrote:
I am assuming you mean a WYSIWYG test editor. We have one we
created in Flash. I intend to convert that to a component that
can be used in Flex. Unless someone here has a better idea?

-- MatthewOn 4/25/05, Ryan Scott Jones 
[EMAIL PROTECTED] wrote:















Has anyone created a nice WYSIWYG
component for Flex? 











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 the Yahoo! Terms of Service.




















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 the Yahoo! Terms of Service.










Re: [flexcoders] WYSIWYG

2005-04-25 Thread Matthew Shirey



Will do.

M.On 4/25/05, Ryan Scott Jones [EMAIL PROTECTED] wrote:



















Heh. Let us know when you get that
published. That'd be very useful for all of us, I would imagine.



Thanks!

Ryan











From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of Matthew Shirey
Sent: Monday, April 25, 2005 2:35 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] WYSIWYG





Heh, typo, I meant
WYSIWYG TEXT editor... I think I type the word test to often.

M.



On 4/25/05, Matthew Shirey
[EMAIL PROTECTED] wrote:

I am assuming you mean a WYSIWYG test editor. We have one we created
in Flash. I intend to convert that to a component that can be used in
Flex. Unless someone here has a better idea?

-- Matthew







On 4/25/05, Ryan Scott
Jones 
[EMAIL PROTECTED] wrote:



Has anyone created a nice WYSIWYG component for Flex? 











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 the Yahoo! Terms of Service. 



























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 the Yahoo! Terms of Service.



















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 the Yahoo! Terms of Service.










Re: [flexcoders] Re: Dynamic CSS

2005-04-25 Thread Matthew Shirey



That's so great to hear, thank you! Wasn't sure if those were being routed to dev/null or what.

M.On 4/25/05, Matt Chotin [EMAIL PROTECTED] wrote:

















 have
already sent in a request to MM that dynamic loading of css files be added to a
future version of Flex, but I have no idea if that will ever be a
reality. I don't know how much value they put in those requests.



We do value
the requests. I've seen a lot of requests for dynamic CS and it's
something we'll definitely have to think about.

Matt











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 the Yahoo! Terms of Service.



















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 the Yahoo! Terms of Service.










Re: [flexcoders] Tomcat

2005-04-21 Thread Matthew Shirey



I'm not sure I understand the if you can actually get Tomcat installed
correctly statement. We have the latest version of Tomcat and
Flex running here. Took about 10 minutes to set up and have the
samples site working. It's pretty simple really.

-- MatthewOn 4/21/05, JesterXL [EMAIL PROTECTED] wrote:
Works here; simple if you can actually get Tomcat installed correctly.http://www.jessewarden.com/archives/2005/03/flex_chronicles_8.html
- Original Message -From: Michel Jansen [EMAIL PROTECTED]To: flexcoders@yahoogroups.com
Sent: Thursday, April 21, 2005 2:16 PMSubject: [flexcoders] TomcatLS,Any users running Flex on Tomcat? I am looking for a Flex-Tomcat HOWTO...MJYahoo! Groups Links
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/








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 the Yahoo! Terms of Service.










Re: [flexcoders] How to trace the Variables in Flex

2005-04-20 Thread Matthew Shirey



I've written a couple of apps now and in both I made my own text box
for displaying trace and debug type info. I just found it a bit
quicker and simpler than the debugger in Flex. I'm going to try
the Flash debugger option though since I didn't know you could do
that. Hopefully that will be better than the flex debugger.
That thing is just too SLOW =(

-- MatthewOn 4/20/05, Kristopher Schultz [EMAIL PROTECTED] wrote:







Also, if you are using Flex Builder you can see your trace 
output without doing any special configuration or writing out to a log. Simply 
preview your file inside Flex Builderby pressing the debug button and 
then click the tab for the Output Panel to view any trace output as your app 
runs.


Kris

-- 

Kristopher Schultz
Developer

Resource Interactive
p: 614.410.2123
www.resource.com


  
  
  From: flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] On Behalf Of Abdul 
  QabizSent: Wednesday, April 20, 2005 3:22 PMTo: 
  flexcoders@yahoogroups.comSubject: RE: [flexcoders] How to trace 
  the Variables in Flex
  Yeah, you can do that...You need to use Flash debug 
  player and configure it for tracing. All tracemessages would be logged to 
  a log file.Look at following links on using trace(..) and configuring 
  Flash DebugPlayer for the same:http://livedocs.macromedia.com/flex/15/flex_docs_en/0792.htm
http://livedocs.macromedia.com/flex/15/flex_docs_en/0794.htm
-abdul 
  -Original Message-From: flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] Sent: Thursday, April 21, 2005 12:29 
  AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] How to trace the 
  Variables in FlexHi all,I have script in my mxml file. 
  i want to trace some variables, can i?Thanks  
  RegardsPathy







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 the Yahoo! Terms of Service.

















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 the Yahoo! Terms of Service.










Re: [flexcoders] Re: setting conditional enabled with AS

2005-04-19 Thread Matthew Shirey



Thank you both, this offered further insight into this problem. I
like the watch idea because it keeps it simple and literally watches
the variable(s). But I do see its limitations.

-- MatthewOn 4/19/05, Darron J. Schall [EMAIL PROTECTED] wrote:
Joe Berkovitz wrote:I don't recommend using watch() as Darron suggested, because you canonly have one user of watch() per watched object property.It's betterto do what MXML bindings do and listen for change events.
The problem is you can only get change events in certain situations.IfI have a variable x and I want to know when it changes, I can't sayx.addEventListener(modelChanged) because it doesn't exist in any data
provider.Not all changes to variables generate change events, which iswhy we use watch.Watch is the way to catch changes to any variable.Yes, you can only have 1 watch per variable, but you can work around
that by having 1 master watch that triggers other listeners...-dYahoo! 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/







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 the Yahoo! Terms of Service.










Re: [flexcoders] Re: setting conditional enabled with AS

2005-04-19 Thread Matthew Shirey



Heh, I guess I picked bad variable names. We're not talking about
x and y positioning here. subst var1 and var2 for x, y.

M.On 4/19/05, JesterXL [EMAIL PROTECTED] wrote:
Dudes, x is a getter/setter property.If you want to know when it changes,just listen for a move event.- Original Message -From: Darron J. Schall 
[EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Tuesday, April 19, 2005 3:23 PMSubject: Re: [flexcoders] Re: setting conditional enabled with AS
Joe Berkovitz wrote:I don't recommend using watch() as Darron suggested, because you canonly have one user of watch() per watched object property.It's betterto do what MXML bindings do and listen for change events.
The problem is you can only get change events in certain situations.IfI have a variable x and I want to know when it changes, I can't sayx.addEventListener(modelChanged) because it doesn't exist in any data
provider.Not all changes to variables generate change events, which iswhy we use watch.Watch is the way to catch changes to any variable.Yes, you can only have 1 watch per variable, but you can work around
that by having 1 master watch that triggers other listeners...-dYahoo! Groups LinksYahoo! 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/







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 the Yahoo! Terms of Service.










Re: [flexcoders] Large Fonts Components

2005-04-19 Thread Matthew Shirey



I think I know what you mean, I'll give it a shot. Thank you,

M.On 4/19/05, Manish Jethani [EMAIL PROTECTED] wrote:
On 4/19/05, Matthew Shirey [EMAIL PROTECTED] wrote:Problem here is there are components like the MenuBar, and the Column headers for the Datagrid that do not seem to be automatically adjusting for
 these large fonts.Thanks, Matthew, that's a great thing you found.I've logged a bug for this.Meanwhile, you could extend MenuBar to make this work.In themeasure() function, you'll have to set _measuredPreferredHeight to the
preferred height -- which would be enough to accomodate all the menuitem labels.Here's how you calculate the height required for text:var myTF = _getTextFormat();var txt = item.text
;var textExt = myTF.getTextExtent2(txt);var textH = textExt.height;_measurePreferredHeight = textH;In measure(), run this code in a loop iterating over all menu baritems, then take the maximum of these values and set
_measurePreferredHeight to that value.--[EMAIL PROTECTED]http://manish.revise.org/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/








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 the Yahoo! Terms of Service.










Re: [flexcoders] Large Fonts Components

2005-04-19 Thread Matthew Shirey



Okay, Here's what I tried:

import mx.controls.MenuBar;

class MyMenuBar extends MenuBar
{
 function measure():Void
 {
  super.measure();
  
  var item = getMenuAt(0);
  
  var myTF = _getTextFormat();
  var txt = item.text;

  var textExt = myTF.getTextExtent2(txt);
  var textH = textExt.height;

  preferredHeight = textH;
 }
}

I had to modify a couple of things from your example. First the
_measurePreferredHeight property doesn't seem seem to exist for the
MenuBar. I just used preferredHeight property.
Additionally, I couldn't find any way to iterate through the menus in
the menu bar. Maybe I'm missing something, but I read through the
API docs on the MenuBar pretty thoroughly. What I wrote seems to
work. It assumes there's at least one menu item and bases the
size off of that item. I my case its still making the menu item a
little short since the first item doesn't have any letters that reach
below the fonts baseline.

So my question now is... Is there a way to iterate through the menus in
a menubar? Oh, I also found this bit of info in the docs:

---
measure

measure(
		)
		
	 :
Void



   The MenuBar assumes a default height of 550x22.  It does not measure its contents todetermine its size.

---

Seems a like a bit of an oversight to me, but at least it is documented.

-- MatthewOn 4/19/05, Matthew Shirey [EMAIL PROTECTED] wrote:
Thank you, that did make it more clear. I knew what you meant by
extending the class, but I wasn't quite sure about overriding the
measure method. I didn't know if I would need to call the base
measure method or where. This cleared it up, thanks,

M.On 4/19/05, Manish Jethani 
[EMAIL PROTECTED] wrote:

On 4/20/05, Matthew Shirey [EMAIL PROTECTED] wrote:I think I know what you mean, I'll give it a shot.Thank you,
In case I was not clear, by extend I meant really subclass the
component class in ActionScript and override the measure function:class MyMenuBar extends MenuBar{function measure():Void{super.measure();// set _measuredPreferredHeight here to the right value
}}And use it in your MXML code as usual:MyMenuBar.../MyMenuBar--
[EMAIL PROTECTED]
http://manish.revise.org/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/








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 the Yahoo! Terms of Service.










Re: [flexcoders] Re: how to get the windows domain user id of the loc al machine?

2005-04-15 Thread Matthew Shirey

I believe that will require the user to authenticate against the
server first though right?

-- Matthew

On 4/15/05, Matt Chotin [EMAIL PROTECTED] wrote:
  
  
 
 Building on what Abdul is suggesting (since getRemoteUser() is what you'll
 want) you basically need to get your J2EE server to require authentication
 using the Windows authentication method.  I know that JRun supports this and
 I assume other app servers as well but you'll need to check their docs as to
 how to set it up. 
 
   
 
 Basically have the amf gateway protected using this authentication (or the
 whole server perhaps).  Then in your RemoteObject get the appropriate
 information (check out Working with session data in the docs) and away you
 go! 
 
   
 
 Matt 
 
   
  
  
  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
  Sent: Friday, April 15, 2005 12:36 AM
  To: flexcoders@yahoogroups.com
  Subject: RE: [flexcoders] Re: how to get the windows domain user id of the
 loc al machine? 
  
 
   
 
 Hi,
  
  There are methods in server-side scripts for such details, I guess in java
  servlets, you can look for getRemoteHost(), getRemoteUser(),
  getUserPrincipal() etc...
  
  Check out JSP/Java-servlet documentation...
  
  -abdul
  
  -Original Message-
  From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] 
  Sent: Friday, April 15, 2005 12:47 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: how to get the windows domain user id of the loc
  al machine?
  
  
  
  Thank you very much for your reply.
  
  My Flex application will run in a server box, and be used within a 
  domain.
  What I want is to retrieve the user's login-ID to its own box(domain-
  id), and make it the only one authorized login-ID to my flex 
  application.
  
  I tried to use System.getProperty(user.name) in remote object to do 
  that, but unforturnately, I can only get the login-id of the Server 
  box. I am wondering whether Flex can help me to retrieve the Client's 
  login-ID.
  
  Sincerely appreciate your help!
  
  
  
  
  
  --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
   The flash player doesn't have access to this information for 
  security
   reasons.  What are you looking to do?
   

   
   Matt
   

   
 _  
   
   From: youngceflex [mailto:[EMAIL PROTECTED] 
   Sent: Wednesday, April 13, 2005 7:25 AM
   To: flexcoders@yahoogroups.com
   Subject: [flexcoders] how to get the windows domain user id of the 
  local
   machine?
   

   
   
   Use flex. Thank you.:)
   
   
   
   
   
   
 _  
   
   Yahoo! Groups Links
   
   *  To visit your group on the web, go to:
   http://groups.yahoo.com/group/flexcoders/
   http://groups.yahoo.com/group/flexcoders/ 
 
   *  To unsubscribe from this group, send an email to:
   [EMAIL PROTECTED]
  
 mailto:[EMAIL PROTECTED]
 
   *  Your use of Yahoo! Groups is subject to the Yahoo!
   http://docs.yahoo.com/info/terms/  Terms of Service.
  
  
  
  
  
  
  Yahoo! Groups Links
  
  
  
  
  
  
  
  
  
  
  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 the Yahoo! Terms of Service.


 
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] key events and the application

2005-04-15 Thread Matthew Shirey



I thought it might be something like that. Thank you though for the details.

-- MatthewOn 4/15/05, Matt Chotin [EMAIL PROTECTED] wrote:



















You'll need to use a JSP page to
load your flex app and then use _javascript_ to set focus in the flash movie.
There have been other threads about this, basically myFlashObj.setFocus() will
take care of it but I don't know the rest of what you need to set up.
Search archives and maybe cflex and flexauthority?



Matt











From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
Sent: Friday, April 15, 2005 5:11
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] key events
and the application





I'm trying to set up my application to have some hotkeys defined to
make some things quicker for the utilitarian types. My only problem is
that there seems to be an issue with focus and the application. For
example, when the application loads it doesn't seem to have focus. Is
there a way to enforce application focus? I'm afraid that the experience
will be that the hotkeys don't work all of the time. Once I click on the
application somewhere then my current hotkey implementation works. Anyone
have some insight on this one? Thanks!

-- Matthew












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 the Yahoo! Terms of Service.



















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 the Yahoo! Terms of Service.










Re: [flexcoders] beginners question about sending data to custom flex components

2005-04-14 Thread Matthew Shirey



I'm fairly new at this data binding stuff... but I thought you were
only able to bind properties, or getters/setters. I have had
mixed results when I try to bind to a function. Is this wrong?

-- MatthewOn 4/14/05, Abdul Qabiz [EMAIL PROTECTED] wrote:











Hi,
Can you post 
the code so that we look at it? IMO this shouldn't happen?


-abdul



From: erik katerborg [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, April 14, 2005 3:10 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] beginners question 
about sending data to custom flex componentsImportance: 
High

hi,

This may be a beginner's question but I just can't 
figure one thing out: how to send dynamic data to a custom flex 
component.
what I want to do is the following:

myCustomSWC 
myDataToBeUsed={myActionscriptClass.getData();} /

the problem is that the function is not executed 
but simply passed as a string to the component. Another problem is that the 
actionscript class may not have initialised yet so the function would not work 
at all.

does anyone have a suggestion on how to do this 
???

thanks very much !!!

a confused flex coder,

erik.



  
  

  Erik Katerborg 
  Multimedia Designer t: 
  050 - 575.78.88 f: 050 - 575.88.89 e: [EMAIL PROTECTED]
 w: www.thefactore.com 

  theFactor.eFriesestraatweg 215a 
  Postbus 20109704CA 
  GroningenBusiness Partner for MediasurfaceAlliance Partner for 
  Macromedia







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 the Yahoo! Terms of Service.

















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 the Yahoo! Terms of Service.










Re: [flexcoders] any ideas about flex client side caching?

2005-04-14 Thread Matthew Shirey



Just be careful about how much you store in the SharedObject. By
default the client is set to accept up to 100k A 'Huge' dataset
might exceed that. If you exceed that about I think the client
then asks the user if more space can be allocated. I've just
started using a SharedObject; I'm a little paranoid about asking users
wierd questions, so I'm trying to keep it fairly limited.

-- MatthewOn 4/14/05, Abdul Qabiz [EMAIL PROTECTED] wrote:
Hi,You can cache object on client in SharedObject. So you can serialize a classto SharedObject on client and later deserialize to use in application.For example, you fetch a huge dataset from server(via xml, http or
remoteobject), you can serialize it to SharedObject and show a part of it infront-end when required. This way you can avoid network calls and memoryproblems...-abdul-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Sent: Thursday, April 14, 2005 10:33 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] any ideas about flex client side caching?Hi,all, In Christophe's blog, we can code our own class tocache data. Does flex provider some other solutions
for the client_side caching?Best RegardsFeng_Do You Yahoo!?150MP3http://music.yisou.com/
http://image.yisou.com1G1000http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1
g/Yahoo! Groups LinksYahoo! 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/







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 the Yahoo! Terms of Service.










Re: [flexcoders] Cairngorm flex/AS2 framework naming convention

2005-04-14 Thread Matthew Shirey



It's just a namespace... and they did make it afterall...

M.On 4/14/05, Valy Sivec [EMAIL PROTECTED] wrote:




Hello,
My undertanding is that this framework is free and was initiated by
the guys from iteration::two, and we all are gratefull for their
kindness to share with us this framework. Although, I have a question
about it...
Why should the packages have been named using the company name?
Shouldn't be nicer to have a neutral naming convention instead?.I know
that it isn't a big thing and all of them can be easily renamed or
maybe this will be part of the next release... 
Thanks Valy
		Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site! 







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 the Yahoo! Terms of Service.

















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 the Yahoo! Terms of Service.










Re: [flexcoders] beginners question about sending data to custom flex components

2005-04-14 Thread Matthew Shirey



That's actually more difficult than it sounds... Any time it has
happened I have coded around it. If the problem occurs again,
I'll be sure to share. At this point though, I simply avoid using
functions for data binding because of the problems I've had. If
another situation comes up where a function makes more sense, I'll give
it a try again and report any problems.

-- MatthewOn 4/14/05, Abdul Qabiz [EMAIL PROTECTED] wrote:









Hi Matthew,

It would really help, if you can give me a test-case where 
you see mixed result...It would really help us...

Thanks

-abdul


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] Sent: Thursday, April 14, 2005 
8:57 PMTo: flexcoders@yahoogroups.comSubject: Re: 
[flexcoders] beginners question about sending data to custom flex 
components
I'm fairly new at this data binding stuff... but I thought you were 
only able to bind properties, or getters/setters. I have had mixed results 
when I try to bind to a function. Is this wrong?-- Matthew
On 4/14/05, Abdul 
Qabiz [EMAIL PROTECTED] wrote:

  Hi,
  Can you post 
  the code so that we look at it? IMO this shouldn't happen?
  
  
  -abdul
  
  
  
  From: erik katerborg [mailto:[EMAIL PROTECTED]] 
  Sent: Thursday, April 14, 2005 3:10 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] 
  beginners question about sending data to custom flex 
  componentsImportance: High
  
  
  hi,
  
  This may be a beginner's question but I just 
  can't figure one thing out: how to send dynamic data to a custom flex 
  component.
  what I want to do is the following:
  
  myCustomSWC 
  myDataToBeUsed={myActionscriptClass.getData();} /
  
  the problem is that the function is not executed 
  but simply passed as a string to the component. Another problem is that the 
  actionscript class may not have initialised yet so the function would not work 
  at all.
  
  does anyone have a suggestion on how to do this 
  ???
  
  thanks very much !!!
  
  a confused flex coder,
  
  erik.
  
  
  


  
Erik Katerborg 
Multimedia Designer t: 
050 - 575.78.88 f: 050 - 575.88.89 e: [EMAIL PROTECTED] 
 w: www.thefactore.com 
  
theFactor.eFriesestraatweg 
215a 
Postbus 20109704CA 
GroningenBusiness Partner for MediasurfaceAlliance Partner 
for Macromedia
  
  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 the Yahoo! Terms of 
Service. 







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 the Yahoo! Terms of Service.

















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 the Yahoo! Terms of Service.










Re: [flexcoders] Re: Radio Button Custom Component

2005-04-14 Thread Matthew Shirey

That does make sense.  It's a bit of pain for what we're trying to do.
 But we'll find a workaround.  We're dealing with a ton of dynamic
data that is being used to generate in turn a dynamic interface. 
We'll just have to figure out a way to get the RadioButtons grouped in
the same container.  Thanks for the detailed explanation,

-- Matthew

On 4/14/05, Jason Szeto [EMAIL PROTECTED] wrote:
 
 Let me explain what is going on here and why it has been done this way.
 
 Let's say you've got a MXML Component called myChoice. It contains three
 RadioButtons, called rA, rB,  rC. You assign each of these a groupName
 called myGroup. It also has a member variable called dataProvider. The way
 that you use this component is that you set the dataProvider property, which
 then sets the label and data properties of each of your three RadioButtons.
 
 Now in your main application, you instantiate three of these myChoice
 components, called cA, cB,  cC.
 
 In this application, would you expect all nine RadioButton be part of a
 single group called myGroup? No, you'd expect that there would be three
 groups and that the RadioButtons within each component are only a part of
 the internal group of the component. The same thing with the dataProvider
 property. You wouldn't expect that this property would be shared among all
 three components.
 
 What is happening under the covers is that a RadioButtonGroup with the id
 myGroup is created as a member variable of the myChoice component.
 
 So in short, radio buttons can only share a RadioButtonGroup if they are
 within the same class. (Remember that each MXML file is its own class.)
 
 Jason
 
 -Original Message-
 From: jwaknitz [mailto:[EMAIL PROTECTED]
 Sent: Thursday, April 14, 2005 10:59 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: Radio Button Custom Component
 
 I tried that, to no avail.  :(
 
 --- In flexcoders@yahoogroups.com, Deepa Subramaniam [EMAIL PROTECTED]
 wrote:
  I don't see a mx:RadioButtonGroup tag in your code anywhere.
 This tag is
  what defines the group which your RadioButtons will work as a
 single control
  under. You can also use this tag to specify the labelPlacement for
 all the
  RB's in the group.
 
  So I think what you need is outside of your Repeater this:
 
  mx:RadioButtonGroup id=group1 labelPlacement=right /
 
  Check out the ASDocs for more info.
 
  -Original Message-
  From: jwaknitz [mailto:[EMAIL PROTECTED]
  Sent: Thursday, April 14, 2005 10:47 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Re: Radio Button Custom Component
 
 
 
  I went back to the script and changed the if statement to create a
  RadioButton directly to the app and not grab a component.  This
  fixed the group problem but is not the fix that I wanted.
  Components is much nicer for what I want as the other way has
  generated a few problems with my design.
 
  Does anyone have any input about why the groupName attribute
 doesn't
  seem to work between components?
 
 
  --- In flexcoders@yahoogroups.com, Matthew Shirey [EMAIL PROTECTED]
  wrote:
   I am working with Jack and I am familiar with his problem.
 There's
  a few
   reasons why we're using a component with a radio control inside
  it. Our
   problem is that it seems to be ignoring the groupName property.
 Do
  radio
   controls have to all exist inside the same parent container to
  work as a
   group? I have looked in the documentation and didn't see any
 such
   limitation. Maybe I missed it. Shouldn't you be able to put
 radio
  buttons
   anywhere in the application and as long as they all have the
 same
  groupName
   they all behave as a group?
  
   -- Matthew
  
   On 4/13/05, Tracy Spratt [EMAIL PROTECTED] wrote:
   
   
Why not just use straight mxml. The following works for me.
   
mx:VBox id=vboxRG x=3 y=3 
mx:Repeater id=repeaterRB
  dataProvider={leParameter.valuesarray}

mx:RadioButton id=RBParameter groupName=RGBParameter
data={repeaterRB.currentItem[0]}
label={repeaterRB.currentItem[labelColumn]}
click=setParameterValue(event)
width={this.width-6}/
/mx:Repeater
/mx:VBox
   
Tracy
   
-Original Message-
From: jwaknitz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 13, 2005 1:16 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Radio Button Custom Component
   
I'm using a repeater to grab a component that makes a
 radiobutton
each time.
When the app is displayed, there are 7 radiobuttons. The
 problem
is, they are not in the same group. They are all individually
checkable. I went into the component and gave the radiobutton a
groupName=group1. All of the radiobuttons then had the same
groupName. The problem was still there.
   
I also tried putting the component call within a
 RadioButtonGroup
component and had no luck.
   
Anyone have any solutions to this?
   
** App

Re: [flexcoders] full screen panel.

2005-04-13 Thread Matthew Shirey



I would be interested in that information as well if you manage to find it. Might you share if you do? Thanks!

-- MatthewOn 4/13/05, Duccio Del Ministro [EMAIL PROTECTED] wrote:
Thanks Manish.RegardsDuccio--- Manish Jethani [EMAIL PROTECTED] wrote:-On 4/13/05, Duccio Del Ministro 
[EMAIL PROTECTED]wrote: I'm trying to open a panel or a popup full screen. I've seen some flash sites using full screen modeand i'm wondering if we can do that in flex.
Some web browsers allow you to go full screen, but itmostly dependson the user's preferences.You'll have to use(possiblebrowser-specific) _javascript_ to achieve this (look onGoogle).--
[EMAIL PROTECTED]http://manish.revise.org/-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 the Yahoo!Terms of Service.___Nuovo Yahoo! Messenger: E' molto pi divertente: Audibles, Avatar, Webcam, Giochi, Rubrica Scaricalo ora!
http://it.messenger.yahoo.itYahoo! 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/







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 the Yahoo! Terms of Service.










Re: [flexcoders] Radio Button Custom Component

2005-04-13 Thread Matthew Shirey



I am working with Jack and I am familiar with his problem.
There's a few reasons why we're using a component with a radio control
inside it. Our problem is that it seems to be ignoring the
groupName property. Do radio controls have to all exist inside
the same parent container to work as a group? I have looked in
the documentation and didn't see any such limitation. Maybe I
missed it. Shouldn't you be able to put radio buttons anywhere in
the application and as long as they all have the same groupName they
all behave as a group?

-- MatthewOn 4/13/05, Tracy Spratt [EMAIL PROTECTED] wrote:
Why not just use straight mxml.The following works for me.mx:VBox id=vboxRG x=3 y=3  mx:Repeater id=repeaterRB dataProvider={leParameter.valuesarray
}mx:RadioButton id=RBParameter groupName=RGBParameterdata="">label={repeaterRB.currentItem[labelColumn]}
click=setParameterValue(event)width={this.width-6}/ /mx:Repeater/mx:VBoxTracy-Original Message-From: jwaknitz [mailto:
[EMAIL PROTECTED]]Sent: Wednesday, April 13, 2005 1:16 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Radio Button Custom Component
I'm using a repeater to grab a component that makes a radiobuttoneach time.When the app is displayed, there are 7 radiobuttons.The problemis, they are not in the same group.They are all individually
checkable.I went into the component and gave the radiobutton agroupName=group1.All of the radiobuttons then had the samegroupName.The problem was still there.I also tried putting the component call within a RadioButtonGroup
component and had no luck.Anyone have any solutions to this?** App:mx:Script![CDATA[var compData3:Object;var compData4:Object;
function repeaterfunc(){if(repradio.currentItem.nodeName == response_lid){compData3 = cont.createChild(Components.RadioButtons.labelbuttoncomp);compData3.compData4

= repradio.currentItem;}}]]/mx:Scriptmx:Repeater id=repradio dataProvider={compData2.childNodes[1].firstChild.childNodes} repeat=repeaterfunc()/
mx:VBox id=cont/mx:VBox** Component:mx:Script![CDATA[var compData4;]]/mx:Script
mx:RadioButtonlabel={compData4.firstChild.firstChild.firstChild.firstChild.firstChild.firstChild} groupName=group1 labelPlacement=right/Yahoo! Groups Links
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/









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 the Yahoo! Terms of Service.










Re: [flexcoders] Flex Non Comercial

2005-04-13 Thread Matthew Shirey



I have one. It took me about two weeks to get it once it was confirmed that I qualified for it.

-- MatthewOn 4/13/05, Rich Tretola [EMAIL PROTECTED] wrote:
Do you have a non comercial licence ?Does anyone have one ?On 4/13/05, Ryan Scott Jones [EMAIL PROTECTED] wrote: (But I'm not from MM.)
 -Original Message- From: Rich Tretola [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 13, 2005 2:46 PM To: 
flexcoders@yahoogroups.com Subject: [flexcoders] Flex Non Comercial Anyone herefrom MM know how long it takes to get a response about getting a non commercial flex licence ?
 Rich Yahoo! Groups Links Yahoo! Groups LinksYahoo! 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/









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 the Yahoo! Terms of Service.










Re: [flexcoders] Flex Non Comercial

2005-04-13 Thread Matthew Shirey



While it took me two weeks to get the license once I was approved, it
first took two weeks to get approved. I ended up calling MM twice
to try to get information on the status during those first two
weeks. I believe their approval process is very manual. I
am sure they have quick, and, as we've seen, slow response times.

-- MatthewOn 4/13/05, Simon Fifield [EMAIL PROTECTED] wrote:







I 
applied a couple of weeks ago and haven't heard a thing back since, perhaps I 
don't blog enough, but then they should at least tell me what's going 
on?

Simon

  -Original Message-From: Rich Tretola 
  [mailto:[EMAIL PROTECTED]]Sent: 13 April 2005 19:46To: 
  flexcoders@yahoogroups.comSubject: [flexcoders] Flex Non 
  ComercialAnyone here from MM know how long it 
  takes to get a response aboutgetting a non commercial flex licence 
  ?Rich







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 the Yahoo! Terms of Service
.


















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 the Yahoo! Terms of Service.










[flexcoders] SharedObject across Applications

2005-04-13 Thread Matthew Shirey



I am trying to use a SharedObject to store some data that will be
access across two applications. I am finding that the second
application cannot seem to access any of the data stored by the first
though. What little information I could find on the SharedObject
in the Macromedia Developing Flex Applications and Developing Rich
Clients with Macromedia Flex books indicated that the restriction on
sharing was based on the domain of the application. Am I missing
something here?

Thank you,

-- Matthew








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 the Yahoo! Terms of Service.










Re: [flexcoders] SharedObject across Applications

2005-04-13 Thread Matthew Shirey



Perfect! Thanks so much, that one has been driving me crazy all day!

-- MatthewOn 4/13/05, JesterXL [EMAIL PROTECTED] wrote:









It's all about the domains, baby!

As long as your apps are both deployed on 
cow.com, then just add a / to the 2nd parameter of your get, and it'll put 
the .sol at the top level of the domain. Currently, it's scoped to a 
folder name same as your app path. The 2nd parameter creates it's own 
folderpath/namespace. Maknig a / puts it at the top.

however, watch for out collisions of data since 
your both sharing. You don't have to worry about file handles or anything, 
but you know why checkin/checkout systems were invented in the first 
place...


  - Original Message - 
  
From: 
  Matthew Shirey 
  
  To: 
flexcoders@yahoogroups.com 
  Sent: Wednesday, April 13, 2005 6:02 
  PM
  Subject: [flexcoders] SharedObject across 
  Applications
  I am trying to use a SharedObject to store some data that will 
  be access across two applications. I am finding that the second 
  application cannot seem to access any of the data stored by the first 
  though. What little information I could find on the SharedObject in the 
  Macromedia Developing Flex Applications and Developing Rich Clients with 
  Macromedia Flex books indicated that the restriction on sharing was based on 
  the domain of the application. Am I missing something here?Thank 
  you,-- Matthew







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 the Yahoo! Terms of 









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 the Yahoo! Terms of Service.










Re: [flexcoders] MXMXL Editor

2005-04-13 Thread Matthew Shirey



I'd be interested in that answer as well.Flex Builder's
performance leaves a lot to be desired.Editing multiple CSS
files practically takes the editor to a stand still.M.On 4/13/05, Ketan Bengali [EMAIL PROTECTED] wrote:  Has anybody tried any editors apart from from Flex Builder for mxml?
 Flex Builder degrades the performance of my PC.  -- Regards,  Ketan Bengali   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/ 








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 the Yahoo! Terms of Service.










Re: [flexcoders] MXMXL Editor

2005-04-13 Thread Matthew Shirey



I may give that a try. I suppose I could do that and only use
Flex Builder when I need the debugger. Isn't there an Eclipse
plugin somewhere too? I swear I read that somewhere.

-- MatthewOn 4/13/05, Brooks Andrus [EMAIL PROTECTED] wrote:
















I've used XMLSPY home edition (free)
and quite enjoy it.











From: Matthew Shirey
[mailto:[EMAIL PROTECTED]] 
Sent: Wednesday, April 13, 2005
10:20 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] MXMXL
Editor





I'd be interested in that answer as well.Flex Builder's
performance leaves a lot to be desired.Editing multiple CSS files practically
takes the editor to a stand still.

M.

On 4/13/05, Ketan Bengali [EMAIL PROTECTED]
wrote:
 
 Has anybody tried any editors apart from from Flex Builder for mxml? 
 Flex Builder degrades the performance of my PC.
 
 --
 Regards,
 
 Ketan Bengali
 
 
 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/
 
 










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 the Yahoo! Terms of Service.





















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 the Yahoo! Terms of Service.










Re: [flexcoders] MXMXL Editor

2005-04-13 Thread Matthew Shirey



Yes, that's who makes XML SPYOn 4/13/05, Ketan Bengali [EMAIL PROTECTED] wrote:
Is it altova.com ?Regards,Ketan BengaliBrooks Andrus wrote: I've used XMLSPY home edition (free) and quite enjoy it. 
 *From:* Matthew Shirey [mailto:[EMAIL PROTECTED]] *Sent:* Wednesday, April 13, 2005 10:20 PM *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] MXMXL Editor I'd be interested in that answer as well. Flex Builder's performance leaves a lot to be desired. Editing multiple CSS files practically takes the editor to a stand still.
 M. On 4/13/05, Ketan Bengali [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
 Has anybody tried any editors apart from from Flex Builder for mxml? Flex Builder degrades the performance of my PC. -- Regards, Ketan Bengali
 Yahoo! Groups Links mailto:[EMAIL PROTECTED]
  *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]
 mailto:[EMAIL PROTECTED]?subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
 Service http://docs.yahoo.com/info/terms/.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/-- -=-
 Matthew Alan Shirey Software Engineer Center for Teaching, Learning, and Technology Washington State University E-mail: [EMAIL PROTECTED] Office: 5-0476
-=-








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 the Yahoo! Terms of Service.










Re: [flexcoders] Dynamically Changing an entire CSS

2005-04-07 Thread Matthew Shirey



This type of solution sounds a little like what I am trying to avoid, but do you have an example of what that would look like? It sounds like it might be a bit more complex than my hack even, but I'd like to be able to compare the two solutions.

-- Matthew
On Apr 6, 2005 11:57 PM, Gordon Smith [EMAIL PROTECTED] wrote:

There is no CSS parser in the Flash Player or in the Flex framework... only in the MXML compiler. So you can't load a CSS file at runtime unless you want to parse it yourself.

But if you save your user profiles -- including their customized styles -- as XML files on the server, you could download them, parse them, and set various styles, including global styles that affect the entire application, using a fairly small amount of ActionScript.

- Gordon



-Original Message-From: Matthew Shirey [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 06, 2005 4:39 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Dynamically Changing an entire CSS
Right, but what I am trying to do requires the style to be selectable on a per user basis,from a profile setting. I have a workaround I am currently attempting. It's a little hackish, but doesn't require a ton of actionscript. If its successful then I'll share to this list.
-- Matthew

On Apr 6, 2005 11:39 AM, JesterXL [EMAIL PROTECTED] wrote:

Nope, you were right the first time; Flash does compile the CSS into the SWF; basically hardcodes the CSS value settings.

The reason I said upload a new CSS to the server is that the Flex server, when a new request comes in for the MXML file, should detect the CSS file change, and generate a new SWF for the end user that will have the new CSS styles in it.

- Original Message - 
From: Matthew Shirey 
To: flexcoders@yahoogroups.com 

Sent: Wednesday, April 06, 2005 2:34 PM
Subject: Re: [flexcoders] Dynamically Changing an entire CSS


Okay wait, let me get this right... Flex does not compile the css directly into the resulting swf? It reads the css at runtime? If that is true then you could write a jsp file that output the CSS. That css could change based on cookie or session type data. Does that sound like an option that might work?

-- Matthew
On Apr 6, 2005 10:25 AM, JesterXL [EMAIL PROTECTED] wrote: 

You cannot change CSS at runtime except via the setting of styles, as you have indicated.

However, if restarting the application is acceptable, simply replace the CSS file on the server, and refresh the browser.


- Original Message - 
From: Matthew Shirey 
To: flexcoders@yahoogroups.com 
Sent: Wednesday, April 06, 2005 1:13 PM
Subject: [flexcoders] Dynamically Changing an entire CSS

After searching the mailing list archives I cannot seem to find a good answer for this question so I thought I'd re-ask it and see if it could get some additional feedback.

We have multiple VERY extensive CSS files. We'd like to be able to dynamically switch between the CSS files at run time. So far the only solution that I have been able to come up with is to use the JSP Flex tag library to generate the main mxml application file and dynamically set the CSS file there. I only need to set this once, during the application initialization. If the CSS preference is changed, it is acceptable to restart the application. I saw some rather hackish ways of programmatically going through and resetting the style on individual items in the application, but this is very large application and that's just impractical. Ideally we just need to change the CSS. Is there no way to do this in MXML/ActionScript? Is this just a missing feature that we might expectfixed/added in a future version?

Thank you,

-- Matthew

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 the Yahoo! Terms of Service. 

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 the Yahoo! Terms of Service. 

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 the Yahoo! Terms of Service. 







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 the Yahoo! Terms of Service.










Re: [flexcoders] ActionScript Components

2005-04-07 Thread Matthew Shirey



I think things are a bit messy for many reasons. In this casebecause for each component I also have a separate action script file.Between that and having the actionscript embeded in the mxml files it seemed like the lesser of two evils. On top of that Flex Builder doesn't seem to manage its resources very well and performance declines rapidly when you have many files open. My current project is starting to have a lot of files. I have found that you just need to shut Flex Builder down at least half way through the day and restart it to clear the resources. I have been using Microsoft Visual Studio since it was version 1. I think its just that, in todays world of programming, I am used to things being a little more refined, organized, and working withmuch higher performance.

Don't get me wrong, I love Flex. I started working with web applications using Perl on our Unixmachines. As bad as it was the weakest link was always that the end result was HTML.Flex is the solution the web has been waiting for all this time. I just find the development process and environmentmore than alittle lacking. It would help if the UI actually associated the AS file with the MXML file visually. Similar to the way ASP.NET does code-behind representations in the project explorer. Right now the best I can do is use the same root name for a components MXML and AS files so they appear next to each other in the file list. It would also be nice if the while editing the AS file, the editor had some knowlege of the MXML file it was linked to so that syntax highlighting and code completion would be aware of the objects on the MXML file. This is again a behavior that I am used to in Visual Studio.NET and find I miss while working in Flex Builder.

I would also like to see some sort of project management built into Flex Builder. It would be very nice if there was a way to create a new Flex project that would take care of creating all of the directory structure and placing all of the files that are needed to run a flex application. Right now there only seems to be two methods. Put all of your applications in one instance of the Flex Web Application or copy and modify the Flex.war file for each application, or some combination of both. These options are not very attractive. (Please correct me if I'm wrong here, I'd love to find that I have just overlooked something). It would also be nice if Flex Builder could then package and streamline the deployment process by creating a ready to deploy war file. I also use both JDeveloper from Oracle, and JBuilder from Borland as my java development environments. Both of these would be excellent examples of project and deployment management done well.

So when I say messy its not just one little thing. It's more an _expression_ of how I find the overall development process in Flex right now. During my last 12 years as a software developer I think I have used nearly every type of development environment out there. I really hope that Macromedia is working on improving not only the performance of flex builder, but also the feature list. If not, I realize that I am seriously spoiled by Microsoft's Visual Studio.NET, which is clearly my favorite. I am mentallyblocking out the days of programming in C in Unix where the only tools we had we all commandline based (my sympathy to those still doing that). So I know things could be much worse, but I also know how much better they can be. Since we are paying MUCH more for the product now, I think it only reasonable that the product also rise to our expectations. For our shop, Visual Studio.NET and the ASP.NET Server are _much_ cheaper than Flex and Flex Builder. I don't think my expectations are unreasonable for Flex. It has so much potential, I'd really like to see it go where I think it can.

-- Matthew

P.S. Sorry if this came out as a rant... it wasn't really meant to. flame away if you feel the need
On Apr 7, 2005 8:59 AM, Erik Westra [EMAIL PROTECTED] wrote:

Nope, same error. Im sure its a namespace problem. And yes, u can use  (nothing) as a namespace. Usually i use the whole package path as namespace:

com.package:panel xmlns:mx=http://www.macromedia.com/2003/mxml xmlns:com.package=com.package.*/com.package:panel


Greetz Erik


From: JesterXL [mailto:[EMAIL PROTECTED]] Sent: donderdag 7 april 2005 17:16 
To: flexcoders@yahoogroups.comSubject: Re: [flexcoders] ActionScript Components


That doesn't look like the correct way to do a namespace; I'm still learning the freedom of syntax, so bare with me. It appears your colliding your namespace with the mx one. Instead, make your own; where you have xmlns=erik.extend I changed it to xmlns:ew=erik.extend.

Try that.


ew:panel xmlns:mx=http://www.macromedia.com/2003/mxml xmlns:ew=erik.extend.*mx:Button label=yellow //ew:panel


- Original Message - 
From: Erik Westra 
To: flexcoders@yahoogroups.com 
Sent: Thursday, April 07, 2005 11:03 AM
Subject: RE: [flexcoders] ActionScript Components

Well, flex 

Re: [flexcoders] Flex 1.5 price

2005-04-07 Thread Matthew Shirey



Just call MM and try to order. That's all the proof you need.My MMcontact did confirm to me the day before that it was indeed going up.

-- Matthew
On Apr 7, 2005 11:43 AM, Kristopher Schultz [EMAIL PROTECTED] wrote:

OK. After all the chatter and speculation on the price of Flex changing on April 1st, did it ever really happen? I've been on vacation and upon returning I have not been able to find any official announcement on MM's site. Has pricing changed? Can some one point me to definitive proof?

Thanks!


Kris

-- 

Kristopher Schultz
Developer

Resource Interactive
p: 614.410.2123
www.resource.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 the Yahoo! Terms of Service. 







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 the Yahoo! Terms of Service.










Re: [flexcoders] How to add an image or icon beside titles of a container

2005-04-07 Thread Matthew Shirey



I read somewhere in this list about using a custom renderer for the accordian container bar. I am far from a flex expert yet, but I imagine you could do it that way...

M.
On Apr 7, 2005 10:49 AM, Ghislain Simard [EMAIL PROTECTED] wrote:
how to add an conditional icon beside a title inside a tab title or anaccordion bar title?The icon will show or not depending on data captured inside thecontainer.thanksYahoo! 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/







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 the Yahoo! Terms of Service.










Re: [flexcoders] flex and javascript

2005-04-07 Thread Matthew Shirey



To my knowledge Flash itself has no way to upload a file. Other than the SharedObject I don't think it has any access to the local filesystem. (as always please correct me if I'm wrong) That would be the real problem. The HTML/_javascript_ solutions are the workaround and in turn require the communication line between Flex/Flash and _javascript_.

As for book suggestions... Maybe outline and provide examples for a more event driven model while communicating with _javascript_? It's nice that you can call functions both ways though.

Are you also covering cross-browser issues? I have worked with _javascript_ and JavaApplets in the past and found many inconsistencies between the browser versions. I am wondering if those issues are also present when working with _javascript_ and Flash. It was a few years ago that I encountered those issues so they may not even be a problem today.

-- Matthew
On Apr 7, 2005 8:08 AM, Erik Westra [EMAIL PROTECTED] wrote:
The problem here is that file uploading is only possible with a htmlformfield of the type file. That is the reason that _javascript_communication is so importend. Via _javascript_ u can create a 'file'formfield and press the browse button, this is usually the way ppl fakefile uploads in flash. The problem is, that this does not work in allbrowsers, not all browsers make it possible to press the 'browse'button.So the only real solution could come from new functionality in the flashplayer.Greetz Erik-Original Message-From: Duccio Del Ministro [mailto:[EMAIL PROTECTED]]Sent: donderdag 7 april 2005 16:16To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] flex and _javascript_I know there have been many requests regarding flex file uploader. Ihope to see soon this feature andif it's not a problem, i have somequestion about what you have in mind:will this new feature support multiple file upload?will it have support for image preview?When are you planning to release it?Sorry for all that questions but file uploading is really important forthe application i'm working on.ThanksDuccioYahoo! 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/







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 the Yahoo! Terms of Service.










Re: [flexcoders] Flex 1.5 price

2005-04-07 Thread Matthew Shirey



That's true, but my point was that he might want to just go right to the source since its really easy to just pick up the phone and call. Lucian also stated that there was pricing based on 'interview' or 'discussion'. So again, its most likely best just to call MM.

M.
On Apr 7, 2005 12:13 PM, Spike [EMAIL PROTECTED] wrote:
That's hardly giving Kris any more information than he already knew ;-)Here's a (hopefully) more helpful response.Lucian Beebe posted to the list a week or two back explaining thedetails of the new pricing. You can view his post here:http://groups.yahoo.com/group/flexcoders/message/12200SpikeMatthew Shirey wrote: Just call MM and try to order.That's all the proof you need.My MM contact did confirm to me the day before that it was indeed going up. -- Matthew On Apr 7, 2005 11:43 AM, *Kristopher Schultz* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: OK. After all the chatter and speculation on the price of Flex changing on April 1st, did it ever really happen? I've been on vacation and upon returning I have not been able to find any official announcement on MM's site. Has pricing changed? Can some one point me to definitive proof? Thanks! Kris -- Kristopher Schultz Developer Resource Interactive p: 614.410.2123 www.resource.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] mailto:[EMAIL PROTECTED]?subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/.  *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] mailto:[EMAIL PROTECTED]?subject=Unsubscribe * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service http://docs.yahoo.com/info/terms/.--Stephen MilliganCode poet for hirehttp://www.spike.org.ukDo you cfeclipse? http://cfeclipse.tigris.orgYahoo! 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/







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 the Yahoo! Terms of Service.










Re: [flexcoders] Dynamically Changing an entire CSS

2005-04-07 Thread Matthew Shirey



Okay, I am starting to see how this could work. Is there a way to change a css class definition tho? Using your example would that be like: 

StyleManager.styles.myClass.setStyle(fontSize, 14);
I am just guessing here. I have a long series of defined css classes that I would have to modify. If there is a way to modify these then this might indeed be easier than my own solution.

-- Matthew
On Apr 7, 2005 12:16 PM, Gordon Smith [EMAIL PROTECTED] wrote:

Sorry, I don't have any examples. I was just offeringa theoretical solution. ; )

But you should be able to programmaticallychange a global style like this:

StyleManager.styles.global.setStyle(fontSize, 14);

and astyle for all instances of a particularcomponent like this:

 StyleManager.styles.Button.setStyle(fontSize, 14);

- Gordon


-Original Message-From: Matthew Shirey [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, April 07, 2005 11:02 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Dynamically Changing an entire CSS

This type of solution sounds a little like what I am trying to avoid, but do you have an example of what that would look like? It sounds like it might be a bit more complex than my hack even, but I'd like to be able to compare the two solutions.

-- Matthew
On Apr 6, 2005 11:57 PM, Gordon Smith [EMAIL PROTECTED] wrote: 

There is no CSS parser in the Flash Player or in the Flex framework... only in the MXML compiler. So you can't load a CSS file at runtime unless you want to parse it yourself.

But if you save your user profiles -- including their customized styles -- as XML files on the server, you could download them, parse them, and set various styles, including global styles that affect the entire application, using a fairly small amount of ActionScript.

- Gordon



-Original Message-From: Matthew Shirey [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 06, 2005 4:39 PMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] Dynamically Changing an entire CSS
Right, but what I am trying to do requires the style to be selectable on a per user basis,from a profile setting. I have a workaround I am currently attempting. It's a little hackish, but doesn't require a ton of actionscript. If its successful then I'll share to this list.
-- Matthew

On Apr 6, 2005 11:39 AM, JesterXL [EMAIL PROTECTED] wrote:

Nope, you were right the first time; Flash does compile the CSS into the SWF; basically hardcodes the CSS value settings.

The reason I said upload a new CSS to the server is that the Flex server, when a new request comes in for the MXML file, should detect the CSS file change, and generate a new SWF for the end user that will have the new CSS styles in it.

- Original Message - 
From: Matthew Shirey 
To: flexcoders@yahoogroups.com 

Sent: Wednesday, April 06, 2005 2:34 PM
Subject: Re: [flexcoders] Dynamically Changing an entire CSS


Okay wait, let me get this right... Flex does not compile the css directly into the resulting swf? It reads the css at runtime? If that is true then you could write a jsp file that output the CSS. That css could change based on cookie or session type data. Does that sound like an option that might work?

-- Matthew
On Apr 6, 2005 10:25 AM, JesterXL [EMAIL PROTECTED] wrote: 

You cannot change CSS at runtime except via the setting of styles, as you have indicated.

However, if restarting the application is acceptable, simply replace the CSS file on the server, and refresh the browser.


- Original Message - 
From: Matthew Shirey 
To: flexcoders@yahoogroups.com 
Sent: Wednesday, April 06, 2005 1:13 PM
Subject: [flexcoders] Dynamically Changing an entire CSS

After searching the mailing list archives I cannot seem to find a good answer for this question so I thought I'd re-ask it and see if it could get some additional feedback.

We have multiple VERY extensive CSS files. We'd like to be able to dynamically switch between the CSS files at run time. So far the only solution that I have been able to come up with is to use the JSP Flex tag library to generate the main mxml application file and dynamically set the CSS file there. I only need to set this once, during the application initialization. If the CSS preference is changed, it is acceptable to restart the application. I saw some rather hackish ways of programmatically going through and resetting the style on individual items in the application, but this is very large application and that's just impractical. Ideally we just need to change the CSS. Is there no way to do this in MXML/ActionScript? Is this just a missing feature that we might expectfixed/added in a future version?

Thank you,

-- Matthew

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 the Yahoo! Terms of Service. 

Yahoo! Groups Links

To visit your group on the web, go to:http

Re: [flexcoders] Re: Development Environment Setup Q's

2005-04-06 Thread Matthew Shirey



Is there any way to integrate Flex Builder and Subversion or is the process more manual?

-- Matthew
On Apr 6, 2005 9:04 AM, JesterXL [EMAIL PROTECTED] wrote:
The only time things get bleh is when you and your fellow developers don'tcommunicate.As long as communication is continous, and people have goodattitudes, it usually works out.- Original Message -From: temporal_illusion [EMAIL PROTECTED]To: flexcoders@yahoogroups.comSent: Wednesday, April 06, 2005 12:00 PMSubject: [flexcoders] Re: Development Environment Setup Q'sWow, thanks for the in depth replies Chafic and Jester!!I really doapprecaite them.Being a fairly young developer and having a boss that is gung-ho aboutOO and Agile methodologies means I'm motivated towards the elegantsolutions, but it's nice to see that these real world problems aren'thard only for me :-)So far our apps have been small sample type deals, but we do have somelarger ones in the pipe.I just want to, as you say, avoid anypotential problems down the road when we move into something complicated.--- In flexcoders@yahoogroups.com, Chafic Kazoun [EMAIL PROTECTED] wrote: lots of good stuffYahoo! Groups LinksYahoo! 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/







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 the Yahoo! Terms of Service.










[flexcoders] Dynamically Changing an entire CSS

2005-04-06 Thread Matthew Shirey



After searching the mailing list archives I cannot seem to find a good answer for this question so I thought I'd re-ask it and see if it could get some additional feedback.

We have multiple VERY extensive CSS files. We'd like to be able to dynamically switch between the CSS files at run time. So far the only solution that I have been able to come up with is to use the JSP Flex tag library to generate the main mxml application file and dynamically set the CSS file there. I only need to set this once, during the application initialization. If the CSS preference is changed, it is acceptable to restart the application. I saw some rather hackish ways of programmatically going through and resetting the style on individual items in the application, but this is very large application and that's just impractical. Ideally we just need to change the CSS. Is there no way to do this in MXML/ActionScript? Is this just a missing feature that we might expectfixed/added in a future version?

Thank you,

-- Matthew







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 the Yahoo! Terms of Service.










Re: [flexcoders] Dynamically Changing an entire CSS

2005-04-06 Thread Matthew Shirey



Okay wait, let me get this right... Flex does not compile the css directly into the resulting swf? It reads the css at runtime? If that is true then you could write a jsp file that output the CSS. That css could change based on cookie or session type data. Does that sound like an option that might work?

-- Matthew
On Apr 6, 2005 10:25 AM, JesterXL [EMAIL PROTECTED] wrote:

You cannot change CSS at runtime except via the setting of styles, as you have indicated.

However, if restarting the application is acceptable, simply replace the CSS file on the server, and refresh the browser.


- Original Message - 
From: Matthew Shirey 
To: flexcoders@yahoogroups.com 
Sent: Wednesday, April 06, 2005 1:13 PM
Subject: [flexcoders] Dynamically Changing an entire CSS

After searching the mailing list archives I cannot seem to find a good answer for this question so I thought I'd re-ask it and see if it could get some additional feedback.

We have multiple VERY extensive CSS files. We'd like to be able to dynamically switch between the CSS files at run time. So far the only solution that I have been able to come up with is to use the JSP Flex tag library to generate the main mxml application file and dynamically set the CSS file there. I only need to set this once, during the application initialization. If the CSS preference is changed, it is acceptable to restart the application. I saw some rather hackish ways of programmatically going through and resetting the style on individual items in the application, but this is very large application and that's just impractical. Ideally we just need to change the CSS. Is there no way to do this in MXML/ActionScript? Is this just a missing feature that we might expectfixed/added in a future version?

Thank you,

-- Matthew

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 the Yahoo! Terms of Service. 







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 the Yahoo! Terms of Service.










Re: [flexcoders] Dynamically Changing an entire CSS

2005-04-06 Thread Matthew Shirey



Right, but what I am trying to do requires the style to be selectable on a per user basis,from a profile setting. I have a workaround I am currently attempting. It's a little hackish, but doesn't require a ton of actionscript. If its successful then I'll share to this list.
-- Matthew

On Apr 6, 2005 11:39 AM, JesterXL [EMAIL PROTECTED] wrote:

Nope, you were right the first time; Flash does compile the CSS into the SWF; basically hardcodes the CSS value settings.

The reason I said upload a new CSS to the server is that the Flex server, when a new request comes in for the MXML file, should detect the CSS file change, and generate a new SWF for the end user that will have the new CSS styles in it.

- Original Message - 
From: Matthew Shirey 
To: flexcoders@yahoogroups.com 

Sent: Wednesday, April 06, 2005 2:34 PM
Subject: Re: [flexcoders] Dynamically Changing an entire CSS


Okay wait, let me get this right... Flex does not compile the css directly into the resulting swf? It reads the css at runtime? If that is true then you could write a jsp file that output the CSS. That css could change based on cookie or session type data. Does that sound like an option that might work?

-- Matthew
On Apr 6, 2005 10:25 AM, JesterXL [EMAIL PROTECTED] wrote: 

You cannot change CSS at runtime except via the setting of styles, as you have indicated.

However, if restarting the application is acceptable, simply replace the CSS file on the server, and refresh the browser.


- Original Message - 
From: Matthew Shirey 
To: flexcoders@yahoogroups.com 
Sent: Wednesday, April 06, 2005 1:13 PM
Subject: [flexcoders] Dynamically Changing an entire CSS

After searching the mailing list archives I cannot seem to find a good answer for this question so I thought I'd re-ask it and see if it could get some additional feedback.

We have multiple VERY extensive CSS files. We'd like to be able to dynamically switch between the CSS files at run time. So far the only solution that I have been able to come up with is to use the JSP Flex tag library to generate the main mxml application file and dynamically set the CSS file there. I only need to set this once, during the application initialization. If the CSS preference is changed, it is acceptable to restart the application. I saw some rather hackish ways of programmatically going through and resetting the style on individual items in the application, but this is very large application and that's just impractical. Ideally we just need to change the CSS. Is there no way to do this in MXML/ActionScript? Is this just a missing feature that we might expectfixed/added in a future version?

Thank you,

-- Matthew

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 the Yahoo! Terms of Service. 

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 the Yahoo! Terms of Service. 







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 the Yahoo! Terms of Service.










Re: [flexcoders] Experiences with XMLSocket?

2005-04-05 Thread Matthew Shirey



It should be pointed out that the server is what you are most interested in for this case. I have had good experiences using XMLSocket and Flash in many situations. I have however seen many horrible server implementations that result in poor performance that have nothing to do with the Flash client...

-- Matthew
On Apr 4, 2005 6:03 PM, Ben Elmore [EMAIL PROTECTED] wrote:
Eric.We are using XMLSockets in one of the engagements that I am currentlyworking on. We are in development phase at the moment and are looking to usesockets to be able to push real time status information to the client. Thegoal is to support around 2000 simultaneous connections. While the app islooking to be built in Flash for this version, Flex was fully capable inhandling this requirement. My thought would be if you abstract out yourservice calls and have the application setup with a series of respondermethods (onResult) to the XMLSocket calls you can very easily have bothstateful and stateless communication with your server to optimize you middletier interaction.You can email me off line if you like. Since we haven't deployed out to QAyet I can't specifically talk to the issues you noted below. At least notyet.Ben-Original Message-From: Eric Raymond [mailto:[EMAIL PROTECTED]]Sent: Monday, April 04, 2005 8:07 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Experiences with XMLSocket?We are looking at using XMLSocket and a data push model to improve somereal-time aspects our application.Has anyone had real experience using XMLSOcket with a large set of users?Iguess I'm looking for cases where it doesn't work (e.g., firewall issues) ordoesn't work well.Yahoo! Groups LinksYahoo! 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/







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 the Yahoo! Terms of Service.










[flexcoders] ActionScript Components

2005-04-05 Thread Matthew Shirey



Might someone point me in the direction of some good docs/examples of creating components using ActionScript. I have the RIA book and chapter 10 has some information, but its disappointingly sparse. Mostly I am interested in how to create a composite component. A component containing many other components. The examples I have seen so far simply extend a given component and alter its behavior.Right now I am creating all of my components in MXML with a separate file for their ActionScript. It's starting to get a bit messy for complex components. Any kind of a boot in the right direction would be helpful. Thanks!

-- Matthew







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 the Yahoo! Terms of Service.










Re: [flexcoders] Run MXML on PC, Calling to Java on Remote Server - Help

2005-04-04 Thread Matthew Shirey



My guess would be that most don't have enough information to help. I am not sure what you are trying to attempt here. You may want to be more specific about what it is you are trying to do. What kind of java programs are you trying to'make calls' to? What do you mean by 'make calls'...

-- Matthew

On Apr 4, 2005 2:48 PM, Libby Chantel [EMAIL PROTECTED] wrote:  Is this not doable?  --- Libby Chantel [EMAIL PROTECTED] wrote:  I am a newbie with Flex, trying to get it going for  a  proof of concept. I have Flex installed on my remote  Java Server (Websphere). I can successfully make  calls  from Flash apps on my pc to the java programs  running  on the server. So far, I cannot get the very same  calls from Flex to work. I cannot find an example of  this setup in the MM doco for Flex. Could someone  PLEASE either post a link to the doco that explains  it  in terms a dummy like me can understand, or, post  sample MXML code that works for you? Or, maybe even  do  both :)   Thank you very much,  Libby  __  Do you Yahoo!?  Yahoo! Small Business - Try our new resources site!  http://smallbusiness.yahoo.com/resources/   __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/  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/  







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 the Yahoo! Terms of Service.










[flexcoders] Sort Order in a DataGrid

2005-04-04 Thread Matthew Shirey



Might someone point me in the right direction for altering the sort order method(s) for a DataGrid? It's currently annoying litteral. I'd like to alter it so it is case insensitive. Currently the column orders somewhat like this:

A
B
C
.
.
Z
a
b
c
.
.
.
z

while I'd like it to order like:

A
a
B
b
C
c

etc...

I hope someone can throw me in the right direction, thanks!

-- Matthew







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 the Yahoo! Terms of Service.










Re: [flexcoders] Sort Order in a DataGrid

2005-04-04 Thread Matthew Shirey



Excellent, setting the sortCompareFunctionto my own sort comparer that did the comparison ignoring case worked perfectly. Thank you!

-- Matthew
On Apr 4, 2005 5:14 PM, Abdul Qabiz [EMAIL PROTECTED] wrote:
Hi,You can use your own sorting method(algorithm) to sort entire grid. Or youcan apply your algorithm on a particualr column.Look at DataGrid.sortItems(sortFunc:Function, order):Void method.Also look at DataGridColumn.sortCompareFunction:Function propertyDataGrid.sortItems(..) @livedocs:http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/listclasses/ScrollSelectList.html#sortItemsDataGrid.sortCompareFunction @livedocs:http://livedocs.macromedia.com/flex/15/asdocs_en/mx/controls/gridclasses/DataGridColumn.html#sortCompareFunctionA quick example to give you an idea..##DataGridSortExample.mxml##?xml version=1.0?mx:Application xmlns:mx=http://www.macromedia.com/2003/mxmlbackgroundColor=#FF mx:Script ![CDATA[ function sortFunc(val1, val2) {val1 = Number(val1);val2 = Number(val2);if(val1  val2) { return -1;}else if(val1 == val2) { return 0;}else {return 1;} }function getDGDP(){return [ {Artist:Abdul, Album:Classical Song,Price:100.25}, {Artist:Matt, Album:Classical Song,Price:200.25}, {Artist:Manish, Album:Rock, Price:300.33}, {Artist:Sam, Album:Rock Songs, Price:300.50}];}]] /mx:Script mx:Panel title=DataGridColumn Sorting Example marginTop=10 mx:VBox mx:DataGrid id=myGrid width=350 height=100creationComplete=event.target.dataProvider = getDGDP(); mx:columns mx:Array mx:DataGridColumn headerText=ArtistcolumnName=Artist/mx:DataGridColumn mx:DataGridColumn headerText=AlbumcolumnName=Album/mx:DataGridColumn mx:DataGridColumn headerText=PricecolumnName=Price/mx:DataGridColumn /mx:Array /mx:columns/mx:DataGridmx:Button label=sort gridclick=myGrid.sortItems(sortFunc);/ /mx:VBox /mx:Panel/mx:Applicationhope that helps-abdulFrom: Matthew Shirey [mailto:[EMAIL PROTECTED]]Sent: Tuesday, April 05, 2005 5:20 AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Sort Order in a DataGridMight someone point me in the right direction for altering the sort ordermethod(s) for a DataGrid?It's currently annoying litteral.I'd like toalter it so it is case insensitive.Currently the column orders somewhatlike this:ABC..Zabc...zwhile I'd like it to order like:AaBbCcetc...I hope someone can throw me in the right direction, thanks!-- MatthewYahoo! 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]mailto:[EMAIL PROTECTED]?subject=Unsubscribe* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Servicehttp://docs.yahoo.com/info/terms/ .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/







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 the Yahoo! Terms of Service.










Re: [flexcoders] Flex 1.5 price

2005-04-01 Thread Matthew Shirey

I was already told by our MM rep that its counted by the physical
processor.  Dual core is still one.

M.

On Apr 1, 2005 1:28 AM, Anthony Merryfield [EMAIL PROTECTED] wrote:
 It'll be interesting what the policy will be on dual core CPUs when they
 arrive?
  
 T
  
  
 -Original Message-
 From: Simon Fifield [mailto:[EMAIL PROTECTED]
 Sent: 31 March 2005 20:49
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Flex 1.5 price
 
 My clients have also stretched themselves to purchase the 2cpu license,
 which cost more than the Dual Processor server they purchased to match the
 spec. 
  
 Now that the license for Flex is either 1 or 4 cpu does this mean that my
 clients are going to have to more than double the original purchase price
 when they need to renew their maintenance license?
 Or will the 1 cpu license cover the whole server? (i.e. does cpu mean server
 or does it mean processors?)
  
 Simon
  
 -Original Message-
 From: Matthew Shirey [mailto:[EMAIL PROTECTED]
 Sent: 31 March 2005 18:17
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Flex 1.5 price
 
 What about a 2cpu license?  Please answer.  Your 'starter kit' is
 overkill for us.  If our price is based on a minimum 4cpu price, then
 this is no longer a joke at all.  We will have to drop Flex and never
 look back.  We will have wasted months of training and actual
 development time.  This is NOT a price I can justify to anyone.
 
 We're seriously disappointed in Macromedia at this time.  We're a very
 small shop and its starting to look like Macromedia does not care
 about the little guy at all anymore.
 
 -- Matthew
 
 
 On Thu, 31 Mar 2005 12:00:13 -0500, Darron J. Schall
 [EMAIL PROTECTED] wrote:
  
  Jeff Steiner wrote:
  
  Lazslo, while the samples look great, is still based upon Flash player 5
  (Beta 3 of Lazslo is player 6).  It is one of those things where you have
 to
  wonder - how does Lazslo know what to extend of the Flash Player.  The
  people that are contributing to it make guesses and try to extend the
  capabilities as far as they can, but they are still limited in their
  knowledge.  I have never seen an API to the Flash player made readily
  available to the public.  Also - as the Flash Player gets more
 complicated
  it will become more difficult to code hooks into the player to give
  developers the same functionality that is provided by Flex, and Breeze,
 and
  Flash, 
  
  
  As a Flash developer, I'd like to chime in here..
  
  The fact that Lazslo works on Flash Player 5 really isn't an issue.  In
  fact, I'd say it's a bonus!  Here's why:
  
  * Because Lazslo outputs to Flash Player 5, it has a larget target
  audience.  See the penetration stats:
 
 http://www.macromedia.com/software/player_census/flashplayer/version_penetration.html
  -- FP 5 is 97%.  FP7 is 82% - so apps created in Laszlo have a better
  chance of being viewed
  
  * There are no older is slower arguments.  The v7 player will play a
  v5 swf faster than the v5 player, because the v7 player itself is faster
  than the v5 player.
  
  * The internals are abstracted away.  Right now your Lazslo code
  publishes to .swf, but it's not tied to the Flash Player in any way -
  there are no MovieClip references, etc in your lazslo code.  In fact,
  you don't even use ActionScript, you write in JavaScript.  There's
  nothing to stop someone from writing a new player and with a few
  tweaks to the Laszlo compilation process you could have output for that
  new player.
  
  When you develop an application, do you really care about the internal
  API calls of Flash Player 7?  If I'm a Lazslo developer, I say no.. I
  know what tags I can use in my markup, I know what the APIs are, and I
  use them and get a *working* .swf file.  As long as it works, that's all
  I care about.  If SWF5 is all it takes to make it work, then that's cool.
  
  Is there anything in v7 SWF that would benefit Lazslo apps?  Not
  really.  Some of the new things added in FP 7 over FP 6 is case
  sensitivty, depth management functions (getNextHighestDepth..) , context
  menu, etc,.  The biggest change would probably be embedded video, and
  that may be a show stopper for some.. but it's rare that an
  application needs video in it.  FP 6 adds some things over FP5 like
  ShardObjects, so I can see how upgrading to v6 in that respect would be
  benefitical.  FP 6 also added different event handlers than FP5
  (.onPress, vs on (press)) - but that has 0 effect on how I code my
  Lazslo markup.  The FP6 style event handlers are meant to make AS coding
  easier, but Lazslo doesn't care about that because it has it's own
  coding model.
  
  The fact that Lazslo accomplishes what it does on an old version of the
  SWF format is not a drawback, it's a benefit.  There's really no reason
  to use SWF7 if everything you need to do can be accomplished in SWF5.
  The fact that Lazslo separates itself from the Flash Player is another
  benefit as well

Re: [flexcoders] Flex 1.5 price

2005-03-31 Thread Matthew Shirey

What about a 2cpu license?  Please answer.  Your 'starter kit' is
overkill for us.  If our price is based on a minimum 4cpu price, then
this is no longer a joke at all.  We will have to drop Flex and never
look back.  We will have wasted months of training and actual
development time.  This is NOT a price I can justify to anyone.

We're seriously disappointed in Macromedia at this time.  We're a very
small shop and its starting to look like Macromedia does not care
about the little guy at all anymore.

-- Matthew


On Thu, 31 Mar 2005 12:00:13 -0500, Darron J. Schall
[EMAIL PROTECTED] wrote:
 
 Jeff Steiner wrote:
 
 Lazslo, while the samples look great, is still based upon Flash player 5
 (Beta 3 of Lazslo is player 6).  It is one of those things where you have to
 wonder - how does Lazslo know what to extend of the Flash Player.  The
 people that are contributing to it make guesses and try to extend the
 capabilities as far as they can, but they are still limited in their
 knowledge.  I have never seen an API to the Flash player made readily
 available to the public.  Also - as the Flash Player gets more complicated
 it will become more difficult to code hooks into the player to give
 developers the same functionality that is provided by Flex, and Breeze, and
 Flash, 
 
 
 As a Flash developer, I'd like to chime in here..
 
 The fact that Lazslo works on Flash Player 5 really isn't an issue.  In
 fact, I'd say it's a bonus!  Here's why:
 
 * Because Lazslo outputs to Flash Player 5, it has a larget target
 audience.  See the penetration stats:
 http://www.macromedia.com/software/player_census/flashplayer/version_penetration.html
 -- FP 5 is 97%.  FP7 is 82% - so apps created in Laszlo have a better
 chance of being viewed
 
 * There are no older is slower arguments.  The v7 player will play a
 v5 swf faster than the v5 player, because the v7 player itself is faster
 than the v5 player.
 
 * The internals are abstracted away.  Right now your Lazslo code
 publishes to .swf, but it's not tied to the Flash Player in any way -
 there are no MovieClip references, etc in your lazslo code.  In fact,
 you don't even use ActionScript, you write in JavaScript.  There's
 nothing to stop someone from writing a new player and with a few
 tweaks to the Laszlo compilation process you could have output for that
 new player.
 
 When you develop an application, do you really care about the internal
 API calls of Flash Player 7?  If I'm a Lazslo developer, I say no.. I
 know what tags I can use in my markup, I know what the APIs are, and I
 use them and get a *working* .swf file.  As long as it works, that's all
 I care about.  If SWF5 is all it takes to make it work, then that's cool.
 
 Is there anything in v7 SWF that would benefit Lazslo apps?  Not
 really.  Some of the new things added in FP 7 over FP 6 is case
 sensitivty, depth management functions (getNextHighestDepth..) , context
 menu, etc,.  The biggest change would probably be embedded video, and
 that may be a show stopper for some.. but it's rare that an
 application needs video in it.  FP 6 adds some things over FP5 like
 ShardObjects, so I can see how upgrading to v6 in that respect would be
 benefitical.  FP 6 also added different event handlers than FP5
 (.onPress, vs on (press)) - but that has 0 effect on how I code my
 Lazslo markup.  The FP6 style event handlers are meant to make AS coding
 easier, but Lazslo doesn't care about that because it has it's own
 coding model.
 
 The fact that Lazslo accomplishes what it does on an old version of the
 SWF format is not a drawback, it's a benefit.  There's really no reason
 to use SWF7 if everything you need to do can be accomplished in SWF5.
 The fact that Lazslo separates itself from the Flash Player is another
 benefit as well..  If something should ever happen, maybe legal issues
 or whatever, Lazslo can output to, say, Java applets or whatever, since
 the code is all abstracted from the VM and the compilation process
 handles the dirty work of putting your code into a format the VM can
 understand.
 
 -d
 
 
 Yahoo! Groups Links
 
 
 
 



 
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] Flex 1.5 price

2005-03-31 Thread Matthew Shirey

As I already said this is no joke to me or my department.

-- Matthew

On Thu, 31 Mar 2005 14:43:38 -0500, Pushkar Phatak [EMAIL PROTECTED] wrote:
 
 damn.
 either this is too good for an april fools joke,
 or as russel peters said,
 somebody gonna get-a-hurt real bad
 :)
 pushkar
 
 --
 www.pushkar.net
 My World, Your View!
 
 
 Yahoo! Groups Links
 
 
 
 



 
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] Flex 1.5 price

2005-03-31 Thread Matthew Shirey

I am more than a little frustrated about this... why don't we discuss
it right here publically?

Why is there a pricing scheme that is private interview based?

I just want to know:

Is there a 1CPU price? If so, what is it?
Is there a 2CPU price? If so, what is it?

These are not difficult questions.  If there are no purchasing options
available that are smaller than this 'starter kit'.  Please just say
so.  As I already said in my private email.  I need to know the answer
to these questions.  I have a lot of damage control to attend to.

-- Matthew


On Thu, 31 Mar 2005 12:16:43 -0800, Lucian Beebe [EMAIL PROTECTED] wrote:
 
 
 Maintenance will be calculated based on the CPUs or Quick Start price if you
 go that route. . I think that's pretty consistent with other software
 industry norms.
 
  
 
 I'll make you the same offer, Simon. Where you have serious projects
 running, lets talk directly and find a way to make this work out.
 
  
 
 Lucian 
 
  
 
 
 
 From: Simon Fifield [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, March 31, 2005 11:49 AM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Flex 1.5 price
 
  
 
 
 My clients have also stretched themselves to purchase the 2cpu license,
 which cost more than the Dual Processor server they purchased to match the
 spec. 
 
 
  
 
 
 Now that the license for Flex is either 1 or 4 cpu does this mean that my
 clients are going to have to more than double the original purchase price
 when they need to renew their maintenance license?
 
 
 Or will the 1 cpu license cover the whole server? (i.e. does cpu mean server
 or does it mean processors?)
 
 
  
 
 
 Simon
 
 
  
 
 
 -Original Message-
 From: Matthew Shirey [mailto:[EMAIL PROTECTED]
 Sent: 31 March 2005 18:17
 To: flexcoders@yahoogroups.com
 Subject: Re: [flexcoders] Flex 1.5 price
 
 What about a 2cpu license?  Please answer.  Your 'starter kit' is
 overkill for us.  If our price is based on a minimum 4cpu price, then
 this is no longer a joke at all.  We will have to drop Flex and never
 look back.  We will have wasted months of training and actual
 development time.  This is NOT a price I can justify to anyone.
 
 We're seriously disappointed in Macromedia at this time.  We're a very
 small shop and its starting to look like Macromedia does not care
 about the little guy at all anymore.
 
 -- Matthew
 
 
 On Thu, 31 Mar 2005 12:00:13 -0500, Darron J. Schall
 [EMAIL PROTECTED] wrote:
  
  Jeff Steiner wrote:
  
  Lazslo, while the samples look great, is still based upon Flash player 5
  (Beta 3 of Lazslo is player 6).  It is one of those things where you have
 to
  wonder - how does Lazslo know what to extend of the Flash Player.  The
  people that are contributing to it make guesses and try to extend the
  capabilities as far as they can, but they are still limited in their
  knowledge.  I have never seen an API to the Flash player made readily
  available to the public.  Also - as the Flash Player gets more
 complicated
  it will become more difficult to code hooks into the player to give
  developers the same functionality that is provided by Flex, and Breeze,
 and
  Flash, 
  
  
  As a Flash developer, I'd like to chime in here..
  
  The fact that Lazslo works on Flash Player 5 really isn't an issue.  In
  fact, I'd say it's a bonus!  Here's why:
  
  * Because Lazslo outputs to Flash Player 5, it has a larget target
  audience.  See the penetration stats:
 
 http://www.macromedia.com/software/player_census/flashplayer/version_penetration.html
  -- FP 5 is 97%.  FP7 is 82% - so apps created in Laszlo have a better
  chance of being viewed
  
  * There are no older is slower arguments.  The v7 player will play a
  v5 swf faster than the v5 player, because the v7 player itself is faster
  than the v5 player.
  
  * The internals are abstracted away.  Right now your Lazslo code
  publishes to .swf, but it's not tied to the Flash Player in any way -
  there are no MovieClip references, etc in your lazslo code.  In fact,
  you don't even use ActionScript, you write in JavaScript.  There's
  nothing to stop someone from writing a new player and with a few
  tweaks to the Laszlo compilation process you could have output for that
  new player.
  
  When you develop an application, do you really care about the internal
  API calls of Flash Player 7?  If I'm a Lazslo developer, I say no.. I
  know what tags I can use in my markup, I know what the APIs are, and I
  use them and get a *working* .swf file.  As long as it works, that's all
  I care about.  If SWF5 is all it takes to make it work, then that's cool.
  
  Is there anything in v7 SWF that would benefit Lazslo apps?  Not
  really.  Some of the new things added in FP 7 over FP 6 is case
  sensitivty, depth management functions (getNextHighestDepth..) , context
  menu, etc,.  The biggest change would probably be embedded video, and
  that may be a show stopper for some.. but it's rare

[flexcoders] Scrollbars in a VBox

2005-03-31 Thread Matthew Shirey

With all these pricing things up in the air its hard to think about
coding, but I do have a bit of a problem I'm trying to work out.

I have a layout that has multiple nested VBox components with a
repeater on the inside.  For my application this repeater is going to
be repeating a custom component based on a dataProvider.  My problem
is that Flex wants to put the scroll bars on the outer most VBox
instead of the innermost one thats closest to the repeater.  I have
tried many variations of vScrollPolicy settings, but the problem seems
to be somewhere else.  Is there a way other than setting a specific
size for the VBoxes that I can tell the inner most VBox to be the one
that has a scroll bar?  I have included some sample code to show my
problem. In this example the scroll bars are actually going on the
application control.  This is a very simple example that is similar to
the layout in my application and still shows the problem.  I know I
could use a List or a Datagrid with a custom renderer but both have
behaviors I don't want.  I was hoping to just be able to use a
repeater and have scrollbars on the parent vbox.  Any help would be
greatly appreciated.

Thank you,

-- Matthew


?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;

mx:Script
![CDATA[
var list:Array = [a, b, c, d, e, f, 
g, h, i, 
j, k, l, 
m, n, o, 
p, q, r, 
s, t, u, 
v, w, x, 
y, z
];
]]
/mx:Script

mx:VBox id=outer width=100% height=100%
backgroundColor=#FF borderStyle=solid borderThickness=5
borderColor=#FF
mx:VBox id=middle width=100% height=100%
backgroundColor=#FF borderStyle=solid borderThickness=5
borderColor=#FF
!-- Scrollbars Need to be on this VBox \/ \/ \/ --
mx:VBox id=inner width=100% height=100%
backgroundColor=#FF borderStyle=solid borderThickness=5
borderColor=#00FF00
mx:Repeater id=rpList dataProvider={list}
mx:Label text={rpList.currentItem} /
/mx:Repeater
mx:Label text=Item Count: {list.length} /
/mx:VBox
/mx:VBox
/mx:VBox
 
/mx:Application


 
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] Flex 1.5 price

2005-03-25 Thread Matthew Shirey

Our shop cannot hardly pull the current price... If it goes up I don't
know what it will mean for us, but I doubt its good.  We're in love
with flex, but we may have to give it up if they raise the price on it
like that.

-- Matthew


On Fri, 25 Mar 2005 14:25:38 +0200, Robert Stuttaford
[EMAIL PROTECTED] wrote:
  
  
 
 Ohh lord it's that time again 
 
   
 
 I started freelancing on April 1 2004  my boss thought I was trying to pull
 his leg! 
 
   
 
 I guess that means it's champagne time for me soon  
 
   
  
  
  
 
 From: ?? [mailto:[EMAIL PROTECTED] 
  Sent: 25 March 2005 01:54 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Flex 1.5 price 
 
   
  
 
 
 I heard bad news today. 
  
  
 
 Macromedia will change Flex 1.5 price $12,000(2cpu) to $20,000(1cpu). 
  
 
 This price will be started at april 1, 2005.  
  
 
  Is it true?  
  
 
   
  
 
 yang lim. 
  
 
   
  
 
   
 
 
  
  
  
  Yahoo! Groups Sponsor 
  
  ADVERTISEMENT
  
  
  
  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 the Yahoo! Terms of Service.


 
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] Flex 1.5 price

2005-03-25 Thread Matthew Shirey

Thanks for the information on Laszlo.  It doesn't look as robust as
Flex, but if they do raise the price , I doub't we'll have much choice
but to switch.  All we can do now is hope that its just a rumor.  If
not, hello Laszlo.

-- Matthew


On Fri, 25 Mar 2005 12:43:18 -0500, jeff tapper [EMAIL PROTECTED] wrote:
 
 Can I recommend everyone waits for an official word from MM before jumping
 to conclusions.  This is still just unconfirmed rumors...
 
 At 12:39 PM 3/25/2005, you wrote:
 
 Laszlo it is. I expected that the price of Flex would drop, and
 certainly not double, this is crazy!!!
 
 
 Thijs
 
 
 Op 25-mrt-05 om 17:36 heeft Dennis Jackson het volgende geschreven:
 
   Sounds like laszlo time :)
   -Original Message-
   From: Matthew Shirey [EMAIL PROTECTED]
   Date: Fri, 25 Mar 2005 08:32:45
   To:flexcoders@yahoogroups.com
   Subject: Re: [flexcoders] Flex 1.5 price
  
  
   Our shop cannot hardly pull the current price... If it goes up I don't
   know what it will mean for us, but I doubt its good.  We're in love
   with flex, but we may have to give it up if they raise the price on it
   like that.
  
   -- Matthew
  
  
   On Fri, 25 Mar 2005 14:25:38 +0200, Robert Stuttaford
   [EMAIL PROTECTED] wrote:
  
  
  
   Ohh lord it's that time again
  
  
  
   I started freelancing on April 1 2004  my boss thought I was trying
   to pull
   his leg!
  
  
  
   I guess that means it's champagne time for me soon 
  
  
  
   
  
  
   From: ?? [mailto:[EMAIL PROTECTED]
Sent: 25 March 2005 01:54 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 1.5 price
  
  
  
  
  
   I heard bad news today.
  
  
  
   Macromedia will change Flex 1.5 price $12,000(2cpu) to $20,000(1cpu).
  
  
   This price will be started at april 1, 2005.
  
  
Is it true?
  
  
  
  
  
   yang lim.
  
  
  
  
  
  
  
  
  
  
  
Yahoo! Groups Sponsor
  
ADVERTISEMENT
  
  
   
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 the Yahoo! Terms of Service.
  
  
  
   Yahoo! Groups Links
  
  
  
  
  
  
  
  
   Sent via BlackBerry - a service from ATT Wireless.
  
  
  
   Yahoo! Groups Links
  
  
  
  
 
 
 
 
 Yahoo! Groups Links
 
 
 
 
 
 Yahoo! Groups Links
 
 
 
 



 
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] Flex on .Net? Any progress?

2005-03-24 Thread Matthew Shirey

I don't think you are missing anything.  We have a similar problem in
our shop.  We're primarily .NET here and to use flex we have to
support a completely different platform.  We're mostly just waiting
for the .NET version.  When that's released we'll port our
applications to it and dump the J2EE servers.  I just kinda expected
the .NET version to be out by now...

-- Matthew


On Thu, 24 Mar 2005 16:27:23 -0500, Pushkar Phatak [EMAIL PROTECTED] wrote:
 
 Kris,
 Yes, that is indeed true.  the 'mixed' environment doesnt really go
 away fully.
 
 May be we just have to wait for a native .Net flex app?
 
 Pushkar
 
 On Thu, 24 Mar 2005 15:39:06 -0500, Kristopher Schultz
 [EMAIL PROTECTED] wrote:
  I understand that .NET web services could be accessed easily enough, but how
  does that solve Pushkar's dilemma? Wouldn't his client still have to expand
  their infrastructure to support a J2EE app server? That could be expensive,
  not to mention a hard sell from if the client is doing their own admin. Am I
  missing something?
 
  Kris
 
  --
 
  Kristopher Schultz
  Developer
 
  Resource Interactive
  p: 614.410.2123
  www.resource.com
 
 
  
  From: Robert Stuttaford [mailto:[EMAIL PROTECTED]
  Sent: Thursday, March 24, 2005 12:30 PM
  To: flexcoders@yahoogroups.com
  Subject: RE: [flexcoders] Flex on .Net? Any progress?
 
  You could use web services! Works like a bomb. If using cairngorm, a rewrite
  to Remote Objects when Flex 2.0 ships is a matter of changing Services.mxml.
 
  If you want remoting but don't want to wait for 2.0, you could use FlashORB
  Remoting .NET 1.5 in the mean time (or forever, possibly)
 
 
  Yahoo! Groups Sponsor
  ADVERTISEMENT
 
  
  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 the Yahoo! Terms of Service.
 
 --
 www.pushkar.net
 My World, Your View!
 
 Yahoo! Groups Links
 
 
 
 



 
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] Binding question

2005-03-23 Thread Matthew Shirey

You just hit on a problem I had a week ago.  It looks like the wsdl
attribute cannot be set at runtime.  I even tried doing it in
actionscript with no luck.  This is problematic for me because I want
to be able to declare all of my web service urls globally so they can
be changed easily.  I finally had to resort to making them Named web
service declared in the flex config file.  This works for me but its
less than ideal.  If there is some way to dynamically set the wsdl
attribute, I'd also be very interested in knowing how.

Thanks!

-- Matthew


On Wed, 23 Mar 2005 20:22:41 -, pilby1 [EMAIL PROTECTED] wrote:
 
 
 I have web services in my application, and I wanted to bind the value
 of the wsdl attribute of a mx:WebService tag, but I'm having
 difficulty.
 
 I have my model like this:
 
 mx:Model id=webServicesURLs
   ws1http://someURL?wsdl/ws1
 /mx:Model
 
 Then in my web service, I have:
 
 mx:WebService id=myWebService wsdl={webServicesURLs.ws1} ... etc.
 
 But upon application startup, I'm getting an alert box error message
 from the application saying Could not load WSDL, 404, /myApp/
 {myWebServiceURLs.ws1}.
 
 It seems like it's trying to get the WSDL prior to substituting the
 value from my data model, which explains why it couldn't get the WSDL.
 
 How can I then make my wsdl attribute in my mx:WebService a
 variable?
 
 
 Yahoo! Groups Links
 
 
 
 



 
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] Re: User Credentials Cache

2005-03-22 Thread Matthew Shirey

Yes, I may have to do the same, but at this point it represents a
major change to the application. =(

M.


On Tue, 22 Mar 2005 08:13:47 -, billheit [EMAIL PROTECTED] wrote:
 
 
 My guess is that the Flex server is caching the credentials
 somewhere when using the proxy server.  I'm not sure if this is a
 bug or just that it is not designed to be used this way.
 
 Anyway, I have not gotten a solution from this forum or the Flex
 forum on Macromedia's site so I have changed my strategy.  I am
 using anonymous or a sigle fixed loggin to IIS and then
 authenticating the user through parameters pass into the web method.
 
 It seems to work pretty well.
 
 Bill
 
 --- In flexcoders@yahoogroups.com, mshireygmail [EMAIL PROTECTED]
 wrote:
 
  I also need help with this.  I need to know how to make flex server
  kill the session with the endpoint.  This is a pretty major problem
  for my application.
 
  -- Matthew
 
  --- In flexcoders@yahoogroups.com, billheit [EMAIL PROTECTED]
 wrote:
  
   I am not sure if this is a bug or if I am misunderstanding how
 the
   flex HttpService proxy works.  But unless I re-start the Flex
   Server, the Flex proxy remembers the authentication credentials
 even
   when the browser has been closed and re-opened.
  
   Can someone help me with this?
  
   Bill
  
   --- In flexcoders@yahoogroups.com, billheit [EMAIL PROTECTED]
 wrote:
   
   
I have sessionState turned off on my .NET web service.  When I
   test
my web service directly through IE, it requires me to login
 each
time I re-open the browser.
   
When I access the web service through Flex HttpService, it
 does
   not
make me login if I close and re-open the browser.
   
I also found that if I re-start the Flex server, then I am
   required
to login again.  Are you sure the Flex server is not caching
 the
credentials or session somehow?
   
Bill
   
   
--- In flexcoders@yahoogroups.com, Jeff Steiner [EMAIL PROTECTED]
   wrote:
 Bill,

 The issue is not with a cache but rather with the session
 and
   how
it is
 handled.  Your browser is attached to the session at more
 the
machine level.
 If your session is still active it allows you through as
   trusted.
Check
 that the session of the webservice is not lasting longer
 than to
load your
 browser.  That will force the user to login the next time
 they
open a
 browser.

 Jeff
 http://www.flexauthority.com
 - Original Message -
 From: billheit [EMAIL PROTECTED]
 To: flexcoders@yahoogroups.com
 Sent: Friday, February 25, 2005 6:37 PM
 Subject: [flexcoders] User Credentials Cache


 
 
  I have a .NET Web Service running on IIS with Basic
authentication.
  In flex, I have a HttpService configured to request data
 from
   my
web
  service.  On a button click I call the HttpService.send()
 and
set an
  event to handle the result.
 
  When I run this Flex app on my IE browser, I get a
 security
   login
  dialog and so I enter my user name and password.  I am
 granted
  access to the web service and I see my data.  All seems to
 be
  working fine.
 
  However, when I close the browser and re-open it, I am not
prompted
  with the security login again and my application acts as
 if I
   am
  already logged in.  Even if I clear the cache on my
 browser, it
  still acts as it I am logged in.
 
  So I am wondering where my credentials are being cached.
 Is
there a
  cache duration setting somewhere? How I can clear it?  If
 the
user
  closes the browser and re-opens the app, I want them to
 log
   back
in.
 
  Thanks,
 
  Bill
 
 
 
 
 
 
 
 
  Yahoo! Groups Links
 
 
 
 
 
 
 
 
 Yahoo! Groups Links
 
 
 
 
 


-- 
-=-
Matthew Alan Shirey
Software Engineer
Center for Teaching, Learning, and Technology
Washington State University
E-mail: [EMAIL PROTECTED]
Office: 5-0476
-=-


 
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] weird problem with Flashplayer in Linux

2005-03-22 Thread Matthew Shirey

Well, my guess would be that it didn't affect the Flashplayer
directly. Java is used to create the SWF that is passed to the
Flashplayer though so maybe some difference in the version was
creating a SWF that wasn't quite right for the Linux flash player?

M.


On Tue, 22 Mar 2005 14:31:35 +0100, Christoph Guse [EMAIL PROTECTED] wrote:
 
 Hi James,
 
 despite my answer from yesterday I updated the linux box to jdk1.5.0_02
 and tomcat 5.5.7. The problem disappeared. I'm astonished. Wich effect
 can the JVM have to the Flashplayer?
 
 Greets
 Christoph
 
 James Ward schrieb:
 
  Perhaps the difference is JVM version?  Are you running the latest on
  your linux box?
 
  -James
 
 
  On Mon, 2005-03-21 at 16:24 +0100, Christoph Guse wrote:
   Hi list,
  
   I have a weird problem with my app. I'm using Flex and Flash in Linux.
   But let me explain as good I can.
  
   On the picture you can see a part of my application. It is a DataGrid
   with a CellRenderer I did on my own. Every row stands for a job to do.
   As you can see every  CellRenderer has 5 item: a title, start date
   (Anfang), end date (fertig bis), priority (Priorität) and status
   (Status). Every item comes from a JobObject an is formatted by the
   CellRenderer. The two dates are formatted by the same DateFormatter
   the CellRenderer gets by a ViewHelper (I use the
   Cairngrom-architecture). When I format only one Date, as in the
   screenshot, in the Linux Flashplayer everything is ok. It doesn't
   matter if I format the stard date or the end date. If I format both
   dates, my machine is in a infinite loop. The browser doesn't matter,
   it is in Firefox and Konqueror.
   In Windows there is absolutely no problem with two dates, I checked
   that with a Windows XP box which is slower than the linux box.
  
   Some information of the Linux box:
   Suse 9.2, Kernel 2.6.8-x
   Flashplayer 7.0.25
   Flex 1.5
   1 GB RAM
  
   I want to use Linux and I have to use Linux, so I need a solution for
   that problem. Perhaps there is a newer Linux Flashplayer?
  
   Thanks
   Christoph
  
   screenshot
   --
   
Christoph Guse
Löhstraße 34
41747 Viersen
Tel.  0 21 62 / 50 24 066
Mobil   01 72 / 160 74 84
VoIP  0 12 12 / 39 64 48 831
   
 
 
 
  *Yahoo! Groups Sponsor*
  ADVERTISEMENT
  click here
  http://us.ard.yahoo.com/SIG=129m4hudc/M=298184.6191685.7192823.3001176/D=groups/S=1705007207:HM/EXP=54/A=2593423/R=0/SIG=11el9gslf/*http://www.netflix.com/Default?mqso=60190075
 
 
 
  
  *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]
mailto:[EMAIL PROTECTED]
 
  * Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service http://docs.yahoo.com/info/terms/.
 
 
 
 --
 
  Christoph Guse
  Löhstraße 34
  41747 Viersen
  Tel.  0 21 62 / 50 24 066
  Mobil   01 72 / 160 74 84
  VoIP  0 12 12 / 39 64 48 831
 
 
 Yahoo! Groups Links
 
 
 
 
 


-- 
-=-
Matthew Alan Shirey
Software Engineer
Center for Teaching, Learning, and Technology
Washington State University
E-mail: [EMAIL PROTECTED]
Office: 5-0476
-=-


 
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/