Re: [flexcoders] Apple Mobile App

2013-03-28 Thread Dave Cates
You can safely ignore that :)

On 28 March 2013 23:52, Jake Churchill reyna...@gmail.com wrote:

 **


 Guys,

 I just submitted an update (bug fixes) to an iOS flex mobile app and I got
 this email back saying:

 *Missing Push Notification Entitlement* - Your app appears to include API
 used to register with the Apple Push Notification service, but the app
 signature's entitlements do not include the aps-environment entitlement.
 If your app uses the Apple Push Notification service, make sure your App ID
 is enabled for Push Notification in the Provisioning Portal, and resubmit
 after signing your app with a Distribution provisioning profile that
 includes the aps-environment entitlement. See Provisioning and
 Development in the Local and Push Notification Programming 
 Guidehttps://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/ProvisioningDevelopment/ProvisioningDevelopment.html
  for
 more information. If your app does not use the Apple Push Notification
 service, no action is required. You may remove the API from future
 submissions to stop this warning. If you use a third-party framework, you
 may need to contact the developer for information on removing the API.

 I am not intentionally adding anything and we are not doing any push
 notifications.  I get this message when compiling with both flashbuilder
 4.6 and 4.7.  Here's the iPhone seciton of the app.xml file (company name
 changed for security):

 iPhone
 InfoAdditions![CDATA[
  keyUIDeviceFamily/key
 array
  string1/string
 string2/string
  /array
 keyUIApplicationExitsOnSuspend/key
 false/
 keyCFBundlePrimaryIcon/key
 dict
 keyCFBundleIconFiles/key
 array

  stringcom/company_name/assets/app_icons/icon_128.png/string
 /array
 keyUIPrerenderedIcon/key
 true/
 /dict
 keyUIPrerenderedIcon/key
  true/
 ]]/InfoAdditions
 requestedDisplayResolutionhigh/requestedDisplayResolution
 /iPhone

 Any help is very much appreciated.

 Thanks!

 -Jake

  



Re: [flexcoders] Looking for a developer to convert an AIR app to iPad in Flash Builder

2012-06-01 Thread Dave Cates
Hi Kevin,

That's exactly what we specialise in.

Would love to hear more...

Won't pass on my personal email address here because of spam but you can reach 
me here:

i...@redemptionmedia.co.uk

Thanks,
Dave.

On 1 Jun 2012, at 23:11, Kevin MacDonald kevinmacdon...@gmail.com wrote:

 Hello,
 
 
 I have a fairly complex app which I currently package as an AIR application 
 for deployment on Windows and Mac. I would like to use Flash Builder's 
 support for iPad and do the necessary work to allow this application to run 
 on the iPad. This might involve re-writing the UI, but re-using much of the 
 AS3 code. I would be interested in finding a Flash Builder dev who has 
 experience deploying on iPad.
 
 Thanks for any leads.
 
 Kevin
 


Re: [flexcoders] Flex Virtual Camera

2012-01-11 Thread Dave Cates
Hey Mark,

Camera.getCamera will only work for physically connected devices to the machine 
where the Flash app is running - like a USB webcam.

What you want to do is access the IP camera via a StageWebView component - 
basically a webkit browser. Just point the component at the URL for the camera.

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/StageWebView.html

That will display the camera output as it would do in a standard browser.

Hope that helps!

Dave.

On 11 Jan 2012, at 19:42, markflex2007 wrote:

 Hi,
 
 I have a ip camera and it is hard to access it with Flex app directly now.
 
 I plan to the following things.
 
 1. install virtual camera software in local pc.
 2. use virtual camera access the ip camera.
 3. use Flex access Virtual camera.
 
 Do you think if it is possible. I am not sure if the following code can work 
 with virtual camera. any idea?
 
 var cam:Camera = Camera.getCamera();
 
 Thanks for help
 
 Mark
 
 --- In flexcoders@yahoogroups.com, Fernando Lobos fernandolobos@... wrote:
 
  Flash media server is your best friend
  
  On Wed, Jan 11, 2012 at 4:14 PM, markflex2007 markflex2007@...wrote:
  
   **
  
  
   Is someone know how to use flex access virtual camera? Thanks
  
   Mark
  
   --- In flexcoders@yahoogroups.com, Zuberul Islam zuberul@ wrote:
   
hi all,
   
the problem isnt solved yet. my virtual camera works well with all
other applications. but flex crashes to detect them.
   
whats the property that flex searches for ? or is there any special
interface property that must be preset ??
   
Thanks in Advance.
   
   
--- In flexcoders@yahoogroups.com, Zuberul Islam zuberul@
wrote:

 Hello All,

 i have written a virtual webcam application as a directshow filter 
 have registered it in windows.

 from flex when i call Camera.names the flex application crashes.

 but when the virtual camera's are unregistered the application runs
 well.

 so what's the problem with these virtual cameras ??

 Thanks.

   
  
   
  
 
 
 



