Re: [flexcoders] What book in Flex would you guys recommend for a newbie ?

2010-03-19 Thread Darrin Kay
Flex 4 in Action, its not out yet but was able to get a early view of it
and with Flash Builder 4 this is where I would start.

http://groups.adobe.com/posts/fa890211a0
Flex 4 in Action


On Thu, Mar 18, 2010 at 9:15 PM, Steve Mathews happy...@gmail.com wrote:



 The community is great at helping people who have specific questions. A
 newbie is on their own until they at least learn the basics and can ask
 meaningful questions. For example, if you haven't figured out the difference
 between MXML and AS3, then you need to do some self study before asking
 questions.

 As to the question of which books, I would say you would learn a lot from
 just about any of them. It kind of depends one what your goal is. If you
 want to learn to use the Flex framework then maybe
 http://flexinaction.com/. If you are still trying to learn AS3 then
 Essential ActionScript 3.0 is a great start.

 Steve

 On Thu, Mar 18, 2010 at 10:30 AM, fred44455 fred44...@yahoo.com wrote:

 I already asked questions on this forum but I rarely get feed backs.
 I was told that the Adobe community was a fantastic one but I guess it is
 very much like linux if you are a newbie you are on your own. Anyway I would
 appreciate a recommendation on a good book to learn Flex. Also I was told to
 learn AS3. What Actionscript are you guys referring to?
 The AS3 for Flex seems to be totally different with mx classes than the
 AS3 for Flash. So I would appreciate that you guys let me know which one I
 need to learn. Thanks.



 


 --
 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-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links

http://groups.yahoo.com/group/flexcoders/




  



Re: [flexcoders] Generating panels dynamically? How?

2010-02-22 Thread Darrin Kay
I just built a carousel and had a lot of these issues, now the data for this
is comeing from an XML file, but that should not matter.  You can not make a
panel backgroundImage dynamic, instead add a image to the panel like I did
below.


mx:Repeater id=imageRepeater dataProvider={imageData.lastResult.panel}

mx:Panel id=MainPanel xmlns:mx=http://www.adobe.com/2006/mxml; layout=
absolute fontFamily=gunPlayCSS fontWeight=bold

title={imageRepeater.currentItem.title} width=450 height=253
themeColor=#C4BA88 borderColor=#C4BA88 headerColors=#C4BA88

roundedBottomCorners=true cornerRadius=15 horizontalScrollPolicy=off
verticalScrollPolicy=off

mx:Image id=backgroundImage source={imageRepeater.currentItem.background
} /

mx:Text id=panelSub x=109 y=24 width=316 height=33 htmlText={
imageRepeater.currentItem.sub} fontFamily=gunPlayCSS fontSize=20/

mx:TextArea id=panelBody editable=false alpha=0 x=109 y=56
width=316 height=141 text={imageRepeater.currentItem.body}
fontFamily=gunPlayCSS fontSize=15 textAlign=center themeColor=#C4BA88
/

mx:Text text={imageRepeater.currentItem.linkText} click={navigateToURL(*
new* URLRequest(event.currentTarget.getRepeaterItem().link), *'_self'*);}
x=109 y=195 fontFamily=gunPlayCSS fontSize=14 height=22 color=
#2034F6 width=216/

/mx:Panel

/mx:Repeater


On Mon, Feb 22, 2010 at 1:53 AM, flexnewbie999
wgb.jobsearch@gmail.comwrote:



 I have a ArrayCollection of objects that contain an image and other fields.
 I need to dynamically created a panel for each image in succession as the
 collection is iterated over (at least that's the idea I've come up with). I
 can hard code each individual image via mxml into a panel but that doesn'
 suit my purposes as I never know how many items are in the collection. I've
 looked at itemRenderers but that doesn't seem to go since they only appear
 to work with grids and lists etc. I'm relatively new at this; is coding this
 type of thing the only solution to this problem or are there components I'm
 missing?

 Thanks!

 



Re: [flexcoders] .CFC cannot be accessed remotely...

2010-02-19 Thread Darrin Kay
I wouold need to see the code, but I would check the path.  You did make the
function access=remote?

Darrin

On Fri, Feb 19, 2010 at 10:17 AM, Laurence lmacne...@comcast.net wrote:



 I've reinstalled everything on my server, including FlexBuilder and
 ColdFusion...

 Now, when I run my app from within FlexBuilder, I get the following error
 message:
 The method 'updateLoginInfo' in component
 C:\Inetpub\wwwroot\QMS\cfcs\dao\LoginDAO.cfc cannot be accessed remotely.

 What does that mean? It accesses the .CFC file when it reads the login
 info, but won't access it when it updates (writes) login info? I really
 don't get that...

 One note: I did have a problem importing the project into FlexBuilder. It
 kept looking for a file called
 {CFROOT_FLEX}/wwwroot/WEB-INF/flex/libs/fds.swc but that file (and the
 entire folder, for that matter) isn't on this computer anymore... Is that
 causing the remote-access problem? If so, where/how do I get my CF
 web-inf/flex/libs stuff back? I've installed CF9, and I was running CF8
 before, so is there something in FB3 that I have to change for it to realize
 I'm now using CF9? Should I have installed FB3 before I installed CF9?

 Thanks for any help you can give me.
 L.

 



[flexcoders] dynamic carousel [1 Attachment]

2010-02-15 Thread Darrin Kay
Good Day,
  I was able to take Doug McCune Carousel and make it dynamic, so I wanted
to share that.  I am having two issues that I can use help with.

I am tring to make the panel image dynamic but I am having a runtime error.
Also there can be a link in each panel, but that to has a runtime error.

So any help would be greatful

Thanks,
 Darrin


[flexcoders] navigateToURL error

2010-02-12 Thread Darrin Kay
I am tring to get some text become a link in a Flex3 app, but getting an
error I know the data is getting pulled in, in this case I hard coded the
xml with http://www.espn.com for testing so it is not the link.



mx:Repeater id=imageRepeater dataProvider={imageData.lastResult.panel}

mx:Panel id=MainPanel xmlns:mx=http://www.adobe.com/2006/mxml; layout=
absolute title={imageRepeater.currentItem.title} width=450 height=253
themeColor=#C4BA88 borderColor=#C4BA88 headerColors=#C4BA88
roundedBottomCorners=true

backgroundImage=@Embed(source='images/backgroungLeftLogo.jpg')
cornerRadius=15

mx:TextArea id=panelSub x=109 y=24 width=316 height=33 alpha=0
fontFamily=Gunplay htmlText={imageRepeater.currentItem.sub} fontSize=22
/

mx:TextArea id=panelBody x=109 y=56 width=316 height=136 alpha=0
fontFamily=Gunplay htmlText={imageRepeater.currentItem.body} fontSize=
16 textAlign=center themeColor=#C4BA88/

