Re: [flexcoders] Flexgateway sandbox violation

2010-08-02 Thread Alex Harui
You might want to try an explicit call to load the policy file at 
http://www.rodomain.com/crossdomain.xml before an RO calls are made.


On 7/31/10 10:13 AM, fusionpage fusionp...@yahoo.com wrote:






I have a flex app that is shared by many virtual sites  www.domain1.com/myapp, 
www.domain2.com/myapp, www.domain3.com/myapp, etc.  All the domains have 
virtual directories pointing to/ myapp.myapp.swf calls remoteObject using 
the same ro endpoint  http://www.rodomain.com/flex2gateway/ .  I want all of 
these virtual sites to share the same myapp but be able to call the same ro 
endpoint to ColdFusion.

Of course, I'm getting sandbox violation that domainX.com cannot load data from
http://www.rodomain.com/flex2gateway/ .

How do I allow all of the virtual domains to make the data calls to the same ro 
endpoint url?

I do have a crossdomain.xml file in the root of the server, but that does not 
resolve the problem.  I assume I need something in my Flex code to make it 
work, but the many postings I find on the internet related to crossdomain are 
outdated.

My environment is Flash 10.1, Flex 4.1, ColdFusion 9, Windows 2003 Server/IIS.

Thanks!
Don






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


Re: [flexcoders] Whats Next in Flex ?

2010-08-02 Thread Alex Harui
4.5 release date is in 2011.


On 8/1/10 1:35 AM, dorkiedorkfromdorkt...@gmail.com 
dorkiedorkfromdorkt...@gmail.com wrote:






it sounds like with sdk 4.5 they can't release any new  builds because it's 
based on features in flash player 11 or whatever is the next version of fp. 
once that's released you'll see builds out that you can develop with. from what 
i've read 4.5 is planned to be released second half of this year.

Sat, Jul 31, 2010 at 6:45 PM, Wally Kolcz wko...@isavepets.com wrote:





Ok, I've read all about Hero, when is it going to be available for development?



On 7/31/2010 12:25 PM, dorkie dork from dorktown wrote:



http://iamdeepa.com/blog/?p=62



On Sat, Jul 31, 2010 at 10:57 AM, Sajid Hussain enchanter_...@yahoo.com wrote:







Whats more exciting in Flex ? for future




















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


Re: [flexcoders] Whats Next in Flex ?

2010-08-02 Thread dorkie dork from dorktown
hmm i develop with the beta builds on labs so for me its sooner than that :)

*Once the current in-development Flash Player and AIR runtimes are showcased
in a public release, Hero nightly builds will resume.

**In the interim, we will release semi-regular builds that showcase Hero
features not dependent on features under development in the latest Flash
Player and AIR runtimes. We will be posting the first of such builds over
the next coming days.*


On Mon, Aug 2, 2010 at 1:08 AM, Alex Harui aha...@adobe.com wrote:



 4.5 release date is in 2011.



 On 8/1/10 1:35 AM, dorkiedorkfromdorkt...@gmail.com 
 dorkiedorkfromdorkt...@gmail.com wrote:






 it sounds like with sdk 4.5 they can't release any new  builds because it's
 based on features in flash player 11 or whatever is the next version of fp.
 once that's released you'll see builds out that you can develop with. from
 what i've read 4.5 is planned to be released second half of this year.

 Sat, Jul 31, 2010 at 6:45 PM, Wally Kolcz wko...@isavepets.com wrote:






 Ok, I've read all about Hero, when is it going to be available for
 development?



 On 7/31/2010 12:25 PM, dorkie dork from dorktown wrote:




 http://iamdeepa.com/blog/?p=62



 On Sat, Jul 31, 2010 at 10:57 AM, Sajid Hussain enchanter_...@yahoo.com
 wrote:








 Whats more exciting in Flex ? for future























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



[flexcoders] Re: PHP Data Service

2010-08-02 Thread Stephen
Data type was not set correctly in Data/Services

Solved.



[flexcoders] ViewStack Event

