[flexcoders] Re: Changing state not drawing component correctly

2007-04-08 Thread ssundke
Any suggestions on this?

--- In flexcoders@yahoogroups.com, "ssundke" <[EMAIL PROTECTED]> wrote:
>
> Hi, I just need to show a Help page on demand, so I implemented it 
> via states. When the user clicks the Help button the help pane 
comes 
> up. Somehow the help pane is not taking the correct size and 
> displays acorss the screen. I tried a lot to set the width, but 
the 
> first time it keeps going to this default size. Once I resize it 
> once then it always comes up correctly. I tried to have the help 
> pane by default (and remove it later) as well as add it on demand, 
> but no avail. Any idea what i can do to correct this?
> 
> I tried to set the width in both places, but no avail.
> 
> 
>  
> 
> 
> 
> My help page is a simple component like
> http://www.adobe.com/2006/mxml";  
width="200"
>  width="100%" editable="false"/>
> 
>




[flexcoders] Changing state not drawing component correctly

2007-04-05 Thread ssundke
Hi, I just need to show a Help page on demand, so I implemented it 
via states. When the user clicks the Help button the help pane comes 
up. Somehow the help pane is not taking the correct size and 
displays acorss the screen. I tried a lot to set the width, but the 
first time it keeps going to this default size. Once I resize it 
once then it always comes up correctly. I tried to have the help 
pane by default (and remove it later) as well as add it on demand, 
but no avail. Any idea what i can do to correct this?

I tried to set the width in both places, but no avail.






My help page is a simple component like
http://www.adobe.com/2006/mxml";  width="200"
  




[flexcoders] Re: Load swc instead of swf

2006-12-27 Thread ssundke
Hey Lach,
Loading XML files from where? I need to write an help html and im 
looking at the best way to write it without creating external 
dependancies. 

- Saba

--- In flexcoders@yahoogroups.com, Lachlan Cotter <[EMAIL PROTECTED]> wrote:
>
> Hi Saba,
> 
> What's wrong with just loading ordinary XML files?
> 
> Cheers,
> Lach
> 
> 
> On 20/12/2006, at 10:12 PM, ssundke wrote:
> 
> > Ok.. so what do I do for this problem.
> >
> > I need to write some help files for my project and I need my swf 
to be
> > standalone since it can be used. I didnt want to hardcode the 
html in
> > one as file or mxml file, so I thought I would make a separate 
file  
> > for
> > it and let it be loaded when it was needed. Since I need my swf 
to be
> > standalone, I didnt want any dependancy on some other web 
resource.  
> > What
> > are my alternatives?
> >
> > - Saba
>




[flexcoders] Re: Load swc instead of swf

2006-12-20 Thread ssundke

Ok.. so what do I do for this problem.

I need to write some help files for my project and I need my swf to be
standalone since it can be used. I didnt want to hardcode the html in
one as file or mxml file, so I thought I would make a separate file for
it and let it be loaded when it was needed. Since I need my swf to be
standalone, I didnt want any dependancy on some other web resource. What
are my alternatives?

- Saba


--- In flexcoders@yahoogroups.com, "Roger Gonzalez" <[EMAIL PROTECTED]>
wrote:
>
> SWC files are compile-time only. A HTML wrapper wouldn't know what to
> do with it.
>
> In theory, you could write an unzip implementation in Actionscript,
load
> a SWC as raw data, decompress it, extract its bits, and then send
those
> bits around to AS or JS or whatever, but realistically, you're not
going
> to do that. :-)
>
> -rg
>
>
> 
>
> From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On Behalf Of ssundke
> Sent: Tuesday, December 19, 2006 1:47 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Load swc instead of swf
>
>
>
> Hi
>
> I was using a .swf file generated wrappers to show a flash file
> on the
> web. Due to some recent changes, I wanted to explore changing
> this to
> a .swc file since I need some resources (help files, etc) and
> they are
> better bundled in the swc file. Do html wrappers work with swc?
> I was
> able to generate the swc file (with a library.swf and
> catalog.xml) but
> done know how to use it with the wrapper (the .js files seem to
> use
> the .swf files)
>
> What am i missing?
>
> - Saba
>