mx:Text text={imageRepeater.currentItem.linkText} click=navigateToURL(*
new* URLRequest({imageRepeater.currentItem.link}), *'blank'*); x=109 y=
200 fontFamily=Gunplay fontSize=14/!--  the errors are on this
line --

/mx:Panel

/mx:Repeater



the above code will not compile:

 1084 : Syntax error: expection colon before dot.

 1084 : Syntax error: expection identifier before rightbrace.





thanks for the help,

 D


[flexcoders] Panel BackgroundImage

2010-02-11 Thread Darrin Kay
Good Day,
 I thought this was simple, I have a xml feed coming in and all the data is
working fine, except for one.  I am displaying the data in a Panel and each
panel can have a different background image :

backgroundImage={imageRepeater.currentItem.background}



in the xml :  backgroundimages/backgroungLeftLogo.jpg/background



but I get unable to load error any ideas?



Yes I have a images folder in the root of the site in iis



Thanks,

 Darrin


Re: [flexcoders] Next version of Flex

2009-11-30 Thread Darrin Kay
I have heard it is due out some time 1qtr of 2010

On Mon, Nov 30, 2009 at 12:35 PM, Christophe
christophe_jacque...@yahoo.frwrote:



 Hello,

 When will be available the next version of flex : flash builder ?

 Thank you,
 Christophe,

  



[flexcoders] can you get a command result in Cairngorm call a function on the calling page?

2009-11-03 Thread Darrin Kay
OK I have a sequence issue, I have a page that calls an event, which goes
all the way to a cf page and the DB, on the Result I need to have a function
on the page get called.  Is there a way to do this?  I tried a
addEventListener on the submit button, but the sequence is still off.

Thanks,
 D


Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?

2009-11-03 Thread Darrin Kay
I can not add any 3rd party tools to the app.  can you think of any another
way?

On Tue, Nov 3, 2009 at 8:23 AM, claudiu ursica the_bran...@yahoo.comwrote:



 You can attach an IResponder (with the result and fault functions) from
 your view as payload to your event. Inside your command you'll get the
 response/faul from the server and call the appropriate function on the
 IResponder reference. Check for UniversalMind cairngorm extension they
 explain this... However is doable and probably withhout the cairngorm
 extentsions ...

 HTH,
 Claudiu
 --
 *From:* Darrin Kay dar...@stop-ing.com
 *To:* flexcoders@yahoogroups.com
 *Sent:* Tue, November 3, 2009 10:18:51 AM
 *Subject:* [flexcoders] can you get a command result in Cairngorm call a
 function on the calling page?



 OK I have a sequence issue, I have a page that calls an event, which goes
 all the way to a cf page and the DB, on the Result I need to have a function
 on the page get called.  Is there a way to do this?  I tried a
 addEventListener on the submit button, but the sequence is still off.

 Thanks,
  D

  



Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?

2009-11-03 Thread Darrin Kay
is there a way to make the make the app wait until the complete sequence is
complete before I call the next function?

So I call a function but when I dispatch the event, I wait to stop there
until the cmd result is complete


On Tue, Nov 3, 2009 at 8:35 AM, claudiu ursica the_bran...@yahoo.comwrote:



 I have no idea what your architecture is, but if you use Cairngorm which I
 gather you do since you mentioned in the title you can still do some more or
 less dirty tircks in there. Put something in your model a boolean flag along
 with the data you want in your view. In the view bind the boolean data and
 execute a function (your function) when the bindings tirggers... when the
 data comes back from the server you just do boolFlah = !boolFlag and it
 fires your triggers... Dirty but it will do it ...

 C

 --
 *From:* Darrin Kay dar...@stop-ing.com
 *To:* flexcoders@yahoogroups.com
 *Sent:* Tue, November 3, 2009 10:29:34 AM
 *Subject:* Re: [flexcoders] can you get a command result in Cairngorm call
 a function on the calling page?



 I can not add any 3rd party tools to the app.  can you think of any another
 way?

 On Tue, Nov 3, 2009 at 8:23 AM, claudiu ursica the_braniak@ 
 yahoo.comthe_bran...@yahoo.com
  wrote:



 You can attach an IResponder (with the result and fault functions) from
 your view as payload to your event. Inside your command you'll get the
 response/faul from the server and call the appropriate function on the
 IResponder reference. Check for UniversalMind cairngorm extension they
 explain this... However is doable and probably withhout the cairngorm
 extentsions ...

 HTH,
 Claudiu
 --
 *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com
 *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com

 *Sent:* Tue, November 3, 2009 10:18:51 AM
 *Subject:* [flexcoders] can you get a command result in Cairngorm call a
 function on the calling page?



 OK I have a sequence issue, I have a page that calls an event, which goes
 all the way to a cf page and the DB, on the Result I need to have a function
 on the page get called.  Is there a way to do this?  I tried a
 addEventListener on the submit button, but the sequence is still off.

 Thanks,
  D



  



Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?

2009-11-03 Thread Darrin Kay
a addEventListner would be the best but not sure how to add it to the result
of the cmd file and have it kick off a function in the view page

On Tue, Nov 3, 2009 at 8:35 AM, claudiu ursica the_bran...@yahoo.comwrote:



 I have no idea what your architecture is, but if you use Cairngorm which I
 gather you do since you mentioned in the title you can still do some more or
 less dirty tircks in there. Put something in your model a boolean flag along
 with the data you want in your view. In the view bind the boolean data and
 execute a function (your function) when the bindings tirggers... when the
 data comes back from the server you just do boolFlah = !boolFlag and it
 fires your triggers... Dirty but it will do it ...

 C

 --
 *From:* Darrin Kay dar...@stop-ing.com
 *To:* flexcoders@yahoogroups.com
 *Sent:* Tue, November 3, 2009 10:29:34 AM
 *Subject:* Re: [flexcoders] can you get a command result in Cairngorm call
 a function on the calling page?



 I can not add any 3rd party tools to the app.  can you think of any another
 way?

 On Tue, Nov 3, 2009 at 8:23 AM, claudiu ursica the_braniak@ 
 yahoo.comthe_bran...@yahoo.com
  wrote:



 You can attach an IResponder (with the result and fault functions) from
 your view as payload to your event. Inside your command you'll get the
 response/faul from the server and call the appropriate function on the
 IResponder reference. Check for UniversalMind cairngorm extension they
 explain this... However is doable and probably withhout the cairngorm
 extentsions ...

 HTH,
 Claudiu
 --
 *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com
 *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com

 *Sent:* Tue, November 3, 2009 10:18:51 AM
 *Subject:* [flexcoders] can you get a command result in Cairngorm call a
 function on the calling page?



 OK I have a sequence issue, I have a page that calls an event, which goes
 all the way to a cf page and the DB, on the Result I need to have a function
 on the page get called.  Is there a way to do this?  I tried a
 addEventListener on the submit button, but the sequence is still off.

 Thanks,
  D



  



Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?