Re: [flexcoders] We've published Flash Player versions stats from our site

2011-11-22 Thread Dave Cates
Hey Tom,

Interesting…

Not sure I understood your last line though…

What features of FP11 are you requiring? Am sure you know that in Flex 4.5/4.6 
you can easily target older players? We consistently are targeting FP9 using 
Flash Builder 4.6

Dave.

On 22 Nov 2011, at 10:52, tomchiverton wrote:

 We've been looking into the statistics of our users, and the results are over 
 at http://www.extravision.com/blog/flash-everywhere - though other might be 
 interested in what a SME in the UK sees as Adobe don't have recent stats 
 available.
 
 I expected more v11 players, and we certainly don't see enough 10.2 to mean 
 we can to to Flex 4.5/4.6 which is a bit annoying.
 
 Tom
 
 



Re: [flexcoders] Re: We've published Flash Player versions stats from our site

2011-11-22 Thread Dave Cates
They do unless you use the swf-version override which is what I meant - sorry, 
didn't explicitly mention it as we never use the -target-player override just 
the -swf-version one.

If you compile to -swf-version=9

Then it will work on player 9 if you don't use any SDK elements requiring a 
more advance swf version.

As I asked earlier, it depends which parts of the latest SDK you require. If 
your code doesn't use any of the latest SDK additions then you can target an 
older player.

Same goes for Air.

Hope that helps.

On 22 Nov 2011, at 19:00, tom.chiverton wrote:

  What features of FP11 are you requiring? Am sure you
 
 The 4.5 and later SDKs require the 10.2 player.
 
 http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7ee0.html
 
 Tom
 
 



Re: [flexcoders] Re: We've published Flash Player versions stats from our site

2011-11-22 Thread Dave Cates
Bug fixes and optimisations?

On 22 Nov 2011, at 21:44, tom.chiverton wrote:

 Why would I want to use a more recent SDK, if not to use the latest features ?
 
 Tom
 
 



Re: [flexcoders] How to insert mobile ad?

2011-08-22 Thread Dave Cates
Hi,

We're currently using Admob via a web mobile system - just using stagewebview 
to display the ads via a php page on our server.

Admob sucks though as, at best, we get a 50% fill rate. Am looking at Smaato as 
an alternative as they have a wider spread of ads networks. You'd have thought 
Google would have their act together by now though!

Dave.

On 22 Aug 2011, at 08:14, luvfotography wrote:

 Can someone recommend an easy way to serve ads in my flex mobile game?
 (so I can make sow money)
 Has any one used admob, mochiads, etc? Do I need an actionscript API?
 Thanks 
 
 



Re: [flexcoders] Purchase Previous Adobe Licenses

2011-08-17 Thread Dave Cates
Hey,

Am I missing something or does this page not provide what you need? (a 
Coldfusion 8 license?)

http://www.adobe.com/products/coldfusion/coldfusion8/buy/

Dave.

On 17 Aug 2011, at 10:52, Paul Andrews wrote:

 On 17/08/2011 10:37, Brendan Meutzner wrote:
 
 Paul,
 
 Thanks for the response.  As far as having many licenses involved, yes, 
 potentially.  However, we're just beginning the sales process, and right now 
 wouldn't be able to buy a chunk of licenses... it's really a situation when 
 we sell the software, we need a license.
 
 I did actually speak to enterprise licensing, and didn't get much help there 
 either.  They actually pointed me towards outside sales partners, to which 
 I've gotten no response.
 
 That's a pity. Seems a little short-sighted of Adobe - I guess they're making 
 enough as it is. I think many companies would take into account your 
 situation and see it as a route towards future upgrades. The reverse side of 
 the coin, I guess, is the product lifetime. There is an expectation of 
 ongoing support when a product is bought so I guess in the bigger 
 picture, that involves a cost to adobe by not being able to retire product 
 for support quite so soon in the future.
 
 All pointless speculation on my part. Pity there's not a reseller with old 
 boxed product on the shelves.
 
 
 
 Brendan
 
 
 
 On Wed, Aug 17, 2011 at 1:48 AM, Paul Andrews p...@ipauland.com wrote:
  
 On 17/08/2011 09:23, Brendan Meutzner wrote:
 
 Hi All,
 
 Was wondering if anyone had insight into the possibility of purchasing 
 previous versions of Adobe product licenses.  I know this is a bit off 
 topic, but Adobe sales (phone line) is telling me they have no way to do 
 it, and I just can't believe that.  I'm hoping someone within the forum has 
 possibility come up against this before and might have some advice.  We've 
 got a product based on Flex using ColdFusion 8 with the LCDS ES license 
 included and moving to CF9 and the associated $30k license just isn't 
 feasible.  I know that BlazeDS is an option, but the work involved in 
 refactoring the code to use BlazeDS looks daunting.  We're already using CF 
 on the backend, and we just want to keep purchasing CF 8 licences for this.
 
 Thanks in advance for any help/advice,
 
 
 Sounds like you have many licences involved. If so you might want to get 
 hold of an Adobe rep that deals with corporate clients. They are far more 
 likely to have latitude to cut a deal.
 
 
 Brendan 
 
 
 
 
 