2010-08-02 Thread Stephen
What ViewStack Event Listener is activated when public variables within the 
view stack become available. I don't fancy using the CreationPolicy=All as it 
slows the web site down too much.

- Stephen



[flexcoders] Getting a short filename in Air

2010-08-02 Thread Julian Tenney
I want to pass filenames to fcsh. Long filenames with spaces in break
it. How can Flex / Air reliably get a short filename from a long file
path?

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.

[flexcoders] Heavy Data load

2010-08-02 Thread fayaz140284
I am developing an application that would require to download a huge amount of 
data from server going above 100 MB at a time. Could anyone please suggest me, 
which service (HTTPService, Remoting etc. or anything else) is best suitable 
for such a heavy data load. Please, give me answer with pros and cons. 

Thanks in advance
Fayaz



[flexcoders] Shunjie Hu Speaks on Real-time web with Adobe Flex 4 and Flash Player 10.1

2010-08-02 Thread shaguf87
In the web 2.0 and RIA ecology, user requirements now require real-time 
information to be feed to the application. Shunjie Hu will be in Bangalore this 
August to explore how we can achieve real-time application using a variety of 
technology like Adobe Stratus 2.0 (RTMFP) and other open standards like XMPP. 
He will look into both the client and server side of the technology and see how 
we can achieve a lightweight and responsive real time application. At Adobe 
Flash Platform Summit 2010, to be held 25-26 August, Shunjie will also explore 
how we can incorporate these technologies into contemporary social media 
applications.

Hu Shunjie is a Front-end web developer with the passion to spread the RIA 
goodness all over the world, specializing in real-time web applications via the 
use of the Flash Platform and JavaScript AJAX. He is constantly racking his 
brains for new ideas to bring the RIA movement forward, as well as networking 
the local community. While not coding, Shunjie runs the Singapore Flex user 
group and organized several Flash and RIA related events like The ActionScript 
Conference and RIAction. He is currently employed by Seesmic.

Attend AFPS 2010 for the sheer value of the content! No other conference in 
India offers such a comprehensive mix of technical and creative content, 
delivered by the industry's leading speakers and platform experts. Across two 
days, you have access to over forty presentations including inspiring keynotes 
from legendary Adobe speakers. You also have the opportunity to hang out at the 
expo area and connect with Adobe partners, industry leaders and peer developers 
and designers. With over 2000 attendees sharing the same passion as you, 
imagine the opportunities to network and further your goals. 

Need more reasons? As the single, largest Flash Platform conference in India, 
at AFPS you get to hear about stuff in the roadmap and future directions before 
anyone else. Some of the specific highlights include: deep dive sessions around 
the latest product releases in the Adobe Flash Platform including exciting 
recent developments like Flash on devices, and targeted sessions for newcomers 
to the platform as well. For more information, visit: www.adobesummit.com

AFPS 2010 is homespun by Saltmarch Media, producers of Great Indian Developer 
Summit and Developer March – India's biggest and independent polyglot 
conference and portal for software developers.

A Saltmarch Media 
E: i...@saltmarch.com
Ph: +91 80 4005 1000



[flexcoders] Application preloader background

2010-08-02 Thread chandruflex
I see that when the application preloader appears while the application is 
loading, the background color of the page is a gray color. How do I change this 
gray color? I am using Adobe Flash Player 10.

Thanks,
Kumar



Re: [flexcoders] Heavy Data load

2010-08-02 Thread claudiu ursica
What do you donwload there? 100MB is huge. You could use FileReference if we're 
talking about files, images etc cause you can benefit from the progress events 
being fired 
C





From: fayaz140284 fayaz.r...@gmail.com
To: flexcoders@yahoogroups.com
Sent: Mon, August 2, 2010 12:48:36 PM
Subject: [flexcoders] Heavy Data load

   
I am developing an application that would require to download a huge amount of 
data from server going above 100 MB at a time. Could anyone please suggest me, 
which service (HTTPService, Remoting etc. or anything else) is best suitable 
for 
such a heavy data load. Please, give me answer with pros and cons. 