2009-11-03 Thread Darrin Kay
so it would be like this : model.varName.addEventListner(change, function);

Sorry I have not use that yet, thanks


On Tue, Nov 3, 2009 at 9:07 AM, claudiu ursica the_bran...@yahoo.comwrote:



 You have a model right ?
 you can aceess the model inside the command and also inside the view. In
 the view you can addEvt... on the modelInstance.propertyYouwantToListen
 (model class extend eventDispatcher or implements IEventDispatcher for this)
 update the model when in the command, view litens for the model and you call
 the function.

 TH

 --
 *From:* Darrin Kay dar...@stop-ing.com
 *To:* flexcoders@yahoogroups.com
 *Sent:* Tue, November 3, 2009 11:02:40 AM

 *Subject:* Re: [flexcoders] can you get a command result in Cairngorm call
 a function on the calling page?



 a addEventListner would be the best but not sure how to add it to the
 result of the cmd file and have it kick off a function in the view page

 On Tue, Nov 3, 2009 at 8:35 AM, claudiu ursica the_braniak@ 
 yahoo.comthe_bran...@yahoo.com
  wrote:



 I have no idea what your architecture is, but if you use Cairngorm which I
 gather you do since you mentioned in the title you can still do some more or
 less dirty tircks in there. Put something in your model a boolean flag along
 with the data you want in your view. In the view bind the boolean data and
 execute a function (your function) when the bindings tirggers... when the
 data comes back from the server you just do boolFlah = !boolFlag and it
 fires your triggers... Dirty but it will do it ...

 C

 --
 *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com
 *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com
 *Sent:* Tue, November 3, 2009 10:29:34 AM
 *Subject:* Re: [flexcoders] can you get a command result in Cairngorm
 call a function on the calling page?



 I can not add any 3rd party tools to the app.  can you think of any
 another way?

 On Tue, Nov 3, 2009 at 8:23 AM, claudiu ursica the_braniak@ 
 yahoo.comthe_bran...@yahoo.com
  wrote:



 You can attach an IResponder (with the result and fault functions) from
 your view as payload to your event. Inside your command you'll get the
 response/faul from the server and call the appropriate function on the
 IResponder reference. Check for UniversalMind cairngorm extension they
 explain this... However is doable and probably withhout the cairngorm
 extentsions ...

 HTH,
 Claudiu
 --
 *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com
 *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com

 *Sent:* Tue, November 3, 2009 10:18:51 AM
 *Subject:* [flexcoders] can you get a command result in Cairngorm call a
 function on the calling page?



 OK I have a sequence issue, I have a page that calls an event, which goes
 all the way to a cf page and the DB, on the Result I need to have a function
 on the page get called.  Is there a way to do this?  I tried a
 addEventListener on the submit button, but the sequence is still off.

 Thanks,
  D





  



Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?

2009-11-03 Thread Darrin Kay
so wout the setter just go in the model file?  if so any place under the
variable definition?

On Tue, Nov 3, 2009 at 9:22 AM, claudiu ursica the_bran...@yahoo.comwrote:



 something like that in the view model.varName. addEventListner( change,
 function); , however in your model setter you do something like

 private var _whateverName:WhateverType;

 public var set varName(val:WhateverType):void
 {
 if (val != _whateverName)
 {
   _whateverName = val;
 dispatchEvent(change);
 }
 }

 again class extend EventDispatcher ...

 C


 --
 *From:* Darrin Kay dar...@stop-ing.com
 *To:* flexcoders@yahoogroups.com
 *Sent:* Tue, November 3, 2009 11:15:11 AM

 *Subject:* Re: [flexcoders] can you get a command result in Cairngorm call
 a function on the calling page?



 so it would be like this : model.varName. addEventListner( change,
 function);


 Sorry I have not use that yet, thanks


 On Tue, Nov 3, 2009 at 9:07 AM, claudiu ursica the_braniak@ 
 yahoo.comthe_bran...@yahoo.com
  wrote:



 You have a model right ?
 you can aceess the model inside the command and also inside the view. In
 the view you can addEvt... on the modelInstance. propertyYouwantT oListen
 (model class extend eventDispatcher or implements IEventDispatcher for this)
 update the model when in the command, view litens for the model and you call
 the function.

 TH

 --
 *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com
 *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com
 *Sent:* Tue, November 3, 2009 11:02:40 AM

 *Subject:* Re: [flexcoders] can you get a command result in Cairngorm
 call a function on the calling page?



 a addEventListner would be the best but not sure how to add it to the
 result of the cmd file and have it kick off a function in the view page

 On Tue, Nov 3, 2009 at 8:35 AM, claudiu ursica the_braniak@ 
 yahoo.comthe_bran...@yahoo.com
  wrote:



 I have no idea what your architecture is, but if you use Cairngorm which
 I gather you do since you mentioned in the title you can still do some more
 or less dirty tircks in there. Put something in your model a boolean flag
 along with the data you want in your view. In the view bind the boolean data
 and execute a function (your function) when the bindings tirggers... when
 the data comes back from the server you just do boolFlah = !boolFlag and it
 fires your triggers... Dirty but it will do it ...

 C

  --
 *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com
 *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com
 *Sent:* Tue, November 3, 2009 10:29:34 AM
 *Subject:* Re: [flexcoders] can you get a command result in Cairngorm
 call a function on the calling page?



 I can not add any 3rd party tools to the app.  can you think of any
 another way?

 On Tue, Nov 3, 2009 at 8:23 AM, claudiu ursica the_braniak@ 
 yahoo.comthe_bran...@yahoo.com
  wrote:



 You can attach an IResponder (with the result and fault functions) from
 your view as payload to your event. Inside your command you'll get the
 response/faul from the server and call the appropriate function on the
 IResponder reference. Check for UniversalMind cairngorm extension they
 explain this... However is doable and probably withhout the cairngorm
 extentsions ...

 HTH,
 Claudiu
 --
 *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com
 *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com

 *Sent:* Tue, November 3, 2009 10:18:51 AM
 *Subject:* [flexcoders] can you get a command result in Cairngorm call
 a function on the calling page?



 OK I have a sequence issue, I have a page that calls an event, which
 goes all the way to a cf page and the DB, on the Result I need to have a
 function on the page get called.  Is there a way to do this?  I tried a
 addEventListener on the submit button, but the sequence is still off.

 Thanks,
  D







  



Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?

2009-11-03 Thread Darrin Kay
yes, I got it in there but now it is telling me dispatchEvent(change) can
not be a string, should be type flash.event:Event

I have this in the ModelLocator.as:
public function set varName(val:Number):void{
  if(val !=areaID){
  areaID = val;
  dispatchEvent(change);
  }
}

on the view page, in the init function I added

model.areaID.addEventListner(change, setList);


Thanks for all of your help

Darrin



