Re: [flexcoders] SWFloader base path

2013-01-25 Thread Alex Harui
{code}




{code}

On 1/25/13 3:59 PM, "max.sammie"  wrote:






I am using SWFLoader to nest an swf inside of my main flex application.

I need the nested swf to access a different location than that of the parent 
swf.

For example:

/parent.swf - location of parent swf
/access/nested.swf  - path of nested swf

I load the nested swf in the mxml like so:

mx:SWFLoader id="swfLoader" x="0" y="-10" width="800" height="400" 
source="nested.swf"

Without explicitly listing the directory location is it possible to set 
something like a "base" path for SWFLoader with something like base="/access/"? 
 I know you can do this in js with swfobject.js, where you set params with the 
base attribute, but can something similar be done in flash?

Please help, any assistance is greatly appreciated.






--
Alex Harui
Flex SDK Team
Adobe Systems, Inc.
http://blogs.adobe.com/aharui


[flexcoders] SWFloader base path

2013-01-25 Thread max.sammie
I am using SWFLoader to nest an swf inside of my main flex application.

I need the nested swf to access a different location than that of the parent 
swf.

For example:

/parent.swf - location of parent swf
/access/nested.swf  - path of nested swf

I load the nested swf in the mxml like so:
 
mx:SWFLoader id="swfLoader" x="0" y="-10" width="800" height="400" 
source="nested.swf"

Without explicitly listing the directory location is it possible to set 
something like a "base" path for SWFLoader with something like base="/access/"? 
 I know you can do this in js with swfobject.js, where you set params with the 
base attribute, but can something similar be done in flash?

Please help, any assistance is greatly appreciated.



Re: [flexcoders] Dynamic DataGrid

2013-01-25 Thread doug g
Something like this?



http://ns.adobe.com/mxml/2009";

xmlns:s="library://ns.adobe.com/flex/spark"

xmlns:mx="library://ns.adobe.com/flex/mx"

xmlns:view="com.nexage.common.view.nexWizard.view.*"

xmlns:pages="com.nexage.common.view.nexWizard.sampleWizard.pages.*"

xmlns:components="com.nexage.common.view.nexWizard.view.components.*"

xmlns:sampleWizard="com.nexage.common.view.nexWizard.sampleWizard.*"

width="100%"

height="100%"

creationComplete="onCC()"



>

  

 



 

 

 



 

 



 

 

  

 

 

  



 

 



   

Doug
On Jan 14, 2013 6:15 PM, "Oleg Konovalov"  wrote:

> **
>
>
> Hi,
>
> I am trying to create dynamic DataGrid,
> which shows columns only if it contains data
> returned by query (it has 10+ columns, so not easy to calculate sizes)..
> I read a lot of posts on the net, tried minWidth, ResizeMode, etc.
>
> Nothing really useful which works.
> In most cases it created very narrow columns except the last one - super
> wide.
>
> Please help!
>
> (using Flex4 AdvancedDataGrid)
>
> --
> Thank you in advance,
> Oleg.
>
>  
>


[flexcoders] formatted text

2013-01-25 Thread niki.kulshreshtha
Can anybody suggest a control in flex on which when the text is pasted from 
anywhere, the format of that text remains same.