Re: [flexcoders] Purchase Previous Adobe Licenses

2011-08-17 Thread Dave Cates
Great ;)

Makes you wonder why Adobe Licensing never mentioned it though...

Dave.

On 17 Aug 2011, at 12:54, Paul Andrews wrote:

 On 17/08/2011 11:41, Dave Cates wrote:
 
 Hey,
 
 Am I missing something or does this page not provide what you need? (a 
 Coldfusion 8 license?)
 
 http://www.adobe.com/products/coldfusion/coldfusion8/buy/
 
 Looks like there isn't a problem after all.
 
 
 Dave.
 
 On 17 Aug 2011, at 10:52, Paul Andrews wrote:
 
  
 On 17/08/2011 10:37, Brendan Meutzner wrote:
 
 Paul,
 
 Thanks for the response.  As far as having many licenses involved, yes, 
 potentially.  However, we're just beginning the sales process, and right 
 now wouldn't be able to buy a chunk of licenses... it's really a situation 
 when we sell the software, we need a license.
 
 I did actually speak to enterprise licensing, and didn't get much help 
 there either.  They actually pointed me towards outside sales partners, to 
 which I've gotten no response.
 
 That's a pity. Seems a little short-sighted of Adobe - I guess they're 
 making enough as it is. I think many companies would take into account your 
 situation and see it as a route towards future upgrades. The reverse side 
 of the coin, I guess, is the product lifetime. There is an expectation of 
 ongoing support when a product is bought so I guess in the bigger picture, 
 that involves a cost to adobe by not being able to retire product for 
 support quite so soon in the future.
 
 All pointless speculation on my part. Pity there's not a reseller with old 
 boxed product on the shelves.
 
 
 
 Brendan
 
 
 
 On Wed, Aug 17, 2011 at 1:48 AM, Paul Andrews p...@ipauland.com wrote:
  
 On 17/08/2011 09:23, Brendan Meutzner wrote:
 
 Hi All,
 
 Was wondering if anyone had insight into the possibility of purchasing 
 previous versions of Adobe product licenses.  I know this is a bit off 
 topic, but Adobe sales (phone 
 line) is telling me they have no way to do it, and I just can't believe 
 that.  I'm hoping someone within the forum has possibility come up 
 against this before and might have some advice.  We've got a product 
 based on Flex using ColdFusion 8 with the LCDS ES license included and 
 moving to CF9 and the associated $30k license just isn't feasible.  I 
 know that BlazeDS is an option, but the work involved in refactoring the 
 code to use BlazeDS looks daunting.  We're already using CF on the 
 backend, and we just want to keep purchasing CF 8 licences for this.
 
 Thanks in advance for any help/advice,
 
 
 Sounds like you have many licences involved. If so you might want to get 
 hold of an Adobe rep that deals with corporate clients. They are far more 
 likely to have latitude to cut a deal.
 
 
 Brendan 
 
 
 
 
 
 
 
 



Re: [flexcoders] Web development with Flex

2010-01-31 Thread Dave Cates
Hey Christophe,

You could if you really wanted to but, you'd have to make sure the size of the 
generated swf was within your desired limits.

Flex has a larger payload than flash - flex automatically compiles extra 
libraries whereas Flash doesn't as standard.

Ebay's homepage has Swf content created with flex - on a slow connection you'll 
see the classic flex pre-loader.

I'd try and work out Flash - both use AS3 and so it shouldn't take long to 
adapt. You'd be especially wise to this if you're simply wanted timeline based 
swfs as it'll be a whole quicker and easier to do in Flash!

Basically, just need to be aware of which tool is best for the application.

Hope that helps.
Dave. 


On 31 Jan 2010, at 09:46, Christophe wrote:

 Hello, 
 
 Is it possible to developp Html/php classical websites with Flex animations 
 instead of Flash animations, because I don't know Flash, but only Flex ? 
 
 Thank you,
 Christophe,
 
 



Re: [flexcoders] Tab control of repeater items

2009-11-04 Thread Dave Cates
Hey Alex,

Thanks for your reply.

How would an MXML custom component implement IFocusManagerComponent ?

I also thought the focusEnabled=true and tabEnabled=true were the default
settings? I have hardcoded them too but no luck hence thinking the
implementation of IFocusManagerComponent might be the key.

Thanks.

From: Alex Harui aha...@adobe.com
Reply-To: flexcoders@yahoogroups.com
Date: Tue, 3 Nov 2009 22:33:34 -0800
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Tab control of repeater items

 
 
 