On Tue, Nov 3, 2009 at 9:40 AM, claudiu ursica the_bran...@yahoo.comwrote:



 Either in your public class ModelName implements IModelLocator or inside
 some other class which is part of you model... Again I don't know your
 architecture...
 Are you developing this on your own?
 C

 --
 *From:* Darrin Kay dar...@stop-ing.com
 *To:* flexcoders@yahoogroups.com
 *Sent:* Tue, November 3, 2009 11:33:30 AM

 *Subject:* Re: [flexcoders] can you get a command result in Cairngorm call
 a function on the calling page?



 so wout the setter just go in the model file?  if so any place under the
 variable definition?

 On Tue, Nov 3, 2009 at 9:22 AM, claudiu ursica the_braniak@ 
 yahoo.comthe_bran...@yahoo.com
  wrote:



 something like that in the view model.varName. addEventListner( change,
 function); , however in your model setter you do something like

 private var _whateverName: WhateverType;

 public var set varName(val: WhateverType) :void
 {
 if (val != _whateverName)
 {
   _whateverName = val;
 dispatchEvent(change);
 }
 }

 again class extend EventDispatcher ...

 C


 --
 *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com
 *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com
 *Sent:* Tue, November 3, 2009 11:15:11 AM

 *Subject:* Re: [flexcoders] can you get a command result in Cairngorm
 call a function on the calling page?



 so it would be like this : model.varName. addEventListner( change,
 function);


 Sorry I have not use that yet, thanks


 On Tue, Nov 3, 2009 at 9:07 AM, claudiu ursica the_braniak@ 
 yahoo.comthe_bran...@yahoo.com
  wrote:



 You have a model right ?
 you can aceess the model inside the command and also inside the view. In
 the view you can addEvt... on the modelInstance. propertyYouwantT oListen
 (model class extend eventDispatcher or implements IEventDispatcher for this)
 update the model when in the command, view litens for the model and you call
 the function.

 TH

  --
 *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com
 *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com
 *Sent:* Tue, November 3, 2009 11:02:40 AM

 *Subject:* Re: [flexcoders] can you get a command result in Cairngorm
 call a function on the calling page?



 a addEventListner would be the best but not sure how to add it to the
 result of the cmd file and have it kick off a function in the view page

 On Tue, Nov 3, 2009 at 8:35 AM, claudiu ursica the_braniak@ 
 yahoo.comthe_bran...@yahoo.com
  wrote:



 I have no idea what your architecture is, but if you use Cairngorm which
 I gather you do since you mentioned in the title you can still do some more
 or less dirty tircks in there. Put something in your model a boolean flag
 along with the data you want in your view. In the view bind the boolean 
 data
 and execute a function (your function) when the bindings tirggers... when
 the data comes back from the server you just do boolFlah = !boolFlag and it
 fires your triggers... Dirty but it will do it ...

 C

  --
 *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com
 *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com
 *Sent:* Tue, November 3, 2009 10:29:34 AM
 *Subject:* Re: [flexcoders] can you get a command result in Cairngorm
 call a function on the calling page?



 I can not add any 3rd party tools to the app.  can you think of any
 another way?

 On Tue, Nov 3, 2009 at 8:23 AM, claudiu ursica the_braniak@ 
 yahoo.comthe_bran...@yahoo.com
  wrote:



 You can attach an IResponder (with the result and fault functions) from
 your view as payload to your event. Inside your command you'll get the
 response/faul from the server and call the appropriate function on the
 IResponder reference. Check for UniversalMind cairngorm extension they
 explain this... However is doable and probably withhout the cairngorm
 extentsions ...

 HTH,
 Claudiu
 --
 *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com
 *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com

 *Sent:* Tue, November 3, 2009 10:18:51 AM
 *Subject:* [flexcoders] can you get a command result in Cairngorm call
 a function on the calling page?



 OK I have a sequence issue, I have a page that calls an event, which
 goes all the way to a cf page and the DB, on the Result I need to have a
 function on the page get called.  Is there a way to do this?  I tried a
 addEventListener on the submit button, but the sequence

[flexcoders] dispatchEvent

2009-11-03 Thread Darrin Kay
ok all i want to do is add a eventListner to a variable, so when it changes
value I kick off a event...  why is it so damm hard?  I am using
cairngorn, and the variable is in the model scope.  But I can not for the
life of me figure how to get the dispatch / addeventlister to work and where
it goes and what packages need to be added


this is the last step I need to get done for a release any help would be
sweet


Re: [flexcoders] can you get a command result in Cairngorm call a function on the calling page?

2009-11-03 Thread Darrin Kay
Thanks for your help, I got it, was just a few things that needed to be
done.

Thanks for the help