[flexcoders] Load swc instead of swf

2006-12-19 Thread ssundke
Hi

I was using a .swf file generated wrappers to show a flash file on the 
web. Due to some recent changes, I wanted to explore changing this to 
a .swc file since I need some resources (help files, etc) and they are 
better bundled in the swc file. Do html wrappers work with swc? I was 
able to generate the swc file (with a library.swf and catalog.xml) but 
done know how to use it with the wrapper (the .js files seem to use 
the .swf files)

What am i missing?

- Saba



[flexcoders] Re: Collection View changes order on update

2006-08-27 Thread ssundke
Hey, does any one have any idea on this? 






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

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

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

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





[flexcoders] Re: Change HorizontalList column width based on content

2006-08-24 Thread ssundke
Can someone please look into this?







--
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] Change HorizontalList column width based on content

2006-08-23 Thread ssundke
Hi

Is there anyway I can change the columns width based on the content. 
Im using a HorizontalList to display some checkbox items. I would 
like the width of the column to be based on the content so its small 
and large as needed. 

How do I get this done? This what my code looks like.






   










--
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] Collection View changes order on update

2006-08-23 Thread ssundke
Hi, 
I have bound a Collectionlist of a datagrid which renders the item 
as a checkbox. Im using the default bindling of the datagrid (for 
select and update) to update the selected value back to the 
Collection. This all works fine, and the checked value is reflected 
back into the collection and the source behind the collection. But I 
notice that when the value is set the collection randomly changes 
order hence from the UI the display checkbox keep moving up and down 
(though the selecton value is still correct on each item). Is there 
any reason why this is happening and anyway to prevent it? I just 
want my collection to retain the ordering of the source hence I also 
have not defined any ordering/sorting on my view.

Please suggest a solution.
My only datagrid column looks something like



  


  







--
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] Set up FlexUnit with Flex Builder Eclipse plugin

2006-06-27 Thread ssundke
Hi, I just downloaded FlexUnit (from 
http://www.iterationtwo.com/open_source_flexunit.html) to see if i 
could get started with it. 

Im using Flex 2.0 Flex Builder plugin for Eclipse. How do I get it to 
work in this Eclipse? I tried to add the FlexUnit.swc to the Project -
> Properties -> Flex Build Path -> Library Path. But it gives me a 
build log saying 
"Unable to load SWC FlexUnit.swc: unknown element swc found in 
componentPackage section in catalog.xml"

Which catalog xml is it referring to?






 Yahoo! Groups Sponsor ~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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





[flexcoders] Re: mxmlc - context root - any root

2006-06-24 Thread ssundke
Hey Is there no way to do this?

- Saba
--- In flexcoders@yahoogroups.com, "ssundke" <[EMAIL PROTECTED]> wrote:
>
> Hi, 
> 
> I have a framework product for which im using flex. I would like 
to 
> distribute as a compiled swf. In my mxml I need to make an HTTP 
> Service call to the same server on which this swf is used i.e the 
> context root can vary on deployment but I always want to reach the 
> same url given a context root
> //RouterServlet.
> 
> Now my problem is how do I give the url in the mxml and or mxmlc 
so 
> that my swf can be placed in any context root but it always need 
to 
> reach the url //RouterServlet
> 
> Im using Flex 1.5 right now and intend to go live with this since 
Flex 
> 2.0 is not out yet.
>






 Yahoo! Groups Sponsor ~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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




[flexcoders] mxmlc - context root - any root

2006-06-20 Thread ssundke
Hi, 

I have a framework product for which im using flex. I would like to 
distribute as a compiled swf. In my mxml I need to make an HTTP 
Service call to the same server on which this swf is used i.e the 
context root can vary on deployment but I always want to reach the 
same url given a context root
//RouterServlet.

Now my problem is how do I give the url in the mxml and or mxmlc so 
that my swf can be placed in any context root but it always need to 
reach the url //RouterServlet

Im using Flex 1.5 right now and intend to go live with this since Flex 
2.0 is not out yet.








 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~-> 

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

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

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

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