All parents need tabChildren=true, the thing that gets focus must implement
IFocusManagerComponent and have focusEnabled=true and tabEnabled=true

From: flexcoders@yahoogroups.com [flexcod...@yahoogroups.com] On Behalf Of
Dave Cates [d...@redemptionmedia.co.uk]
Sent: Tuesday, November 03, 2009 5:27 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Tab control of repeater items

 
Any one got any ideas?!

From: Dave Cates d...@redemptionmedia.co.uk UrlBlockedError.aspx 
Reply-To: flexcoders@yahoogroups.com UrlBlockedError.aspx 
Date: Mon, 02 Nov 2009 23:00:03 +
To: flexcoders@yahoogroups.com UrlBlockedError.aspx 
flexcoders@yahoogroups.com UrlBlockedError.aspx 
Subject: [flexcoders] Tab control of repeater items

 
 
 

Hi all,

I¹m creating an app that needs to make use of the tab control to cycle
through the visible controls.

Buttons, checkboxes etc are working great but I can¹t seem to be able to tab
to the elements within my repeaters.

Within the repeaters are custom components made up of things like
textfields. I need each of the repeater¹s items to be tab enabled.

I¹ve set them to tabEnabled, and set the repeater to have tabChildren
enabled too.

Any ideas?!

Thanks! 
  




  


 



Re: [flexcoders] Tab control of repeater items

2009-11-04 Thread Dave Cates
Hey Alex,

Thanks for your reply.

How would an MXML custom component implement IFocusManagerComponent ?

I also thought the focusEnabled=true and tabEnabled=true were the default
settings? I have hardcoded them too but no luck hence thinking the
implementation of IFocusManagerComponent might be the key.

Thanks.

From: Alex Harui aha...@adobe.com
Reply-To: flexcoders@yahoogroups.com
Date: Tue, 3 Nov 2009 22:33:34 -0800
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Tab control of repeater items

 
 
 

All parents need tabChildren=true, the thing that gets focus must implement
IFocusManagerComponent and have focusEnabled=true and tabEnabled=true

From: flexcoders@yahoogroups.com [flexcod...@yahoogroups.com] On Behalf Of
Dave Cates [d...@redemptionmedia.co.uk]
Sent: Tuesday, November 03, 2009 5:27 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Tab control of repeater items

 
Any one got any ideas?!

From: Dave Cates d...@redemptionmedia.co.uk UrlBlockedError.aspx 
Reply-To: flexcoders@yahoogroups.com UrlBlockedError.aspx 
Date: Mon, 02 Nov 2009 23:00:03 +
To: flexcoders@yahoogroups.com UrlBlockedError.aspx 
flexcoders@yahoogroups.com UrlBlockedError.aspx 
Subject: [flexcoders] Tab control of repeater items

 
 
 

Hi all,

I¹m creating an app that needs to make use of the tab control to cycle
through the visible controls.

Buttons, checkboxes etc are working great but I can¹t seem to be able to tab
to the elements within my repeaters.

Within the repeaters are custom components made up of things like
textfields. I need each of the repeater¹s items to be tab enabled.

I¹ve set them to tabEnabled, and set the repeater to have tabChildren
enabled too.

Any ideas?!

Thanks! 
  




  


 



Re: [flexcoders] Tab control of repeater items

2009-11-03 Thread Dave Cates
Any one got any ideas?!

From: Dave Cates d...@redemptionmedia.co.uk
Reply-To: flexcoders@yahoogroups.com
Date: Mon, 02 Nov 2009 23:00:03 +
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Subject: [flexcoders] Tab control of repeater items

 
 
 

Hi all,

I¹m creating an app that needs to make use of the tab control to cycle
through the visible controls.

Buttons, checkboxes etc are working great but I can¹t seem to be able to tab
to the elements within my repeaters.

Within the repeaters are custom components made up of things like
textfields. I need each of the repeater¹s items to be tab enabled.

I¹ve set them to tabEnabled, and set the repeater to have tabChildren
enabled too.

Any ideas?!

Thanks! 
  


 



[flexcoders] Tab control of repeater items

2009-11-02 Thread Dave Cates
Hi all,

I¹m creating an app that needs to make use of the tab control to cycle
through the visible controls.

Buttons, checkboxes etc are working great but I can¹t seem to be able to tab
to the elements within my repeaters.

Within the repeaters are custom components made up of things like
textfields. I need each of the repeater¹s items to be tab enabled.

I¹ve set them to tabEnabled, and set the repeater to have tabChildren
enabled too.

Any ideas?!

Thanks!


Re: [flexcoders] How do I determing If I'm running an Air app vs. Flex app?

2009-09-29 Thread Dave Cates
Erwhat do you mean exactly???

If the app uses/needs a browser, it¹s just a Flash/Flex based app. If it
executes/runs on the desktop it¹s an Air app. That¹s the only real
difference.

Does that help?