On Tue, Nov 3, 2009 at 11:42 AM, claudiu ursica the_bran...@yahoo.comwrote:



 Because you need to dispatchEvent(new Event(change));
 You need to do some RTFM :) before posting stuff like this...

 C

 --
 *From:* Darrin Kay dar...@stop-ing.com
 *To:* flexcoders@yahoogroups.com
 *Sent:* Tue, November 3, 2009 11:49:29 AM

 *Subject:* Re: [flexcoders] can you get a command result in Cairngorm call
 a function on the calling page?



 yes, I got it in there but now it is telling me dispatchEvent(change) can
 not be a string, should be type flash.event: Event


 I have this in the ModelLocator. as:
 public function set varName(val: Number):void{
   if(val !=areaID){
   areaID = val;
   dispatchEvent(change);
   }
 }

 on the view page, in the init function I added

 model.areaID. addEventListner(change, setList);


 Thanks for all of your help

 Darrin



 On Tue, Nov 3, 2009 at 9:40 AM, claudiu ursica the_braniak@ 
 yahoo.comthe_bran...@yahoo.com
  wrote:



 Either in your public class ModelName implements IModelLocator or inside
 some other class which is part of you model... Again I don't know your
 architecture. ..
 Are you developing this on your own?
 C

 --
 *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com
 *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com
 *Sent:* Tue, November 3, 2009 11:33:30 AM

 *Subject:* Re: [flexcoders] can you get a command result in Cairngorm
 call a function on the calling page?



 so wout the setter just go in the model file?  if so any place under the
 variable definition?

 On Tue, Nov 3, 2009 at 9:22 AM, claudiu ursica the_braniak@ 
 yahoo.comthe_bran...@yahoo.com
  wrote:



 something like that in the view model.varName. addEventListner( change,
 function); , however in your model setter you do something like

 private var _whateverName: WhateverType;

 public var set varName(val: WhateverType) :void
 {
 if (val != _whateverName)
 {
   _whateverName = val;
 dispatchEvent(change);
 }
 }

 again class extend EventDispatcher ...

 C


 --
 *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com
 *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com
 *Sent:* Tue, November 3, 2009 11:15:11 AM

 *Subject:* Re: [flexcoders] can you get a command result in Cairngorm
 call a function on the calling page?



 so it would be like this : model.varName. addEventListner( change,
 function);


 Sorry I have not use that yet, thanks


 On Tue, Nov 3, 2009 at 9:07 AM, claudiu ursica the_braniak@ 
 yahoo.comthe_bran...@yahoo.com
  wrote:



 You have a model right ?
 you can aceess the model inside the command and also inside the view. In
 the view you can addEvt... on the modelInstance. propertyYouwantT oListen
 (model class extend eventDispatcher or implements IEventDispatcher for 
 this)
 update the model when in the command, view litens for the model and you 
 call
 the function.

 TH

  --
 *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com
 *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com
 *Sent:* Tue, November 3, 2009 11:02:40 AM

 *Subject:* Re: [flexcoders] can you get a command result in Cairngorm
 call a function on the calling page?



 a addEventListner would be the best but not sure how to add it to the
 result of the cmd file and have it kick off a function in the view page

 On Tue, Nov 3, 2009 at 8:35 AM, claudiu ursica the_braniak@ 
 yahoo.comthe_bran...@yahoo.com
  wrote:



 I have no idea what your architecture is, but if you use Cairngorm
 which I gather you do since you mentioned in the title you can still do 
 some
 more or less dirty tircks in there. Put something in your model a boolean
 flag along with the data you want in your view. In the view bind the 
 boolean
 data and execute a function (your function) when the bindings tirggers...
 when the data comes back from the server you just do boolFlah = !boolFlag
 and it fires your triggers... Dirty but it will do it ...

 C

  --
 *From:* Darrin Kay dar...@stop- ing.com dar...@stop-ing.com
 *To:* flexcod...@yahoogro ups.com flexcoders@yahoogroups.com
 *Sent:* Tue, November 3, 2009 10:29:34 AM
 *Subject:* Re: [flexcoders] can you get a command result in Cairngorm
 call a function on the calling page?



 I can not add any 3rd party tools to the app.  can you think of any
 another way?

 On Tue, Nov 3, 2009 at 8:23 AM, claudiu ursica the_braniak@ 
 yahoo.comthe_bran...@yahoo.com
  wrote:



 You can attach an IResponder (with the result and fault functions)
 from your view as payload to your event. Inside your command you'll get 
 the
 response/faul from the server and call the appropriate function on the
 IResponder reference. Check for UniversalMind cairngorm extension they
 explain

Re: [flexcoders] event order issues

2009-11-02 Thread Darrin Kay
I put in the trace, and it is going to the sort before the result is back
from the db.  Any suggestions?

On Mon, Nov 2, 2009 at 7:42 AM, Alex Harui aha...@adobe.com wrote:



  Put trace statements in event handlers so you can see the order.  There’s
 probably a collectionEvent after the insert that is better than
 UPDATE_COMPLETE which gets called often.



 Alex Harui

 Flex SDK Developer

 Adobe Systems Inc. http://www.adobe.com/

 Blog: http://blogs.adobe.com/aharui



 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *Darrin Kay
 *Sent:* Sunday, November 01, 2009 11:07 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] event order issues





 Good Morning to all,
   I have a Cairngorm flex app, and I call a function to add something to
 the db, and then after the insert is complete I pull the updated data, and I
 run a sort.  Here is where my problem is, the sort works fine when it is
 called after a click event by the user, but when I make the call after the
 insert the filter is not applied.

 here is the code wireframe:

 on the insert button I added an
 button.addEventListener(FlexEvent.UPDATE_COMPLETE, setlist); // not sure if
 this is right

 I have a as3 function that calls the dispatch event to do the insert all is
 good.

 the call happens and the sort is run, but I think this is being done before
 the insert and list re-build is done, so is my eventListener right?


 Thanks,
  Darrin

   



Re: [flexcoders] event order issues

2009-11-02 Thread Darrin Kay
is there a way to dispatch the event from the command file?  that would
solve the problem

Thanks for the help,
 Darrin

On Mon, Nov 2, 2009 at 8:09 AM, Darrin Kay dar...@stop-ing.com wrote:

 I put in the trace, and it is going to the sort before the result is back
 from the db.  Any suggestions?


 On Mon, Nov 2, 2009 at 7:42 AM, Alex Harui aha...@adobe.com wrote:



  Put trace statements in event handlers so you can see the order.
 There’s probably a collectionEvent after the insert that is better than
 UPDATE_COMPLETE which gets called often.



 Alex Harui

 Flex SDK Developer

 Adobe Systems Inc. http://www.adobe.com/

 Blog: http://blogs.adobe.com/aharui



 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *Darrin Kay
 *Sent:* Sunday, November 01, 2009 11:07 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* [flexcoders] event order issues





 Good Morning to all,
   I have a Cairngorm flex app, and I call a function to add something to
 the db, and then after the insert is complete I pull the updated data, and I
 run a sort.  Here is where my problem is, the sort works fine when it is
 called after a click event by the user, but when I make the call after the
 insert the filter is not applied.

 here is the code wireframe:

 on the insert button I added an
 button.addEventListener(FlexEvent.UPDATE_COMPLETE, setlist); // not sure if
 this is right

 I have a as3 function that calls the dispatch event to do the insert all
 is good.

 the call happens and the sort is run, but I think this is being done
 before the insert and list re-build is done, so is my eventListener right?


 Thanks,
  Darrin

   





[flexcoders] event order issues

2009-11-01 Thread Darrin Kay
Good Morning to all,
  I have a Cairngorm flex app, and I call a function to add something to the
db, and then after the insert is complete I pull the updated data, and I run
a sort.  Here is where my problem is, the sort works fine when it is called
after a click event by the user, but when I make the call after the insert
the filter is not applied.

here is the code wireframe:

on the insert button I added an
button.addEventListener(FlexEvent.UPDATE_COMPLETE, setlist); // not sure if
this is right

I have a as3 function that calls the dispatch event to do the insert all is
good.

the call happens and the sort is run, but I think this is being done before
the insert and list re-build is done, so is my eventListener right?


Thanks,
 Darrin


[flexcoders] addEventListner help

2009-10-30 Thread Darrin Kay
can some explain how these work?

I have a function that calls an event, and on completion of the event I want
another function to kick off.  How do I do this?

thanks,
 D


[flexcoders] printing to a word doc

2009-10-26 Thread Darrin Kay
Good Day,
  I have a flex 3 app that uses ColdFusion8 as the middle-ware, and all is
fine.  Where I am having issues is with printing, I call a cfc that has a
cfcontent, but the save file dialog never shows up.  So if someone can point
me in the right direction that would be great.

Thanks,,
 Darrin


[flexcoders] displaying time in 24 hour clock

2009-09-25 Thread Darrin Kay
Good Day,
  I have time coming in from a web service and it is in 24 hour time (15:30
), but it is being displayed as 12 (3:30 PM).