Thanks in advance
Fayaz


 


  

Re: [flexcoders] Whats Next in Flex ?

2010-08-02 Thread Jeffry Houser


 That's the first time I've seen someone put an actual version number 
on the next release.  Are 4.5 and Hero the same thing?


On 8/2/2010 2:08 AM, Alex Harui wrote:


4.5 release date is in 2011.


On 8/1/10 1:35 AM, dorkiedorkfromdorkt...@gmail.com 
dorkiedorkfromdorkt...@gmail.com dorkiedorkfromdorkt...@gmail.com 
dorkiedorkfromdorkt...@gmail.com wrote:







it sounds like with sdk 4.5 they can't release any new  builds
because it's based on features in flash player 11 or whatever is
the next version of fp. once that's released you'll see builds out
that you can develop with. from what i've read 4.5 is planned to
be released second half of this year.

Sat, Jul 31, 2010 at 6:45 PM, Wally Kolcz wko...@isavepets.com
wko...@isavepets.com wrote:






Ok, I've read all about Hero, when is it going to be available
for development?



On 7/31/2010 12:25 PM, dorkie dork from dorktown wrote:




http://iamdeepa.com/blog/?p=62
http://iamdeepa.com/blog/?p=62



On Sat, Jul 31, 2010 at 10:57 AM, Sajid Hussain
enchanter_...@yahoo.com enchanter_...@yahoo.com wrote:







Whats more exciting in Flex ? for future




















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




--
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711  | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust



Re: [flexcoders] How to split a String on spaces but including Quoted Phrases?

2010-08-02 Thread Nick Middleweek
Guys, I missed this one... Thank you for your replies... I'll check out the
code and see what works. I did end up writing a string parser but I'm now
curious to see how RegEx stands up to the task.


Cheers,
Nick


On 29 July 2010 23:30, Oleg Sivokon olegsivo...@gmail.com wrote:



 Ouch, actually, it has a flaw, but I'm not sure you need a fix for that,
 but it's possible to fix it, if you want. It only checks for the double
 quotes, when it checks for the non-quoted words, but it checks for both
 single and double quoted groups of words. If you need both single and double
 quotes however, the expression is going to be a tid bit longer... but if you
 don't need, then it'd be shorter in fact:

 /(.*[^])|(\s[^\s]+(?!\s))/g




Re: [flexcoders] Whats Next in Flex ?

2010-08-02 Thread Alex Harui
So far.  However, I should caution that the version number associated with a 
project name can be changed at any time.  (As can the contents of a project 
name or the project name itself).   So, Hero (current predicted to be called 
4.5) is scheduled for release in 2011.


On 8/2/10 5:17 AM, Jeffry Houser jef...@dot-com-it.com wrote:







 That's the first time I've seen someone put an actual version number on the 
next release.  Are 4.5 and Hero the same thing?

On 8/2/2010 2:08 AM, Alex Harui wrote:



4.5 release date is in 2011.


On 8/1/10 1:35 AM, dorkiedorkfromdorkt...@gmail.com 
dorkiedorkfromdorkt...@gmail.com wrote:








it sounds like with sdk 4.5 they can't release any new  builds because it's 
based on features in flash player 11 or whatever is the next version of fp. 
once that's released you'll see builds out that you can develop with. from what 
i've read 4.5 is planned to be released second half of this year.

Sat, Jul 31, 2010 at 6:45 PM, Wally Kolcz wko...@isavepets.com wrote:






Ok, I've read all about Hero, when is it going to be available for development?



On 7/31/2010 12:25 PM, dorkie dork from dorktown wrote:




 http://iamdeepa.com/blog/?p=62



On Sat, Jul 31, 2010 at 10:57 AM, Sajid Hussain enchanter_...@yahoo.com wrote:








Whats more exciting in Flex ? for future

























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


Re: [flexcoders] Whats Next in Flex ?