From: luvfotography ygro...@all-digital-links.com
Reply-To: flexcoders@yahoogroups.com
Date: Mon, 28 Sep 2009 21:30:17 -
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How do I determing If I'm running an Air app vs. Flex
app?

 
 
 

Hi, 
What's the simplest way to test (in actionscript) if
I'm running Air vs. Flex?
thanks,

  


 



Re: [flexcoders] TitleWindow Popup Question(s)

2009-09-29 Thread Dave Cates
Hi,

I¹d reference a public set function within the title window itself. Works
good for us since we use an MVC model and so don¹t really want too much code
within the TitleWindow view itself.

Regarding the title itself. I do this by assigning a Bindable variable to
the title in the main header of the title window.

Then I can update the title by simply assigning values to that variable
whenever I like.

Hope that helps.

Dave.



From: Angelo Anolin angelo_ano...@yahoo.com
Reply-To: flexcoders@yahoogroups.com
Date: Tue, 29 Sep 2009 00:55:35 -0700 (PDT)
To: flexcoders@yahoogroups.com
Subject: [flexcoders] TitleWindow Popup Question(s)

 
 
 

Hi FlexCoders,
 
Just a little TitleWindow popup question.
 
I want a function to be executed everytime my popup title window component
is displayed.  How do I achieve this?
 
I tried in the title window using the initialize property like:
mx:TitleWindow xmlns:mx=http://www.adobe.com/2006/mxml;
initialize=RunEveryPop(); 
 
but my function RunEveryPop only executes the first time the popup is
displayed. Subsequent popups would not trigger the said function.
 
I know I can declare a public function in the title window and simply call
this function from the calling main application, but I am wondering if this
is a good or recommended way in achieving this?
 
Also, another question...
 
How do I reference the title of the TitleWindow from within itself? Like for
example:
 
private function getTitleWindowTitle() :void
{
 Alert.show(Titlewindow.Title);
 // I Should be able to display the Title of the title window in an alert
message.
}
 
Advice and inputs would be highly appreciated.
 
Thanks.,

 
  


 



Re: [flexcoders] How do I determing If I'm running an Air app vs. Flex app?

2009-09-29 Thread Dave Cates
Erwhat do you mean exactly???

If the app uses/needs a browser, it¹s just a Flash/Flex based app. If it
executes/runs on the desktop it¹s an Air app. That¹s the only real
difference.

Does that help?

From: luvfotography ygro...@all-digital-links.com
Reply-To: flexcoders@yahoogroups.com
Date: Mon, 28 Sep 2009 21:30:17 -
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How do I determing If I'm running an Air app vs. Flex
app?

 
 
 

Hi, 
What's the simplest way to test (in actionscript) if
I'm running Air vs. Flex?
thanks,

  


 



Re: [flexcoders] TitleWindow Popup Question(s)

2009-09-29 Thread Dave Cates
Hi,

I¹d reference a public set function within the title window itself. Works
good for us since we use an MVC model and so don¹t really want too much code
within the TitleWindow view itself.

Regarding the title itself. I do this by assigning a Bindable variable to
the title in the main header of the title window.

Then I can update the title by simply assigning values to that variable
whenever I like.

Hope that helps.

Dave.



From: Angelo Anolin angelo_ano...@yahoo.com
Reply-To: flexcoders@yahoogroups.com
Date: Tue, 29 Sep 2009 00:55:35 -0700 (PDT)
To: flexcoders@yahoogroups.com
Subject: [flexcoders] TitleWindow Popup Question(s)

 
 
 

Hi FlexCoders,
 
Just a little TitleWindow popup question.
 
I want a function to be executed everytime my popup title window component
is displayed.  How do I achieve this?
 
I tried in the title window using the initialize property like:
mx:TitleWindow xmlns:mx=http://www.adobe.com/2006/mxml;
initialize=RunEveryPop(); 
 
but my function RunEveryPop only executes the first time the popup is
displayed. Subsequent popups would not trigger the said function.
 
I know I can declare a public function in the title window and simply call
this function from the calling main application, but I am wondering if this
is a good or recommended way in achieving this?
 
Also, another question...
 
How do I reference the title of the TitleWindow from within itself? Like for
example:
 
private function getTitleWindowTitle() :void
{
 Alert.show(Titlewindow.Title);
 // I Should be able to display the Title of the title window in an alert
message.
}
 
Advice and inputs would be highly appreciated.
 
Thanks.,

 
  


 



Re: [flexcoders] TitleWindow Popup Question(s)

2009-09-29 Thread Dave Cates
Hmmm...why not dispatch an event from the title window back to the parent?

Then in the parent launch whatever function you need to once it captures the
event from the titlewindow.

That way you also retain the controller/view relationship between them ;)


From: Angelo Anolin angelo_ano...@yahoo.com
Reply-To: flexcoders@yahoogroups.com
Date: Tue, 29 Sep 2009 17:01:01 -0700 (PDT)
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] TitleWindow Popup Question(s)

 
 
 