here is some code:
 EastCostTime.seconds += 1;
this.eastcostClock.text = EastCostTime.toLocaleTimeString();


so the clock is working fine and keeping the time, but just need for it to
display as a 24 hour clock


Thanks for the help,
 Darrin


[flexcoders] google earth in a flex app [1 Attachment]

2009-09-09 Thread Darrin Kay
I have Google Earth working as a flex app, but was wondering if anyone has
added to a existing app?  So in just on section / page you would see Google
Earth, and then in the others you would not

Thanks,
 Darrin


Re: [flexcoders] google earth in a flex app

2009-09-09 Thread Darrin Kay
I included the source code in my original email

On Wed, Sep 9, 2009 at 11:21 AM, Pedro Sena sena.pe...@gmail.com wrote:



 Hi Darrin,.

 Did you use IFrame ?

 I tried to integrate GE in my flex app w/o luck, except using IFrame.

 Would appreciate more info.

 Thanks in advance,

 Pedro Sena

 On Wed, Sep 9, 2009 at 7:13 AM, Darrin Kay dar...@stop-ing.com wrote:

 [Attachment(s) #1239e52d581e7e0a_1239e4ccc410b0ce_TopText from
 Darrin Kay included below]

 I have Google Earth working as a flex app, but was wondering if anyone has
 added to a existing app?  So in just on section / page you would see Google
 Earth, and then in the others you would not

 Thanks,
  Darrin




 --
 /**
 * Pedro Sena
 * Systems Architect
 * Sun Certified Java Programmer
 * Sun Certified Web Component Developer
 */
  



Re: [flexcoders] google earth in a flex app

2009-09-09 Thread Darrin Kay
its just a zip file

On Wed, Sep 9, 2009 at 12:31 PM, Pedro Sena sena.pe...@gmail.com wrote:



 Nothing happens when I try to download it.

 I'll make a try from yahoo mail.

 Regards


 On Wed, Sep 9, 2009 at 8:20 AM, Darrin Kay dar...@stop-ing.com wrote:



 I included the source code in my original email


 On Wed, Sep 9, 2009 at 11:21 AM, Pedro Sena sena.pe...@gmail.com wrote:



 Hi Darrin,.

 Did you use IFrame ?

 I tried to integrate GE in my flex app w/o luck, except using IFrame.

 Would appreciate more info.

 Thanks in advance,

 Pedro Sena

 On Wed, Sep 9, 2009 at 7:13 AM, Darrin Kay dar...@stop-ing.com wrote:

 
 [Attachment(s)#1239e92968d77a83_1239e90e2d2e522e_1239e52d581e7e0a_1239e4ccc410b0ce_TopTextfrom
  Darrin Kay included below]

 I have Google Earth working as a flex app, but was wondering if anyone
 has added to a existing app?  So in just on section / page you would see
 Google Earth, and then in the others you would not

 Thanks,
  Darrin




 --
 /**
 * Pedro Sena
 * Systems Architect
 * Sun Certified Java Programmer
 * Sun Certified Web Component Developer
 */





 --
 /**
 * Pedro Sena
 * Systems Architect
 * Sun Certified Java Programmer
 * Sun Certified Web Component Developer
 */
  



[flexcoders] Google Earth inside of Flex

2009-09-04 Thread Darrin Kay
I was wondering if anyone has put Google Earth in a flex app?  What I will
need it to do is center on a point and a certain level, and be able to plot
points on the map that will like to a file on my server.

It would be great if the points would hide until the user zoomed in enough

Thanks,
 Darrin


Re: [flexcoders] Google Earth inside of Flex

2009-09-04 Thread Darrin Kay
Well the company I am getting is in the process of getting that, and the
network that the production runs on will not have any access to the normal
web

On Fri, Sep 4, 2009 at 9:44 AM, Tom Chiverton
tom.chiver...@halliwells.comwrote:



 On Friday 04 Sep 2009, Darrin Kay wrote:
  I was wondering if anyone has put Google Earth in a flex app? What I will
  need it to do is center on a point and a certain level, and be able to
 plot

 Does it have to be Google Earth ? There are other Flex mapping
 components...

 --
 Helping to simultaneously harvest compelling high-end segments as part of
 the
 IT team of the year, '09 and '08

 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England and
 Wales under registered number OC307980 whose registered office address is at
 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list
 of members is available for inspection at the registered office together
 with a list of those non members who are referred to as partners. We use the
 word ?partner? to refer to a member of the LLP, or an employee or consultant
 with equivalent standing and qualifications. Regulated by the Solicitors
 Regulation Authority.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and
 may be confidential or legally privileged. If you are not the addressee you
 must not read it and must not use any information contained in nor copy it
 nor inform any person other than Halliwells LLP or the addressee of its
 existence or contents. If you have received this email in error please
 delete it and notify Halliwells LLP IT Department on 0870 365 2500.

 For more information about Halliwells LLP visit www.Halliwells.com.
  



Re: [flexcoders] Google Earth inside of Flex

2009-09-04 Thread Darrin Kay
well it would, but with the enterprise version, you are basically getting
the whole of Google Earth on your own server on your network.

On Fri, Sep 4, 2009 at 10:39 AM, Wesley Acheson wesley.ache...@gmail.comwrote:



 We've used google maps not google earth.

 http://code.google.com/apis/maps/documentation/flash/ however It does
 requrire an internet connection from the client machine.

 (As does I beleve google earth)

 Regards,

 Wesley Acheson


 On Fri, Sep 4, 2009 at 11:01 AM, Darrin Kay dar...@stop-ing.com wrote:



 Well the company I am getting is in the process of getting that, and the
 network that the production runs on will not have any access to the normal
 web


 On Fri, Sep 4, 2009 at 9:44 AM, Tom Chiverton 
 tom.chiver...@halliwells.com wrote:



 On Friday 04 Sep 2009, Darrin Kay wrote:
  I was wondering if anyone has put Google Earth in a flex app? What I
 will
  need it to do is center on a point and a certain level, and be able to
 plot

 Does it have to be Google Earth ? There are other Flex mapping
 components...

 --
 Helping to simultaneously harvest compelling high-end segments as part of
 the
 IT team of the year, '09 and '08

 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England
 and Wales under registered number OC307980 whose registered office address
 is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.
 A list of members is available for inspection at the registered office
 together with a list of those non members who are referred to as partners.
 We use the word ?partner? to refer to a member of the LLP, or an employee or
 consultant with equivalent standing and qualifications. Regulated by the
 Solicitors Regulation Authority.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and
 may be confidential or legally privileged. If you are not the addressee you
 must not read it and must not use any information contained in nor copy it
 nor inform any person other than Halliwells LLP or the addressee of its
 existence or contents. If you have received this email in error please
 delete it and notify Halliwells LLP IT Department on 0870 365 2500.

 For more information about Halliwells LLP visit www.Halliwells.com.





  