2010-08-02 Thread Alex Harui
Prereleases will be available before the release.  We definitely want feedback 
before we ship.  We reserve the right to limit the availability of pre-releases.

But to be clear, the official release is currently slated for 2011.


On 8/2/10 2:00 AM, dorkiedorkfromdorkt...@gmail.com 
dorkiedorkfromdorkt...@gmail.com wrote:






hmm i develop with the beta builds on labs so for me its sooner than that :)

Once the current in-development Flash Player and AIR runtimes are showcased in 
a public release, Hero nightly builds will resume.

In the interim, we will release semi-regular builds that showcase Hero features 
not dependent on features under development in the latest Flash Player and AIR 
runtimes. We will be posting the first of such builds over the next coming days.


On Mon, Aug 2, 2010 at 1:08 AM, Alex Harui aha...@adobe.com wrote:





4.5 release date is in 2011.



On 8/1/10 1:35 AM, dorkiedorkfromdorkt...@gmail.com 
http://dorkiedorkfromdorkt...@gmail.com  dorkiedorkfromdorkt...@gmail.com 
http://dorkiedorkfromdorkt...@gmail.com  wrote:






it sounds like with sdk 4.5 they can't release any new  builds because it's 
based on features in flash player 11 or whatever is the next version of fp. 
once that's released you'll see builds out that you can develop with. from what 
i've read 4.5 is planned to be released second half of this year.

Sat, Jul 31, 2010 at 6:45 PM, Wally Kolcz wko...@isavepets.com 
http://wko...@isavepets.com  wrote:





Ok, I've read all about Hero, when is it going to be available for development?



On 7/31/2010 12:25 PM, dorkie dork from dorktown wrote:



http://iamdeepa.com/blog/?p=62



On Sat, Jul 31, 2010 at 10:57 AM, Sajid Hussain enchanter_...@yahoo.com 
http://enchanter_...@yahoo.com  wrote:







Whats more exciting in Flex ? for future




















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


[flexcoders] Re: Flexgateway sandbox violation

2010-08-02 Thread fusionpage
Thanks Alex!  Saw your post on the Adobe forums and responded there...
http://forums.adobe.com/message/3019978#3019978 

explicitly loading it via my IP address worked.

Don

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

 You might want to try an explicit call to load the policy file at 
 http://www.rodomain.com/crossdomain.xml before an RO calls are made.
 
 
 On 7/31/10 10:13 AM, fusionpage fusionp...@... wrote:
 
 
 
 
 
 
 I have a flex app that is shared by many virtual sites  
 www.domain1.com/myapp, www.domain2.com/myapp, www.domain3.com/myapp, etc.  
 All the domains have virtual directories pointing to/ myapp.myapp.swf 
 calls remoteObject using the same ro endpoint  
 http://www.rodomain.com/flex2gateway/ .  I want all of these virtual sites to 
 share the same myapp but be able to call the same ro endpoint to ColdFusion.
 
 Of course, I'm getting sandbox violation that domainX.com cannot load data 
 from
 http://www.rodomain.com/flex2gateway/ .
 
 How do I allow all of the virtual domains to make the data calls to the same 
 ro endpoint url?
 
 I do have a crossdomain.xml file in the root of the server, but that does not 
 resolve the problem.  I assume I need something in my Flex code to make it 
 work, but the many postings I find on the internet related to crossdomain are 
 outdated.
 
 My environment is Flash 10.1, Flex 4.1, ColdFusion 9, Windows 2003 Server/IIS.
 
 Thanks!
 Don
 
 
 
 
 
 
 --
 Alex Harui
 Flex SDK Team
 Adobe System, Inc.
 http://blogs.adobe.com/aharui





[flexcoders] Updating ValueObjects

2010-08-02 Thread Stephen
I have written a program where you select a record and it is displayed due to 
the form being bound to the value object, when I update the record it updates 
in the database okay, but when I re-query it it crashes with the following, 
cant seem to make head nor tail of it...