Hi Dave,
 
This is what I was doing previously.  I agree with you that the titlewindow
popup should have quite a minimal set of codes in it.

What puzzles me though is that I am unable to make a web service call from
within the Popup window itself.  Is it not possible for the popup window to
make a backend (.NET) web service call?
 
Thanks.


From: Dave Cates dave.ca...@gmail.com
To: flexcoders@yahoogroups.com
Sent: Tuesday, 29 September, 2009 16:00:10
Subject: Re: [flexcoders] TitleWindow Popup Question(s)

  
Hi,

I¹d reference a public set function within the title window itself. Works
good for us since we use an MVC model and so don¹t really want too much code
within the TitleWindow view itself.

Regarding the title itself. I do this by assigning a Bindable variable to
the title in the main header of the title window.

Then I can update the title by simply assigning values to that variable
whenever I like.

Hope that helps.

Dave.



From: Angelo Anolin angelo_anolin@ yahoo.com
Reply-To: flexcod...@yahoogro ups.com
Date: Tue, 29 Sep 2009 00:55:35 -0700 (PDT)
To: flexcod...@yahoogro ups.com
Subject: [flexcoders] TitleWindow Popup Question(s)

 
 
 

Hi FlexCoders,
 
Just a little TitleWindow popup question.
 
I want a function to be executed everytime my popup title window component
is displayed.  How do I achieve this?
 
I tried in the title window using the initialize property like:
mx:TitleWindow xmlns:mx=http://www.adobe. com/2006/ mxml
http://www.adobe.com/2006/mxml  initialize=RunEveryPop( ); 
 
but my function RunEveryPop only executes the first time the popup is
displayed. Subsequent popups would not trigger the said function.
 
I know I can declare a public function in the title window and simply call
this function from the calling main application, but I am wondering if this
is a good or recommended way in achieving this?
 
Also, another question...
 
How do I reference the title of the TitleWindow from within itself? Like for
example:
 
private function getTitleWindowTitle () :void
{
 Alert.show(Titlewin dow.Title) ;
 // I Should be able to display the Title of the title window in an alert
message.
}
 
Advice and inputs would be highly appreciated.
 
Thanks.,

 
  





 
  


 



Re: [flexcoders] Custom icon in air installer

2009-09-28 Thread Dave Cates
Almost...it¹s the second screen of the installer (the screen after the one
you linked).

Here¹s a screen grab:
http://www.redemptionmedia.co.uk/images/air_install_grab.jpg

We did this via Flash but I can¹t see how to do it with Flex.

Thanks!

From: Sam Lai samuel@gmail.com
Reply-To: flexcoders@yahoogroups.com
Date: Mon, 28 Sep 2009 16:56:14 +1000
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Custom icon in air installer

You mean the icon in this dialog?

http://blogs.adobe.com/simplicity/2009/07/revised_air_152_install_experi.htm
l

I don't think you can. The AIR install dialogs are fairly rigid in
terms of customisation, presumably to keep the install experience
uniform across the platform.

2009/9/26 Dave Cates d...@redemptionmedia.co.uk


 Hi all,

 I¹m trying to display my client¹s logo next to the app description in the air
installer window.

 Any ideas of how to do this?! The normal descriptor file doesn¹t seem to have
this field available.

 Many thanks,
 Dave.

 




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location:
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62
079f6847
Search Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links






[flexcoders] Custom icon in air installer

2009-09-25 Thread Dave Cates
Hi all,

I¹m trying to display my client¹s logo next to the app description in the
air installer window.

Any ideas of how to do this?! The normal descriptor file doesn¹t seem to
have this field available.

Many thanks,
Dave.


[flexcoders] Custom icon in air installer

2009-09-25 Thread Dave Cates
Hi all,

I¹m trying to display my client¹s logo next to the app description in the
air installer window.

Any ideas of how to do this?! The normal descriptor file doesn¹t seem to
have this field available.

Many thanks,
Dave.


Re: [flexcoders] Re: PopUp databinding - possible?

2009-08-10 Thread Dave Cates
Hi Tracey,

Many thanks for your responses so far.

My only question is how do you bind any data into the popup?

Some example code...

In the parent AS code:

// declare new instance of my popup item
Var addPopUP:MyPopUp = new MyPopUp();

// assign var value to popup
AddPopUp.someData = _someData;

// display popup
PopUpManager.addPopUP( addPopUp, this, true);


In the Popup:

[Bindable]
Private var _someData:String;

[Bindable]
Public function set someData  (value:String):void
{
_someData = value;
}
Public function get someData():String
{
return _someData;
}

So, with your code inserted, how would the code above look different so that
when the _someData var in the parent changed, popup would automatically see
that change? (without creating another function in the parent ­ it needs to
be binded).