[flexcoders] world clock

2009-07-27 Thread Darrin Kay
OK here is a question that I am having some trouble with.  I have a flex
site with coldfusion 8 as the middle ware.  I need to set up clocks for
different parts of the world.  But how do I take into account daylight
savings, or the fact that daylight is not always on the same day or even
happen at all?

So I would want the time for DC, Zulu, and lets say London (and Zulu and
London are 1 hour off due to daylight savings)



Thanks,
 Darrin


Re: [flexcoders] world clock

2009-07-27 Thread Darrin Kay
How so?  It can give me server time, but if the server is in London lets
say.  Daylight savings happens in London 2 weeks after it does in the US.

On Mon, Jul 27, 2009 at 1:54 PM, Tom Chiverton tom.chiver...@halliwells.com
 wrote:



 On Monday 27 Jul 2009, Darrin Kay wrote:
  So I would want the time for DC, Zulu, and lets say London (and Zulu and
  London are 1 hour off due to daylight savings)

 CF can do this for you, no ?

 --
 Helping to authoritatively cluster six-generation global strategic
 performance-oriented products as part of the IT team of the year, '09 and
 '08

 

 This email is sent for and on behalf of Halliwells LLP.

 Halliwells LLP is a limited liability partnership registered in England and
 Wales under registered number OC307980 whose registered office address is at
 Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list
 of members is available for inspection at the registered office together
 with a list of those non members who are referred to as partners. We use the
 word ?partner? to refer to a member of the LLP, or an employee or consultant
 with equivalent standing and qualifications. Regulated by the Solicitors
 Regulation Authority.

 CONFIDENTIALITY

 This email is intended only for the use of the addressee named above and
 may be confidential or legally privileged. If you are not the addressee you
 must not read it and must not use any information contained in nor copy it
 nor inform any person other than Halliwells LLP or the addressee of its
 existence or contents. If you have received this email in error please
 delete it and notify Halliwells LLP IT Department on 0870 365 2500.

 For more information about Halliwells LLP visit www.Halliwells.com.
  



[flexcoders] How to copy a arraycollection to a another

2009-07-06 Thread Darrin Kay
Good Day,
  I have a datasource and it is I need the data in 2 different
arraycollection (i know easy), but in one of them I need to add a new item.
When I do that it addes it to both.  Anyone have a way to copy or clone
where they are not pointers to the data.

thanks,
 Darrin


Re: [flexcoders] How to copy a arraycollection to a another

2009-07-06 Thread Darrin Kay
Thanks for the help HoFo, that helped now I have a tougher one for
youlol...  You still at the Fed?  I am now working in the UK for NATO,
doing flex, cf and other fun stuff.

  I got a question for you, I am using cfsearch and was wondering how I can
search on 2 fields, ie the file itself and a custom field?

so criteria=*#searchText#* OR CF_CUSTOM1 = *#searchText#*, but that is not
working...so need help

If I use : criteria=*#searchText#*  it will search through the file fine,
but I need to also get a custom field into the search

Thanks,
 Darrin

On Mon, Jul 6, 2009 at 3:14 PM, Howard Fore howard.f...@hofo.com wrote:



 ObjectUtil.copy()

 But also see
 http://www.darronschall.com/weblog/2007/08/on-transient-objectutilcopy-and-casting.cfm

 --
 Howard Fore, howard.f...@hofo.com
 The worthwhile problems are the ones you can really solve or help solve,
 the ones you can really contribute something to. ... No problem is too small
 or too trivial if we can really do something about it. - Richard P. Feynman




 On Mon, Jul 6, 2009 at 9:58 AM, Darrin Kay dar...@stop-ing.com wrote:



 Good Day,
   I have a datasource and it is I need the data in 2 different
 arraycollection (i know easy), but in one of them I need to add a new item.
 When I do that it addes it to both.  Anyone have a way to copy or clone
 where they are not pointers to the data.

 thanks,
  Darrin



  



[flexcoders] Images

2009-03-05 Thread Darrin Kay
Ok I am stuck and I am sure it is simple.  I have a HBox and I am I  
have a image in there, now I want to put another image in there and  
have it butt up against the first so it will look like one, but it  
puts a space between the images?

Also how can I take a slice of a image (say a bar) and have it stretch  
to a certain width?

thanks


Re: [flexcoders] Images

2009-03-05 Thread Darrin Kay
Ok I was given a jpg image to use as the header, and I broke to 3  
images, the left logo and right logo.  Now in the original image there  
was a bar that connected the two to make it look like one.  But I want  
the image to move with the size of the screen so the left and right  
are on the edges.  So I cut a slice of the bar and what it to stretch  
to breach the distance.  so it will look like one image no matter what  
the screen res.


Does that make it clearer?


On Mar 5, 2009, at 2:33 PM, Fotis Chatzinikos wrote:


for your first question  try horizontalGap=0 property on the hbox

I do not understand your second question...


On Thu, Mar 5, 2009 at 4:30 PM, Darrin Kay dar...@stop-ing.com  
wrote:

Ok I am stuck and I am sure it is simple. I have a HBox and I am I
have a image in there, now I want to put another image in there and
have it butt up against the first so it will look like one, but it
puts a space between the images?

Also how can I take a slice of a image (say a bar) and have it stretch
to a certain width?

thanks



--
Fotis Chatzinikos, Ph.D.
Founder,
Phinnovation
fotis.chatzini...@gmail.com,






Re: [flexcoders] Images

2009-03-05 Thread Darrin Kay
I tried that, and it did not stretch it out, the img is 1px wide and  
just puts blank space



On Mar 5, 2009, at 2:47 PM, Fotis Chatzinikos wrote:


width = 100% ?


On Thu, Mar 5, 2009 at 4:45 PM, Darrin Kay dar...@stop-ing.com  
wrote:


Ok I was given a jpg image to use as the header, and I broke to 3  
images, the left logo and right logo.  Now in the original image  
there was a bar that connected the two to make it look like one.   
But I want the image to move with the size of the screen so the left  
and right are on the edges.  So I cut a slice of the bar and what it  
to stretch to breach the distance.  so it will look like one image  
no matter what the screen res.


Does that make it clearer?


On Mar 5, 2009, at 2:33 PM, Fotis Chatzinikos wrote:


for your first question  try horizontalGap=0 property on the hbox

I do not understand your second question...


On Thu, Mar 5, 2009 at 4:30 PM, Darrin Kay dar...@stop-ing.com  
wrote:

Ok I am stuck and I am sure it is simple. I have a HBox and I am I
have a image in there, now I want to put another image in there and
have it butt up against the first so it will look like one, but it
puts a space between the images?

Also how can I take a slice of a image (say a bar) and have it  
stretch

to a certain width?

thanks