mx.data::Conflict {
  cause = mx.data.messages::DataMessage {
body = [[heating_name],
{
  heating_id = 2
  heating_name = Radient Heat x
},
valueObjects::View_heating {
  heating_id = 2
  heating_name = Radient Heat
}]
clientId = null
correlationId = 
destination = view_heatingRPCDataManager
headers = {
  newReferencedIds = null
  prevReferencedIds = null
}
identity = {
  heating_id = 2
}
messageId = BEC62CE9-C4FA-4DB9-19A3-3459879B4269
operation = 3
timestamp = 0
timeToLive = 0
  }
  causedByLocalCommit = false
  clientObject = valueObjects::View_heating {
heating_id = 2
heating_name = Radient Heat
  }
  destination = view_heatingRPCDataManager
  errorID = 0
  message = Local item has changes to properties that conflict with remote 
change.
  name = Error
  originalObject = {
heating_id = 2
heating_name = Radient Heat x
  }
  propertyNames = [heating_name]
  resolved = false
  serverObject = heating_id=2
  serverObjectDeleted = false
  serverObjectReferencedIds = {
  }
}



[flexcoders] Destroying child in a view stack.

2010-08-02 Thread Ivan
Hi everyone,

I've come across a situation where I have to create a different type of wizards 
where each type have different screens in it.

Say for project of type A, you have Screen 1, Screen 2 and Screen 3 in the 
wizard and for project of type B, you have Screen 1, Screen 4 and Screen 5.

The issue here is that I would like to destroy the view in the view stack that 
are not needed, i.e.

Say I just create a project of type A, where the ViewStack contains Screen 1, 
Screen 2 and Screen 3.

Then I want to create project of type B, I would like to then be able to  
destroy Screen 2 and Screen 3 from the view stack memory.

Is there a way to do that?  The creationPolicy of auto seems to only delay 
the creation of the components in a ViewStack to when they are viewed, but it 
doesn't destroy them when they are no longer needed.

Any idea would be appreciated.

Many thanks in advance.

Ivan.



[flexcoders] unable to bind to property

2010-08-02 Thread luvfotography
Hi, I'm getting this message, 
I know it's not much to go on, but what could be the cause?
I have an array of objects of type 'myclass' and 
create an arraycollection for  a datagrid.

The warning just pops up in the console multiple times.

warning: unable to bind to property 'name' on class 'Object' (class is not an 
IEventDispatcher)

thanks,



Re: [flexcoders] Destroying child in a view stack.

2010-08-02 Thread Alex Harui
You can call removeChild to remove the ViewStack children.


On 8/2/10 3:34 PM, Ivan ivansebastiansu...@yahoo.co.uk wrote:






Hi everyone,

I've come across a situation where I have to create a different type of wizards 
where each type have different screens in it.

Say for project of type A, you have Screen 1, Screen 2 and Screen 3 in the 
wizard and for project of type B, you have Screen 1, Screen 4 and Screen 5.

The issue here is that I would like to destroy the view in the view stack that 
are not needed, i.e.

Say I just create a project of type A, where the ViewStack contains Screen 1, 
Screen 2 and Screen 3.

Then I want to create project of type B, I would like to then be able to  
destroy Screen 2 and Screen 3 from the view stack memory.

Is there a way to do that?  The creationPolicy of auto seems to only delay 
the creation of the components in a ViewStack to when they are viewed, but it 
doesn't destroy them when they are no longer needed.

Any idea would be appreciated.

Many thanks in advance.

Ivan.






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


Re: [flexcoders] unable to bind to property

2010-08-02 Thread Alex Harui
If you have binding expressions in the renderers and the data types are object 
you will get this warning.  Use [Bindable] classes instead of plain Objects.


On 8/2/10 3:43 PM, luvfotography ygro...@all-digital-links.com wrote:






Hi, I'm getting this message,
I know it's not much to go on, but what could be the cause?
I have an array of objects of type 'myclass' and
create an arraycollection for  a datagrid.

The warning just pops up in the console multiple times.

warning: unable to bind to property 'name' on class 'Object' (class is not an 
IEventDispatcher)

thanks,






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