Thanks!
Dave.


From: Tracy Spratt tr...@nts3rd.com
Reply-To: flexcoders@yahoogroups.com
Date: Fri, 7 Aug 2009 22:49:00 -0400
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: PopUp databinding - possible?

 
 
 

³Šin the creationComplete=init() of the PopUp?² Yes.
 
Full syntax of what?  This: ³[Bindable]private var _app:MyMainAppFileName;²
is full syntax.
 

Tracy Spratt,
Lariat Services, development services available


From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of spuy...@ymail.com
Sent: Friday, August 07, 2009 2:25 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: PopUp databinding - possible?
 
  

Tracy:

What do you mean by?

In a creation complete handler, assign:
_var =Application.application as MyMainAppFileName;

Do you mean in the creationComplete=init() of the PopUp? If so, what is the
full syntax?

Thanks!
Lee

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

 Sure. In the pop-up, define a bindable variable, say
 
 [Bindable]private var _app:MyMainAppFileName;
 
 
 
 In a creation complete handler, assign:
 
 _var = Application.application as MyMainAppFileName;
 
 
 
 Now you can bind to any bindable property in MyMainAppFileName
 
 
 
 If that is backwards to what you want, then I advise dispatching events from
 the Pop-up. Remember, binding is just an event mechanism that is created by
 the compiler.
 
 
 
 
 
 Tracy Spratt,
 
 Lariat Services, development services available
 
 _ 
 
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On
 Behalf Of Dave Cates
 Sent: Friday, August 07, 2009 10:01 AM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 Subject: [flexcoders] PopUp databinding - possible?
 
 
 
 
 
 Hi all,
 
 I have an mxml component that I am displaying via the popup manager method.
 
 But, I have data that is sent to this popup that needs to be data bound -
 database updates etc.
 
 So, how do you databind to the vars inside the popup? If the MXML component
 was on the stage as normal I'd have no problems but the popup, my nature, is
 created at run-time.
 
 So is it possible and if so, how?!
 
 Thanks!
 Dave.

  


 



Re: [flexcoders] Re: PopUp databinding - possible?

2009-08-10 Thread Dave Cates
Hi Tracey,

Your comment in your first reply is exactly what I¹m asking clarification
on:

From 1st reply...

³ Now you can bind to any bindable property in MyMainAppFileName²

How would you do this?

Sorry if it¹s really simple but I can¹t work out how to databind in as3 to a
dynamically created popup.

Thanks.

From: Tracy Spratt tr...@nts3rd.com
Reply-To: flexcoders@yahoogroups.com
Date: Mon, 10 Aug 2009 10:09:05 -0400
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: PopUp databinding - possible?

 
 
 

See the code in my first reply.
 

Tracy Spratt,
Lariat Services, development services available


From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Dave Cates
Sent: Monday, August 10, 2009 7:16 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: PopUp databinding - possible?
 
  

Hi Tracey,

Many thanks for your responses so far.

My only question is how do you bind any data into the popup?

Some example code...

In the parent AS code:

// declare new instance of my popup item
Var addPopUP:MyPopUp = new MyPopUp();

// assign var value to popup
AddPopUp.someData = _someData;

// display popup
PopUpManager.addPopUP( addPopUp, this, true);


In the Popup:

[Bindable]
Private var _someData:String;

[Bindable]
Public function set someData  (value:String):void
{
_someData = value;
}
Public function get someData():String
{
return _someData;
}

So, with your code inserted, how would the code above look different so that
when the _someData var in the parent changed, popup would automatically see
that change? (without creating another function in the parent ­ it needs to
be binded).

Thanks!
Dave.


From: Tracy Spratt tr...@nts3rd.com
Reply-To: flexcoders@yahoogroups.com
Date: Fri, 7 Aug 2009 22:49:00 -0400
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: PopUp databinding - possible?

 
 
 

³Šin the creationComplete=init() of the PopUp?² Yes.
 
Full syntax of what?  This: ³[Bindable]private var _app:MyMainAppFileName;²
is full syntax.
 

Tracy Spratt,
Lariat Services, development services available


From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of spuy...@ymail.com
Sent: Friday, August 07, 2009 2:25 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: PopUp databinding - possible?

  

Tracy:

What do you mean by?

In a creation complete handler, assign:
_var =Application.application as MyMainAppFileName;

Do you mean in the creationComplete=init() of the PopUp? If so, what is the
full syntax?