--
Fotis Chatzinikos, Ph.D.
Founder,
Phinnovation
fotis.chatzini...@gmail.com,






--
Fotis Chatzinikos, Ph.D.
Founder,
Phinnovation
fotis.chatzini...@gmail.com,






RE: [flexcoders] FlexBuilder on 64bit machine any good?

2008-12-15 Thread Darrin Kay
I have a 64 bit laptop, and Flex builder runs as a 32bit app.  It still runs
like a rock star but it does not take full advantage of the 64bit.

 

  _  

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Ralf Bokelberg
Sent: Monday, December 15, 2008 3:01 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FlexBuilder on 64bit machine any good?

 

Hi guys

I'm in the process of choosing a new machine to be placed under my
christmas tree :). I wonder, if anybody has some experiences with 64
bit machines and FlexBuilder? Does it run at all? What is the
performance like? Does it make use of lots of RAM?

Cheers
Ralf.

 



RE: [flexcoders] sending a Flex Object() to a cfc

2008-11-07 Thread Darrin Kay
Yeah I can create a VO.cfc but since there is no need to keep what is sent.
Think of it as a search option, (from date, to date, state and so forth) so
they are 8 simple values.  Is there another way to create the object in
Flex, another data type I should use?

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Howard Fore
Sent: Friday, November 07, 2008 10:41 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] sending a Flex Object() to a cfc

 

Have you tried creating an Actionscript class for objectName (in your code)
instead of a generic object and then use a RemoteAlias directive to
associate that .as class to a CFC?

I know this works from CF to Flex, I'm not certain about the other way. What
I'd love to do is to send an ArrayCollection from Flex back to CF where it
could be manipulated as a query.

On Fri, Nov 7, 2008 at 8:09 AM, btroop202 [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ing.com wrote:

I am trying to send a flex Object to a cfc but getting a error
message.
So if I define my object:
var objectName:Object = new Object();
objectName.field1 = 'someData';
objectName.field2 = 'someData';
objectName.field3 = 'someData';

Then in the cfc I am looking for a struct, but I get this error
message : coldfusion.runtime.MissingArgumentException: The parameter
objectName to function cfcName is required but was not passed in.

So I would think that this should be very simple but having a hard
time with it.

Thanks




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


   (Yahoo! ID required)

   mailto:flexcoders-fullfeat
mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]





-- 
Howard Fore, howard.fore@ mailto:[EMAIL PROTECTED] hofo.com
The universe tends toward maximum irony. Don't push it. - Jeff Atwood

 



RE: [flexcoders] sending a Flex Object() to a cfc

2008-11-07 Thread Darrin Kay
Yeah but in cairngorm, I have to pass the N number of variables from the
view, to the event, to the command, to the delegate, then to the cfc.  So if
I can do it in a Object, I only have to pass one thing around and then in
the cfc ref by objectName.Fieldname

 

 

I have seen other people looking for how to do this and I did see something
about using a wrapper object around the object you want, but that did not
make any sense to me.

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Howard Fore
Sent: Friday, November 07, 2008 11:45 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] sending a Flex Object() to a cfc

 

On my search forms I just send plain strings back to the CFC.

In Actionscript:
publicationsRO.searchPublicationArticles(
pubId,
fromDate,
toDate,
contentSourceId,
contentIsPublished,
searchText
);

And then in the CFC:

cffunction name=searchPublicationArticles output=false
access=remote returntype=query
cfargument name=pubId type=numeric required=true/
cfargument name=startDate type=date required=false /
cfargument name=endDate type=date required=false/
cfargument name=contentSourceId type=numeric required=false/
cfargument name=articleHasBeenPublishedPreviously type=boolean
required=false default=false /
cfargument name=searchText type=string required=false
default= /
cflog file=epublisher text=publicationListener :: ** **
** ** ** ** ** **  /
cflog file=epublisher text=publicationListener ::
searchPublicationArticles : START /
cfloop collection=#arguments# item=argumentName
cflog file=epublisher text=publicationListener ::
searchPublicationArticles : #argumentName# = #arguments[argumentName]# /
/cfloop
cfreturn variables.publicationService.searchForPublicationArticles(
 
arguments.pubId,
 
arguments.startDate,
 
arguments.endDate,
 
arguments.contentSourceId,
 
arguments.articleHasBeenPublishedPreviously,
 
arguments.searchText
 
) /
cflog file=epublisher text=publicationListener ::
searchPublicationArticles : END /
cflog file=epublisher text=publicationListener :: ** **
** ** ** ** ** **  /
/cffunction




On Fri, Nov 7, 2008 at 11:29 AM, Darrin Kay [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ing.com wrote:

Yeah I can create a VO.cfc but since there is no need to keep what is sent.
Think of it as a search option, (from date, to date, state and so forth) so
they are 8 simple values.  Is there another way to create the object in
Flex, another data type I should use?

 

  _  

From: [EMAIL PROTECTED] mailto:flexcoders@yahoogroups.com ups.com
[mailto:[EMAIL PROTECTED] mailto:flexcoders@yahoogroups.com ups.com] On
Behalf Of Howard Fore
Sent: Friday, November 07, 2008 10:41 AM
To: [EMAIL PROTECTED] mailto:flexcoders@yahoogroups.com ups.com
Subject: Re: [flexcoders] sending a Flex Object() to a cfc

 

Have you tried creating an Actionscript class for objectName (in your code)
instead of a generic object and then use a RemoteAlias directive to
associate that .as class to a CFC?

I know this works from CF to Flex, I'm not certain about the other way. What
I'd love to do is to send an ArrayCollection from Flex back to CF where it
could be manipulated as a query.

On Fri, Nov 7, 2008 at 8:09 AM, btroop202 [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ing.com wrote:

I am trying to send a flex Object to a cfc but getting a error
message.
So if I define my object:
var objectName:Object = new Object();
objectName.field1 = 'someData';
objectName.field2 = 'someData';
objectName.field3 = 'someData';

Then in the cfc I am looking for a struct, but I get this error
message : coldfusion.runtime.MissingArgumentException: The parameter
objectName to function cfcName is required but was not passed in.

So I would think that this should be very simple but having a hard
time with it.

Thanks




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


   (Yahoo! ID required

[flexcoders] UM Extension

2008-11-04 Thread Darrin Kay
I am trying to learn the UM extensions within Cairngorm, but there are no
good examples of how this is done.  Here is what I am trying to do, I have a
view and when a user clicks a button an event is called.   Then off to the
command, and if the execute passes, I go to the result function in the
command file.  In the result function I load the data into the model, and
change my view.  On the new view I need to call a function after I know I
have the data back.  That is what I can not figure out.

 

Please help.



[flexcoders] UM extensions

2008-11-04 Thread Darrin Kay
Where can I download the swc for just the UM extensions.  I would like to
add them to a app I am working on, that is using cairngorm 2.2.

 

Thanks