Thanks!
Lee

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

 Sure. In the pop-up, define a bindable variable, say
 
 [Bindable]private var _app:MyMainAppFileName;
 
 
 
 In a creation complete handler, assign:
 
 _var = Application.application as MyMainAppFileName;
 
 
 
 Now you can bind to any bindable property in MyMainAppFileName
 
 
 
 If that is backwards to what you want, then I advise dispatching events from
 the Pop-up. Remember, binding is just an event mechanism that is created by
 the compiler.
 
 
 
 
 
 Tracy Spratt,
 
 Lariat Services, development services available
 
 _ 
 
 From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On
 Behalf Of Dave Cates
 Sent: Friday, August 07, 2009 10:01 AM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 Subject: [flexcoders] PopUp databinding - possible?
 
 
 
 
 
 Hi all,
 
 I have an mxml component that I am displaying via the popup manager method.
 
 But, I have data that is sent to this popup that needs to be data bound -
 database updates etc.
 
 So, how do you databind to the vars inside the popup? If the MXML component
 was on the stage as normal I'd have no problems but the popup, my nature, is
 created at run-time.
 
 So is it possible and if so, how?!
 
 Thanks!
 Dave.

  


  


 



[flexcoders] PopUp databinding - possible?

2009-08-07 Thread Dave Cates
Hi all,

I have an mxml component that I am displaying via the popup manager method.

But, I have data that is sent to this popup that needs to be data bound ­
database updates etc.

So, how do you databind to the vars inside the popup? If the MXML component
was on the stage as normal I¹d have no problems but the popup, my nature, is
created at run-time.

So is it possible and if so, how?!

Thanks!
Dave.


[flexcoders] PopUp databinding - possible?

2009-08-07 Thread Dave Cates
Hi all,

I have an mxml component that I am displaying via the popup manager method.

But, I have data that is sent to this popup that needs to be data bound ­
database updates etc.

So, how do you databind to the vars inside the popup? If the MXML component
was on the stage as normal I¹d have no problems but the popup, my nature, is
created at run-time.

So is it possible and if so, how?!

Thanks!
Dave.


Re: [flexcoders] PopUp databinding - possible?

2009-08-07 Thread Dave Cates
Hi Tracey,

Thanks for your advice.

The compiler is ing Œaccess of undefined property Application¹

Any ideas?

Thanks,
Dave.

From: Tracy Spratt tr...@nts3rd.com
Reply-To: flexcoders@yahoogroups.com
Date: Fri, 7 Aug 2009 10:31:06 -0400
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] PopUp databinding - possible?

 
 
 

Sure.  In the pop-up, define a bindable variable, say
[Bindable]private var  _app:MyMainAppFileName;
 
In a creation complete handler, assign:
_var = Application.application as MyMainAppFileName;
 
Now you can bind to any bindable property in MyMainAppFileName
 
If that is backwards to what you want, then I advise dispatching events from
the Pop-up.  Remember, binding is just an event mechanism that is created by
the compiler.
 
 

Tracy Spratt,
Lariat Services, development services available


From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Dave Cates
Sent: Friday, August 07, 2009 10:01 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] PopUp databinding - possible?
 
  

Hi all,

I have an mxml component that I am displaying via the popup manager method.

But, I have data that is sent to this popup that needs to be data bound ­
database updates etc.

So, how do you databind to the vars inside the popup? If the MXML component
was on the stage as normal I¹d have no problems but the popup, my nature, is
created at run-time.

So is it possible and if so, how?!

Thanks!
Dave. 
  


 



Re: [flexcoders] Closures in ActionScript 3?

2009-06-05 Thread Dave Cates
Hi Keith,

Main issue is that there is nothing to distinguish the TextInput instances.
Plus the I iterative isn¹t working because it indeed will be that last
number of the loop ­ it¹s not being used for anything else or assigned to
anything.

To get around this, you could assign a different name to each of the input
boxes in the loop. So using your I iterative you could have: input.name =
³inputbox² + String(i);

Then in your event listener have:

Trace(³input box changed = ³ + Event.currentTarget.name);

That should work ;)

Hope that helps.
Dave.


From: Keith Hughitt keith.hugh...@gmail.com
Reply-To: flexcoders@yahoogroups.com
Date: Fri, 05 Jun 2009 14:28:43 -
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Closures in ActionScript 3?

 
  

  

Could someone please explain to me how closures work in ActionScript? I am
attempting to create a set of Flex Form fields, and assign an event-handler
to each of them, however, it seems that after creation, all of the fields
have the same event handler.

For example:

 var i:int = 0;
  for each (var item:Object in this._myItems) {
var f:FormItem = new FormItem();
f.label = item.header;

var input:TextInput = new TextInput();

// Setup event-handler
var self:MyClass = this;

input.addEventListener(change, function (e:Event):void {
Alert.show(Event-hanlder #:  + String(i));
 });

i++;

// Add text input to FormItem
f.addChild(input);

// Save a reference to the form control
item.ui = f;
addChild(f);
}

So I would expect that the number displayed when I change any given field
matched the order of the field on the screen. When I run the code, however,
no matter which field I adjust, the number is always the same (it is the
number of the last form item to be added).

It appears that what is happening is that a single function is being
created, and each input field has a reference to that same function.

Any suggestions? Any help would be greatly appreciated.

Thanks!
Keith