[flexcoders] Re: Populating a combobox with XML

2006-12-28 Thread Tim Hoff
Thanks for the kind words Collin.  Sorry that I missed the @ sign. 
But as Tracy says, the advice comes with a money back guarantee.  
I'm glad that you got the answer that you were looking for.  btw, 
e4x is covered in the help docs.

-TH

--- In flexcoders@yahoogroups.com, Collin Peters [EMAIL PROTECTED] 
wrote:

 The point is the when I use a label sub-node it DOES work.  From 
what I
 read on the internet I shouldn't have to have a sub-node, hence 
the point of
 my email.  Oh, and I also do have 'labelField=label' even though 
that is
 the Flex default and not required unless you want to change the 
name of the
 label field.
 
 Collin
 
 On 12/26/06, Tim Hoff [EMAIL PROTECTED] wrote:
 
Hi Collin,
 
  Your problem may be that you have an attribute and a node both
  named label. Not sure if this will help, but I don't see the
  labelField property set for your comboBox.
 
  mx:ComboBox id=types width=200
  dataProvider={config_xml.types.type}
  labelField=label/
 
  If that doesn't work, maybe try using a different name for the 
extra
  node.
 
  -TH
 
  --- In flexcoders@yahoogroups.com flexcoders%
40yahoogroups.com, Collin
  Peters cpeters@
 
  wrote:
  
   I have a problem populating a combobox from XML using data 
binding.
  
   The XML is as follows:
   types
   type event_type_id=1 label=General /
   type event_type_id=2 label=Tanning /
   type event_type_id=3 label=Tennis 
   labelbar/label
   /type
   /types
  
   The third type is different cause it is a point in my 
problem.
  My
   combobox is:
   mx:ComboBox id=types width=200
  dataProvider={config_xml.types.type} /
  
   Every sample I have found tell me that this should work with 
the
   attributes from XML. However, the entries in the combobox are
  showing
   up blank, though there are three entries. If I put in a label
  child
   then it does show up. I'm wondering what piece I am missing in
  order
   to properly use the attributes from the XML to populate the
  combobox
  
  
   --
   Collin Peters
   Lead Software Developer
  
 
   
 
 
 
 
 -- 
 Collin Peters
 Lead Software Developer





[flexcoders] Re: Is there any service that format ActionScript code as HTML?

2006-12-28 Thread Sergey Kovalyov

http://www.tohtml.com/ - very good service. I use JS.NET option for
ActionScript code and XML for MXML respectively. The samples could be found
here: http://skovalyov.blogspot.com/


On 12/13/06, Sergey Kovalyov [EMAIL PROTECTED] wrote:


Hi All!

I have created blog and plan to post code samples sometimes. Is there
any service that format ActionScript code as HTML?

Sergey.



Re: [flexcoders] source code of Training from the Source

2006-12-28 Thread Paul Andrews
I should think that everyone who has bought the book has it..

- Original Message - 
From: Shailesh Mangal [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Thursday, December 28, 2006 1:30 AM
Subject: [flexcoders] source code of Training from the Source


 Does any one have the source code of Adobe Flex2 - Training from the
 Source.

 sxm



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








[flexcoders] [Flex2, Cairngorm 2.1] Trouble with ServiceLocator

2006-12-28 Thread Thomas Rühl -akitogo-

Hello flexcoders,

I'm sort of stuck at the moment; I think, I'm missing something here...
In my Services.mxml I configure a RemoteObject with the id 'testService':

cairngorm:ServiceLocator xmlns:mx=http://www.adobe.com/2006/mxml;
xmlns:cairngorm=com.adobe.cairngorm.business.* 
   mx:RemoteObject id=testService destination=ColdFusion
   source=some.path.to.cfc.StuffManagement showBusyCursor=true /
/cairngorm:ServiceLocator


I implemented a BusinessDelegate for testing, that should make use of
the above:

   ServiceLocator.getInstance().getRemoteObject(testService);


However, for some reason I don't see, this throws a reference error
(property not found):

ReferenceError: Error #1069: Eigenschaft testService für
com.adobe.cairngorm.business.ServiceLocator nicht gefunden und es ist
kein Standardwert vorhanden. at
com.adobe.cairngorm.business::ServiceLocator/::getServiceForId() at
com.adobe.cairngorm.business::ServiceLocator/getRemoteObject() at
customer.business::TestDelegate$iinit() at
customer.commands::ApplicationStartupCommand/execute() at
com.adobe.cairngorm.control::FrontController/com.adobe.cairngorm.control:FrontController::executeCommand()
at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent() at
com.adobe.cairngorm.control::CairngormEventDispatcher/dispatchEvent() at
customer.control::CustomerManagementController$iinit() at
akibaseInternal_customerManagement$iinit() at
mx.managers::SystemManager/create() at
mx.managers::SystemManager/::initializeTopLevelWindow() at
mx.managers::SystemManager/::frameEndHandler()


Any help please...?
Cheers, Thomas




  Thomas Rühl
  Design, Programming  Concepts

  akitogo OHG
  Hanauer Landstrasse 188
  60314 Frankfurt

  Telefon +49 (0) 69 800 69 445
  Fax +49 (0) 69 800 69 449
  Mobil   +49 (0) 179 750 75 87
  E-Mail  [EMAIL PROTECTED]
  Web http://www.akitogo.com






RE: [flexcoders] Re: Load swc instead of swf

2006-12-28 Thread Tracy Spratt
Also, when you use the work standalone, what do you mean?  Unless you
are using Zinc, or apollo, or some other non-browser host, your swf will
not be able to access any file on the client.  

 

However, I seem to recall reading that you can access a local file via
its url if you know the fully qualified file url.  I haven't tested this
though, and it may be some Flexbuilder magic that permits it.

 

Tracy



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Andrews
Sent: Wednesday, December 27, 2006 7:31 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Re: Load swc instead of swf

 

Your original post said you were happy to load an external file, why
couldn't it be an xml or html file?

Paul

- Original Message - 
From: ssundke [EMAIL PROTECTED] mailto:ssundke%40yahoo.com 
To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
Sent: Wednesday, December 27, 2006 11:08 AM
Subject: [flexcoders] Re: Load swc instead of swf

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

 - Saba

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




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





 



RE: [flexcoders] Tree: Resetting openItems after dataProvider change

2006-12-28 Thread Tracy Spratt
Ah, of course, you are correct about using the e4x expressions instead
of the recursive function.  I temporarily blanked on that, probably
because I wrote recursive functions for this in 1.5.  e4x is awesome.

 

However, I believe he will still need to climb the ancestor path for
each node to be opened.  I don't think opening a descendant node will
automatically open the ancestor chain.

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of hank williams
Sent: Wednesday, December 27, 2006 9:26 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Tree: Resetting openItems after dataProvider
change

 

Actually, Tracy, I dont think you need to do all of this work. The
openItems field of the tree does it for you. So you just need to go
through the openItems array of nodes and gather all the item IDs that I
described in the prior email. 

To reopen them later, you just use the an e4x function (I forget the
syntax but I can look if necessary) to find all the items in the
dataprovider that have the given ID. You then open each one of these
nodes.

Hank

On 12/26/06, Tracy Spratt [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote:

Yes, Hank's solutionsis what I would do.

 

Further, when you say ...Flex 2 tree control limits direct access to
nodes..., you make me suspect you are making a conceptual mistake.
With data-driven controls, you never directly access the controls
themselves.  Rather, you work with the dataProvider, to which you have
full access.

 

So in your case, you would have the unique id on each element(XML
object/node) in your XMLListCollection, and you would store the open
nodes in some list.  I think an associative array(hash table) would be
the most efficient.  The function to open those nodes would need to be
recursive.  When your recursive function matches a node in the
associative array, you would need to climb back up the tree, parent by
parent, opening each node as you go, till you reach an alrady open node.
Might be a bit more compilcated than that, since you want to reach the
end of a recursion branch before you stop searching.

 

If you post an example of two sample matching xml docs, with the above
mentioned ids, I might try to implement this functionality as an
example.

 

Tracy 

 

 



From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ]
On Behalf Of hank williams
Sent: Sunday, December 24, 2006 7:51 AM
To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com 
Subject: Re: [flexcoders] Tree: Resetting openItems after dataProvider
change

 

I think you are on track with the idea of needing an open indices
property. But indicices are a bit messy in a tree. what would be best is
a set of common unique identifiers. A field in each node that is unique.
This will allow you to build  a function that creates a list of the ids
that are open, and another function that opens those nodes. The nodes
will have the same id no matter what language the actual text of the
tree item is. gathering the ids from the open items, and opening the
items that have a given list of ids should be relatively straight
forward. 

Regards,
Hank

On 12/23/06, Oliver Merk [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote:

I've been wrestling with this for over a week and haven't found a
solution to this problem. Hoping someone can help.

I have a tree control that, at runtime, changes its dataProvider. In
this case, I'm switching languages and the dataProvider format is 
XMLListCollection. I'd like to restore the open items of the tree
after the dataProvider has changed. I tried using the openItems
property, but openItems stores a list of XML objects from the original
dataProvider. 

When the provider changes, the XML objects are of course different,
and trying to reset the openItems property fails. What I really need
is an openIndices property that is not tied to the XML data in the 
provider.

The example Adobe gives
(http://www.adobe.com/devnet/flex/quickstart/working_with_tree/
http://www.adobe.com/devnet/flex/quickstart/working_with_tree/ ) is
not helpful since they switch between two dataProviders with the same 
content and they're using an ArrayCollection (I'm using an
XMLListCollection).

I've tried walking the tree but since the new Flex 2 tree control
limits direct access to nodes, I could not find a way to detect the 
open indexes of the tree directly.

Any ideas?

Thanks,
Oliver



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


(Yahoo! ID required)

mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 



 

 

 



RE: [flexcoders] Tree: Resetting openItems after dataProvider change

2006-12-28 Thread Tracy Spratt
Hank, you are absolutely correct, the amazing e4x selection expressions
will replace the recursive function.  I guess I did so many recursive
functions for this in 1.5 that I was temporarily stupid.  And the ID
values can be stored in a simple Array, and looped over.

 

I believe he will still need to climb the ancestor chain to open the
parents of the found nodes though.

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of hank williams
Sent: Wednesday, December 27, 2006 9:26 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Tree: Resetting openItems after dataProvider
change

 

Actually, Tracy, I dont think you need to do all of this work. The
openItems field of the tree does it for you. So you just need to go
through the openItems array of nodes and gather all the item IDs that I
described in the prior email. 

To reopen them later, you just use the an e4x function (I forget the
syntax but I can look if necessary) to find all the items in the
dataprovider that have the given ID. You then open each one of these
nodes.

Hank

On 12/26/06, Tracy Spratt [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]  wrote:

Yes, Hank's solutionsis what I would do.

 

Further, when you say ...Flex 2 tree control limits direct access to
nodes..., you make me suspect you are making a conceptual mistake.
With data-driven controls, you never directly access the controls
themselves.  Rather, you work with the dataProvider, to which you have
full access.

 

So in your case, you would have the unique id on each element(XML
object/node) in your XMLListCollection, and you would store the open
nodes in some list.  I think an associative array(hash table) would be
the most efficient.  The function to open those nodes would need to be
recursive.  When your recursive function matches a node in the
associative array, you would need to climb back up the tree, parent by
parent, opening each node as you go, till you reach an alrady open node.
Might be a bit more compilcated than that, since you want to reach the
end of a recursion branch before you stop searching.

 

If you post an example of two sample matching xml docs, with the above
mentioned ids, I might try to implement this functionality as an
example.

 

Tracy 

 

 



From: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com ]
On Behalf Of hank williams
Sent: Sunday, December 24, 2006 7:51 AM
To: flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com 
Subject: Re: [flexcoders] Tree: Resetting openItems after dataProvider
change

 

I think you are on track with the idea of needing an open indices
property. But indicices are a bit messy in a tree. what would be best is
a set of common unique identifiers. A field in each node that is unique.
This will allow you to build  a function that creates a list of the ids
that are open, and another function that opens those nodes. The nodes
will have the same id no matter what language the actual text of the
tree item is. gathering the ids from the open items, and opening the
items that have a given list of ids should be relatively straight
forward. 

Regards,
Hank

On 12/23/06, Oliver Merk [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote:

I've been wrestling with this for over a week and haven't found a
solution to this problem. Hoping someone can help.

I have a tree control that, at runtime, changes its dataProvider. In
this case, I'm switching languages and the dataProvider format is 
XMLListCollection. I'd like to restore the open items of the tree
after the dataProvider has changed. I tried using the openItems
property, but openItems stores a list of XML objects from the original
dataProvider. 

When the provider changes, the XML objects are of course different,
and trying to reset the openItems property fails. What I really need
is an openIndices property that is not tied to the XML data in the 
provider.

The example Adobe gives
(http://www.adobe.com/devnet/flex/quickstart/working_with_tree/
http://www.adobe.com/devnet/flex/quickstart/working_with_tree/ ) is
not helpful since they switch between two dataProviders with the same 
content and they're using an ArrayCollection (I'm using an
XMLListCollection).

I've tried walking the tree but since the new Flex 2 tree control
limits direct access to nodes, I could not find a way to detect the 
open indexes of the tree directly.

Any ideas?

Thanks,
Oliver



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


(Yahoo! ID required)

mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] 



 

 

 



RE: [flexcoders] source code of Training from the Source

2006-12-28 Thread Jeff Hindman
It's on a CD that came with the book.

 

--Jeff Hindman

  Simon Software Solutions

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Shailesh Mangal
Sent: Wednesday, December 27, 2006 5:31 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] source code of Training from the Source

 

Does any one have the source code of Adobe Flex2 - Training from the
Source. 

sxm

 



Re: [flexcoders] Re: SEO Compatibility

2006-12-28 Thread Ian Thomas

On 12/28/06, Kevin Newman [EMAIL PROTECTED] wrote:


What you have described is basic deep linking, but does not solve the
problem I have been attempting to articulate. Regardless of what goes on
on the server, if you enter some path info after the .com part of the
url, the server thinks it is getting its data from that location
(foo.com/bar/ for example).



Not quite true. You can use mod_rewrite (on Apache) to chop up the URL -
everything after the foo.com/  can be altered internally to be a request to
something else entirely, without affecting the  browser.

e.g. the client enters foo.com/bar/monkey

internally, mod_rewrite alters it to foo.com/index.php?page=bar/monkey, but
the user still sees foo.com/bar/monkey in his browser.

I've done it lots, I know it works. :-)

You can then enter your application at any point you like based on a
complete URL - e.g. passing it through to Flash as flashvars via PHP.

But as you say, unless we then update the browser's location bar when we
move through the app, it doesn't help much. :-)

Cheers,
 Ian


[flexcoders] HtmlText on custom component that extends the Button class

2006-12-28 Thread jjmal27
Hi all, 

I've created a custom button component that displays dynamic text. The 
button text are answers to a quiz. Up until now, I've been assigning 
the data to the custom component's label property, but now some of the 
data is quiet large so I was hoping to use the htmlText property. I've 
been looking through the documentation and it doesn't look like the 
Button class supports htmlText property. 

Does anyone know a workaround this? or if there is any way I can force 
the button to read htmlText?

Hoping someone can shed some light.. 

Cheers
JM



[flexcoders] Datagrid header spanning 2 columns

2006-12-28 Thread Ghose, Sanjucta

Hi,

 

I want to have a header spanning 2 columns in a datagrid.

 

 

Header1|  Header2

   Col|  Col2   |   col3

|   |

|   |

|   |   

 

 

How can I do that? 

 

 

Regards,

Sanjucta



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


Re: [flexcoders] Tree: Resetting openItems after dataProvider change

2006-12-28 Thread hank williams

On 12/27/06, Tracy Spratt [EMAIL PROTECTED] wrote:


 Hank, you are absolutely correct, the amazing e4x selection expressions
will replace the recursive function.  I guess I did so many recursive
functions for this in 1.5 that I was temporarily stupid.  And the ID
values can be stored in a simple Array, and looped over.



I believe he will still need to climb the ancestor chain to open the
parents of the found nodes though.



Tracy


 --

*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *hank williams
*Sent:* Wednesday, December 27, 2006 9:26 AM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] Tree: Resetting openItems after dataProvider
change



Actually, Tracy, I dont think you need to do all of this work. The
openItems field of the tree does it for you. So you just need to go through
the openItems array of nodes and gather all the item IDs that I described in
the prior email.

To reopen them later, you just use the an e4x function (I forget the
syntax but I can look if necessary) to find all the items in the
dataprovider that have the given ID. You then open each one of these nodes.

Hank

On 12/26/06, *Tracy Spratt* [EMAIL PROTECTED] wrote:

Yes, Hank's solutionsis what I would do.



Further, when you say …Flex 2 tree control limits direct access to
nodes…, you make me suspect you are making a conceptual mistake.  With
data-driven controls, you never directly access the controls themselves.
Rather, you work with the dataProvider, to which you have full access.



So in your case, you would have the unique id on each element(XML
object/node) in your XMLListCollection, and you would store the open nodes
in some list.  I think an associative array(hash table) would be the most
efficient.  The function to open those nodes would need to be recursive.
When your recursive function matches a node in the associative array, you
would need to climb back up the tree, parent by parent, opening each node as
you go, till you reach an alrady open node.  Might be a bit more compilcated
than that, since you want to reach the end of a recursion branch before you
stop searching.



If you post an example of two sample matching xml docs, with the above
mentioned ids, I might try to implement this functionality as an example.



Tracy




 --

*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *hank williams
*Sent:* Sunday, December 24, 2006 7:51 AM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders] Tree: Resetting openItems after dataProvider
change



I think you are on track with the idea of needing an open indices
property. But indicices are a bit messy in a tree. what would be best is a
set of common unique identifiers. A field in each node that is unique. This
will allow you to build  a function that creates a list of the ids that are
open, and another function that opens those nodes. The nodes will have the
same id no matter what language the actual text of the tree item is.
gathering the ids from the open items, and opening the items that have a
given list of ids should be relatively straight forward.

Regards,
Hank

On 12/23/06, *Oliver Merk* [EMAIL PROTECTED] wrote:

I've been wrestling with this for over a week and haven't found a
solution to this problem. Hoping someone can help.

I have a tree control that, at runtime, changes its dataProvider. In
this case, I'm switching languages and the dataProvider format is
XMLListCollection. I'd like to restore the open items of the tree
after the dataProvider has changed. I tried using the openItems
property, but openItems stores a list of XML objects from the original
dataProvider.

When the provider changes, the XML objects are of course different,
and trying to reset the openItems property fails. What I really need
is an openIndices property that is not tied to the XML data in the
provider.

The example Adobe gives
(http://www.adobe.com/devnet/flex/quickstart/working_with_tree/) is
not helpful since they switch between two dataProviders with the same
content and they're using an ArrayCollection (I'm using an
XMLListCollection).

I've tried walking the tree but since the new Flex 2 tree control
limits direct access to nodes, I could not find a way to detect the
open indexes of the tree directly.

Any ideas?

Thanks,
Oliver



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











Re: [flexcoders] Tree: Resetting openItems after dataProvider change

2006-12-28 Thread hank williams

I believe he will still need to climb the ancestor chain to open the parents

of the found nodes though.



The only reason I dont think you need to do this is that I *believe* that
the openItems field captures all of the ancestors that are open, so that if
you take a snapshot of the open items gathering a list of ids of open items
you can later just open those because the openItems field captures
everything open in the hierarchy.

Hank

Tracy




[flexcoders] Re: source code of Training from the Source

2006-12-28 Thread Mikey
Me thinks the CD that came with the book is MIA - like the receipt.

--- In flexcoders@yahoogroups.com, Jeff Hindman [EMAIL PROTECTED] wrote:

 It's on a CD that came with the book.
 
  
 
 --Jeff Hindman
 
   Simon Software Solutions
 
  
 
   _  
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of Shailesh Mangal
 Sent: Wednesday, December 27, 2006 5:31 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] source code of Training from the Source
 
  
 
 Does any one have the source code of Adobe Flex2 - Training from 
the
 Source. 
 
 sxm





[flexcoders] Multiple Model Locators

2006-12-28 Thread Kevin Merritt
I am migrating a fairly complex RIA from Flash to Flex and am trying  
to redesign the entire framework using Cairngorm.   I have read  
numerous examples and tutorials explaining the Model Locator, and am  
sold on the idea of using business logic to manage views (per Alex's  
blog) however, I am wondering if there are certain cases where it  
would make sense to use multiple Model Locators and segregate them  
based on the types of data they are locating them.

For example, I have grouped some of my data objects in the following  
way:

Application Data - objects which allow me to customize the interface  
and user experience for different clients.
User Data - objects with hold information about the user, including  
preferences  access levels
Group Data - objects which hold user defined groups that hold  
contacts  schedules
Contact Data - objects which hold lists of contacts and their  
specific infor such as addresses, emails, phones
Sched Data - objects which hold info about event schedules for each  
contact

what I am wondering is if in this case, it would make things more  
manageable if I set up a couple different Model Locators such as:

AppModelLocator - to access Application Data
UserModelLocator - to access User Data
GroupsModelLocator - to access Group, Contact  Sched data

Is this a smart way to approach this OR am I creating potential  
problems for myself by doing it this way.  What am I missing?  Is  
there anything on the web that talks abotu multiple Model Locators in  
a single app.

Thanks for the help!

- Kevin


Re: [flexcoders] Multiple Model Locators

2006-12-28 Thread Ralf Bokelberg

I can't see any problems with that. Another way is to let your one and only
ModelLocator reference your models. It looks like you are trying to make the
ModelLocators a model, which is ok in small projects, but in bigger ones, it
is more a locator than a model.

Cheers,
Ralf.

On 12/28/06, Kevin Merritt [EMAIL PROTECTED] wrote:


  I am migrating a fairly complex RIA from Flash to Flex and am trying
to redesign the entire framework using Cairngorm. I have read
numerous examples and tutorials explaining the Model Locator, and am
sold on the idea of using business logic to manage views (per Alex's
blog) however, I am wondering if there are certain cases where it
would make sense to use multiple Model Locators and segregate them
based on the types of data they are locating them.

For example, I have grouped some of my data objects in the following
way:

Application Data - objects which allow me to customize the interface
and user experience for different clients.
User Data - objects with hold information about the user, including
preferences  access levels
Group Data - objects which hold user defined groups that hold
contacts  schedules
Contact Data - objects which hold lists of contacts and their
specific infor such as addresses, emails, phones
Sched Data - objects which hold info about event schedules for each
contact

what I am wondering is if in this case, it would make things more
manageable if I set up a couple different Model Locators such as:

AppModelLocator - to access Application Data
UserModelLocator - to access User Data
GroupsModelLocator - to access Group, Contact  Sched data

Is this a smart way to approach this OR am I creating potential
problems for myself by doing it this way. What am I missing? Is
there anything on the web that talks abotu multiple Model Locators in
a single app.

Thanks for the help!

- Kevin
 





--
Ralf Bokelberg [EMAIL PROTECTED]
Flex  Flash Consultant based in Cologne/Germany


[flexcoders] Re: Help needed! change PopUpButton/ComboBox arrow position

2006-12-28 Thread vigen2000
how do i change the look of the popupbutton? can i change the position
of the arrow button? anyone have any suggestions? 

thanks,
Vigen

--- In flexcoders@yahoogroups.com, vigen2000 [EMAIL PROTECTED] wrote:

 Hi there!
 
 I'm trying to create a PopUpButton like the one in the new windows
 media player 11. there is a small arrow on the bottom of the button
 that opens a list/menu. a click on the main button area causes another
 action. it seems to have the exact same behavior as the popupbutton
 except for the arrow button placement and height. i tried to extend
 the popupbutton but with no success.
 
 any ideas? suggestions?
 
 help...
 
 vigen





[flexcoders] Re: source code of Training from the Source

2006-12-28 Thread Shailesh Mangal
I know, but my copy is no more usable. Wondering if any one can share
theirs. You can send to me the zipped version on my mailID. 

-sxm

--- In flexcoders@yahoogroups.com, Jeff Hindman [EMAIL PROTECTED] wrote:

 It's on a CD that came with the book.
 
  
 
 --Jeff Hindman
 
   Simon Software Solutions
 
  
 
   _  
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Shailesh Mangal
 Sent: Wednesday, December 27, 2006 5:31 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] source code of Training from the Source
 
  
 
 Does any one have the source code of Adobe Flex2 - Training from the
 Source. 
 
 sxm





Re: [flexcoders] Re: source code of Training from the Source

2006-12-28 Thread Jerome Clarke a.k.a sinatosk

that doesn't make sense if you bought the book, it should be on the
cd what do you mean by my copy is no more usable ???

On 12/28/06, Shailesh Mangal [EMAIL PROTECTED] wrote:


  I know, but my copy is no more usable. Wondering if any one can share
theirs. You can send to me the zipped version on my mailID.

-sxm

--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Jeff
Hindman [EMAIL PROTECTED] wrote:

 It's on a CD that came with the book.



 --Jeff Hindman

 Simon Software Solutions



 _

 From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com [mailto:
flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On
 Behalf Of Shailesh Mangal
 Sent: Wednesday, December 27, 2006 5:31 PM
 To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
 Subject: [flexcoders] source code of Training from the Source



 Does any one have the source code of Adobe Flex2 - Training from the
 Source.

 sxm


 



[flexcoders] Re: Vertical label on a Button

2006-12-28 Thread Oscar

Hi,

 You need to use an embedded font. Device fonts disappear when rotating 
a text field.




[flexcoders] change the caret

2006-12-28 Thread chmax_flex
Hi, can we change the caret from vertical line to solid block in flex?
Thanks for your help.



[flexcoders] Percentage based width in ActionScript

2006-12-28 Thread Matt Maher
Yikes, I am creating a component in ActionScript and adding an HBOX to
it as a child. I want that hbox to fill 90% of the width of this. 

I see on this page
http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0518.html

a comment about percentHeight, percentWidth In MXML tags only...

Come on, really? This seems a very troubling shortcoming. I just know
one of you gurus has figured out a simple fix for this, right?



RE: [flexcoders] Multiple Model Locators

2006-12-28 Thread Dimitrios Gianninas
No that is very smart... I do it that way as well for my projects. It is 
neccesary the bigger the application. Many people do this as well. So keep 
going!
 
Dimitrios Gianninas
RIA Developer
Optimal Payments Inc.
 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kevin 
Merritt
Sent: Thursday, December 28, 2006 9:59 AM
To: [EMAIL PROTECTED]; flexcoders@yahoogroups.com
Subject: [flexcoders] Multiple Model Locators



I am migrating a fairly complex RIA from Flash to Flex and am trying 
to redesign the entire framework using Cairngorm. I have read 
numerous examples and tutorials explaining the Model Locator, and am 
sold on the idea of using business logic to manage views (per Alex's 
blog) however, I am wondering if there are certain cases where it 
would make sense to use multiple Model Locators and segregate them 
based on the types of data they are locating them.

For example, I have grouped some of my data objects in the following 
way:

Application Data - objects which allow me to customize the interface 
and user experience for different clients.
User Data - objects with hold information about the user, including 
preferences  access levels
Group Data - objects which hold user defined groups that hold 
contacts  schedules
Contact Data - objects which hold lists of contacts and their 
specific infor such as addresses, emails, phones
Sched Data - objects which hold info about event schedules for each 
contact

what I am wondering is if in this case, it would make things more 
manageable if I set up a couple different Model Locators such as:

AppModelLocator - to access Application Data
UserModelLocator - to access User Data
GroupsModelLocator - to access Group, Contact  Sched data

Is this a smart way to approach this OR am I creating potential 
problems for myself by doing it this way. What am I missing? Is 
there anything on the web that talks abotu multiple Model Locators in 
a single app.

Thanks for the help!

- Kevin


 

-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



RE: [flexcoders] Percentage based width in ActionScript

2006-12-28 Thread Shannon Hicks
There's a simple fix...
 
width = this.width * .9
 
Shan

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Matt Maher
Sent: Thursday, December 28, 2006 11:25 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Percentage based width in ActionScript



Yikes, I am creating a component in ActionScript and adding an HBOX to
it as a child. I want that hbox to fill 90% of the width of this. 

I see on this page
http://livedocs.
http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhel
p.htm?context=LiveDocs_Partsfile=0518.html
macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Liv
eDocs_Partsfile=0518.html

a comment about percentHeight, percentWidth In MXML tags only...

Come on, really? This seems a very troubling shortcoming. I just know
one of you gurus has figured out a simple fix for this, right?



 


[flexcoders] Re: Percentage based width in ActionScript

2006-12-28 Thread Oscar
 

   Hi Matt,

  I am afraid you misread the livedocs. You should be able to use 
those properties in actioScript. 



Re: [flexcoders] Percentage based width in ActionScript

2006-12-28 Thread Brendan Meutzner

percentHeight and percentWidth work in actionscript code...

the document you reference says:

In ActionScript, you use the height and width properties to specify the
dimensions in pixels, and use the percentHeight and percentWidth properties
to specify the dimensions as a percentage of the parent container.


Brendan



On 12/28/06, Matt Maher [EMAIL PROTECTED] wrote:


  Yikes, I am creating a component in ActionScript and adding an HBOX to
it as a child. I want that hbox to fill 90% of the width of this.

I see on this page

http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0518.html

a comment about percentHeight, percentWidth In MXML tags only...

Come on, really? This seems a very troubling shortcoming. I just know
one of you gurus has figured out a simple fix for this, right?

 



Re: [flexcoders] Percentage based width in ActionScript

2006-12-28 Thread Rich Tretola

Actually percentHeight and percentWidth are for actionscript only.

IE: this.perrcentWidth = 90;

within mxml it would be width=90%


Rich

On 12/28/06, Matt Maher [EMAIL PROTECTED] wrote:


  Yikes, I am creating a component in ActionScript and adding an HBOX to
it as a child. I want that hbox to fill 90% of the width of this.

I see on this page

http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0518.html

a comment about percentHeight, percentWidth In MXML tags only...

Come on, really? This seems a very troubling shortcoming. I just know
one of you gurus has figured out a simple fix for this, right?

 





--
Rich Tretola
mx:EverythingFlex/
http://www.EverythingFlex.com


[flexcoders] Re: Cairngorm 2 with FMS and SharedObjects

2006-12-28 Thread carkraus
Hi Owen,

I´m also about to use Cairngorm with FMS / SharedObjects - did U
find useful resources on the issue in the end?
Have U been succesful with your approach?

Thx for any hint!
Carsten


--- In flexcoders@yahoogroups.com, Owen van Dijk [EMAIL PROTECTED]
wrote:

 Hi all,

 I'm implementing a project now using Cairngorm's framework and uses
 FMS to provide multi-user capabilities through SharedObjects. It uses
 the SharedObject onResult handlers to update the model ( concurrent
 users, number of users connected etc ). Where in the architecture
 would this functionality fit best?

 I'd assume i would create a NetConnection 'service' and create a
 Delegate for the SharedObject and handle the Result and Fault handlers
 in a Command but this feels a bit weird because the SharedObject is
 'persistent', not in the context of persistent SharedObjects but
 persistent that they are never deleted.

 I'd believe that Commands can be created and execution ends when the
 execute method  returns ( or it's onResult/onFault handlers ).

 What do you think, should i implemented as suggested above or is there
 something i'm missing?

 --
 Owen van Dijk





Re: [flexcoders] Multiple Model Locators

2006-12-28 Thread hank williams

I'll just chime in an say I do exactly the same thing. In fact I actually
create separate projects for different pieces of my application to maintain
modularity and allow the different pieces to be worked on independently.

Regards,
Hank

On 12/28/06, Kevin Merritt [EMAIL PROTECTED] wrote:


I am migrating a fairly complex RIA from Flash to Flex and am trying
to redesign the entire framework using Cairngorm.   I have read
numerous examples and tutorials explaining the Model Locator, and am
sold on the idea of using business logic to manage views (per Alex's
blog) however, I am wondering if there are certain cases where it
would make sense to use multiple Model Locators and segregate them
based on the types of data they are locating them.

For example, I have grouped some of my data objects in the following
way:

Application Data - objects which allow me to customize the interface
and user experience for different clients.
User Data - objects with hold information about the user, including
preferences  access levels
Group Data - objects which hold user defined groups that hold
contacts  schedules
Contact Data - objects which hold lists of contacts and their
specific infor such as addresses, emails, phones
Sched Data - objects which hold info about event schedules for each
contact

what I am wondering is if in this case, it would make things more
manageable if I set up a couple different Model Locators such as:

AppModelLocator - to access Application Data
UserModelLocator - to access User Data
GroupsModelLocator - to access Group, Contact  Sched data

Is this a smart way to approach this OR am I creating potential
problems for myself by doing it this way.  What am I missing?  Is
there anything on the web that talks abotu multiple Model Locators in
a single app.

Thanks for the help!

- Kevin


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






[flexcoders] Re: Percentage based width in ActionScript

2006-12-28 Thread parkerwhirlow
You should be able to assign percentHeight and percentWidth properties
in AS... I do this fairly often.

PW

--- In flexcoders@yahoogroups.com, Matt Maher [EMAIL PROTECTED] wrote:

 Yikes, I am creating a component in ActionScript and adding an HBOX to
 it as a child. I want that hbox to fill 90% of the width of this. 
 
 I see on this page

http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0518.html
 
 a comment about percentHeight, percentWidth In MXML tags only...
 
 Come on, really? This seems a very troubling shortcoming. I just know
 one of you gurus has figured out a simple fix for this, right?





[flexcoders] Who's your ISP?

2006-12-28 Thread Jeff Hindman
Just a quick survey asking who's your favorite ISP that supports Flex 
2.0 with all the bells and whistles (not FDS ... yet).  We're 
considering CrystalTech to host our start-up, but are interested in 
exploring other options as well.

Thanks --

  -- Jeff Hindman
 Simon Software Solutions



[flexcoders] Re: Flex help on IRC

2006-12-28 Thread klumikaze
You can get a list of EFNet servers (and find the nearest one to you) at http://
www.efnet.org/?module=servers

For those unfamiliar with IRC, there are numerous clients available for Windows 
(mIRC is 
the most popular). For MacOS X there are a few: Adium (also includes MSN, ICQ, 
AIM, 
Yahoo, etc), Colloquy, IrcII (terminal based). Should be fairly 
straight-forward once you get 
the clients and pick a server, just join the #flex channel.

I've been lurking on there, and there are many others who frequent the channel. 
Great 
place to ask a quick question or to offer help to others.

Cheers,

Brian

--- In flexcoders@yahoogroups.com, Arleston Lueders [EMAIL PROTECTED] wrote:

 What's the server?
 See ya.
 
 2006/12/23, pk_wasp [EMAIL PROTECTED]:
 
Hey cool idea
 
  Has anyone brough up the idea of having a permanent adobe
  connect/breeze session for flex developers to go to to chat, exchange
  stuff etc?
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, dorkie
  dork from dorktown
  dorkiedorkfromdorktown@ wrote:
  
   bump.
  
   On 11/28/06, Andrew D. Goodfellow agoodfellow@ wrote:
   
Great idea Louie! I've been using this channel for about a day now
  and I'm
finding it very useful.
   
I'd definitely encourage everyone on the list to come and
  participate, or
at least lurk. :o)
   
-Andy
   
   
On 11/27/06, Louie Penaflor lpenaflor@  wrote:

 Hey everyone,



 For those of you who would like to attempt a
  different way
 of getting help, we have started a flex channel on IRC Chat called
 #flex. It's on efnet. Hope to see you there.



 Louie




   
   
  
 
   
 





[flexcoders] loading a external variable into a flex app

2006-12-28 Thread g_vaccarezza
Guys,

I got to externally set a variable on a swf.
I have very limited knowledge but I do know that in a regular flash 
movie I can set a variable through a declaration within the object 
ember tag in the html:

myMovie.swf?variable=something

or through the param tag:

param name=variable value=something /

Does this apply for an embedded flex movie? In that case, how should I 
read the variable from within flex?

Thanks!
-g



Re: [flexcoders] Re: SEO Compatibility

2006-12-28 Thread dorkie dork from dorktown

i see what you are saying in your words. when we go to a new state, say
foo.com/bar/ you want the url to change to
foo.com/bar/monkey
not
foo.com/bar/#monkey

correct? have a look at www.neave.tv. as you move the app the browser's
location bar is updated.

are we changing topics again or are we moving to another piece of the
puzzle?

ie, jd summarized the current topic issue as this:

I'd like Adobe to provide examples on how to expose user-entered text,
stored within my database and displayed and entered through a Flex SWF's
UI, so that any search engine could search for that user text and return
the address of the interface.

and then we discussed some solutions to this.


On 12/28/06, Ian Thomas [EMAIL PROTECTED] wrote:




On 12/28/06, Kevin Newman [EMAIL PROTECTED] wrote:

 What you have described is basic deep linking, but does not solve the
 problem I have been attempting to articulate. Regardless of what goes on
 on the server, if you enter some path info after the .com part of the
 url, the server thinks it is getting its data from that location
 (foo.com/bar/ for example).


Not quite true. You can use mod_rewrite (on Apache) to chop up the URL -
everything after the foo.com/  can be altered internally to be a request
to something else entirely, without affecting the  browser.

e.g. the client enters foo.com/bar/monkey

internally, mod_rewrite alters it to foo.com/index.php?page=bar/monkey,
but the user still sees foo.com/bar/monkey in his browser.

I've done it lots, I know it works. :-)

You can then enter your application at any point you like based on a
complete URL - e.g. passing it through to Flash as flashvars via PHP.

But as you say, unless we then update the browser's location bar when we
move through the app, it doesn't help much. :-)

Cheers,
  Ian




RE: [flexcoders] loading a external variable into a flex app

2006-12-28 Thread Battershall, Jeff
G,

myMovie.swf?foo=whatever

Can be accessed from within flex as:

Application.application.parameters.foo

HTH,

Jeff

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of g_vaccarezza
Sent: Thursday, December 28, 2006 2:51 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] loading a external variable into a flex app


Guys,

I got to externally set a variable on a swf.
I have very limited knowledge but I do know that in a regular flash 
movie I can set a variable through a declaration within the object 
ember tag in the html:

myMovie.swf?variable=something

or through the param tag:

param name=variable value=something /

Does this apply for an embedded flex movie? In that case, how should I 
read the variable from within flex?

Thanks!
-g



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





Re: [flexcoders] loading a external variable into a flex app

2006-12-28 Thread greg h

Hi g,

This page in the Flex 2 Language Reference covers ...
Using query string parameters  (under NOTE halfway down the page)
http://livedocs.macromedia.com/flex/2/docs/1006.html

Personally, I use FlashVars to pass values into the SWF at runtime through
the HTML objectembed tags.

You can check these two links in the Flex 2 Language Reference for details:

Using flashVars
http://livedocs.macromedia.com/flex/2/docs/1005.html

Using the Application.application.parameters object
http://livedocs.macromedia.com/flex/2/docs/1004.html

Please post back whether this helped or not.

g

On 12/28/06, g_vaccarezza [EMAIL PROTECTED] wrote:


Guys,

I got to externally set a variable on a swf.
I have very limited knowledge but I do know that in a regular flash
movie I can set a variable through a declaration within the object
ember tag in the html:

myMovie.swf?variable=something

or through the param tag:

param name=variable value=something /

Does this apply for an embedded flex movie? In that case, how should I
read the variable from within flex?

Thanks!
-g



RE: [flexcoders] Who's your ISP?

2006-12-28 Thread Shannon Hicks
CFDynamics was, last I checked, the only shared-hosting company that
supports the flex gateway.
 
Anyone who does dedicated hosting will work, but you have to bring your own
CF license.
 
Shan

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jeff Hindman
Sent: Thursday, December 28, 2006 1:52 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Who's your ISP?



Just a quick survey asking who's your favorite ISP that supports Flex 
2.0 with all the bells and whistles (not FDS ... yet). We're 
considering CrystalTech to host our start-up, but are interested in 
exploring other options as well.

Thanks --

-- Jeff Hindman
Simon Software Solutions



 


Re: [flexcoders] [Flex2, Cairngorm 2.1] Trouble with ServiceLocator

2006-12-28 Thread michael . corbridge

Thomas,

In my delegates, I am using this syntax:

this.service = ServiceLocator.getInstance().getService( testService );

I note that you use getRemoteObject?

Just a thought 

 - mike






 

 
 Thomas Rühl -akitogo- To: flexcoders@yahoogroups.com   
 
 [EMAIL PROTECTED]cc: 
  
 Sent by:  Subject:  [flexcoders] [Flex2, 
Cairngorm 2.1] Trouble 
 flexcoders@yahoogroups.com  with ServiceLocator
 
 12/28/2006 06:40 AM
 
 Please respond to  
 
 flexcoders 
 

 
















 Hello flexcoders,  



 I'm sort of stuck at the moment; I think, I'm missing something here...

 In my Services.mxml I configure a RemoteObject with the id 'testService':  



 cairngorm:ServiceLocator xmlns:mx=http://www.adobe.com/2006/mxml;

 xmlns:cairngorm=com.adobe.cairngorm.business.*  

 mx:RemoteObject id=testService destination=ColdFusion 

 source=some.path.to.cfc.StuffManagement showBusyCursor=true / 

 /cairngorm:ServiceLocator



 I implemented a BusinessDelegate for testing, that should make use of  

 the above: 



 ServiceLocator.getInstance().getRemoteObject(testService);   



 However, for some reason I don't see, this throws a reference error

 (property not found):  



 ReferenceError: Error #1069: Eigenschaft testService für   

 com.adobe.cairngorm.business.ServiceLocator nicht gefunden und es ist  

 kein Standardwert vorhanden. at

 com.adobe.cairngorm.business::ServiceLocator/::getServiceForId() at

 com.adobe.cairngorm.business::ServiceLocator/getRemoteObject() at  

 customer.business::TestDelegate$iinit() at 

 customer.commands::ApplicationStartupCommand/execute() at  

 
com.adobe.cairngorm.control::FrontController/com.adobe.cairngorm.control:FrontController::executeCommand()
 
 at 

 

Re: [flexcoders] Who's your ISP?

2006-12-28 Thread David Harris

Hi Jeff,

I replied to this just before, but I think I sent the response only to
Shannon!

My understanding is that all ISPs would support Flex2, as Flex compiles to a
.SWF movie, which is downloaded and run on the client machine...
So if a ISP supports Flash, they would support Flex2...

What server-side technology are you intending to use?
EG: ColdFusion,Java, PHP etc?
and,
How are you intending to contect to that Technology?
EG: Webservices, XML, FlexGateway etc?

the answers to those questions will effect the ISP you select :-)

Cheers,

David


On 12/29/06, Shannon Hicks [EMAIL PROTECTED] wrote:


   CFDynamics was, last I checked, the only shared-hosting company that
supports the flex gateway.

Anyone who does dedicated hosting will work, but you have to bring your
own CF license.

Shan

 --
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Jeff Hindman
*Sent:* Thursday, December 28, 2006 1:52 PM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Who's your ISP?

 Just a quick survey asking who's your favorite ISP that supports Flex
2.0 with all the bells and whistles (not FDS ... yet). We're
considering CrystalTech to host our start-up, but are interested in
exploring other options as well.

Thanks --

-- Jeff Hindman
Simon Software Solutions

 



[flexcoders] my List is playing up

2006-12-28 Thread David Harris
Hi Guys,

Here is an odd one...

I have a situation where I have a custom MXML component (in it's own
name space) called List.mxml

When I use it, the backgroud is solid white.
EG:
mynamespace:List width=500 height=500 /

but if I rename it to SomeList.mxml, the background is inherited as expected.
EG:
mynamespave:SomeList  width=500 height=500 /

I can only guess that there is some conflict happening with the
mx:List component, but since my List is in a different namespace
etc, this shouldn't happen!

Has anyone else seen this, and is it a bug?

Cheers,

David


[flexcoders] Any word on The RIA book??

2006-12-28 Thread Mike Anderson
Hello All,

I pre-purchased this book, as many others I am sure - and I am curious
when it will be shipped.  FYI, if you visit http://www.theriabook.com
you will see what I am referring to.

It was supposed to be shipped the last quarter of 2006 - and this
deadline is coming up the end of this week.

Has anybody heard anything regarding if/when the book will be
available???

The contents of this book have me extremely excited, and is integral to
my project that I must finish up in the next couple months.

Thanks to anybody that can offer any information.

Mike


Re: [flexcoders] AMF Error using Cisco WebVPN

2006-12-28 Thread Lachlan Cotter
If it is a sand boxing issue, you might be able to get around it by  
placing an crossdomain.xml file on your sever and naming the domain  
from which your external people access the app.


Cheers,
Lach


On 23/12/2006, at 5:47 AM, Rich Tretola wrote:

We have an internal application that needs to be accessed by our  
external people though webVPN client.  The application loads by my  
AMF connection to the local java class files fails with an error of:


faultCode: Client.Error.MessageSend
faultString:'Send Failed'
faultDetail:'Channel.Connect.Failed error  
NetConnection.Call.Failed: HTTP: Failed'


The application works perfectly when accessing through its direct  
URL but failed when using the webVPN where the URL is different and  
the app loads though a proxy.


Anyone else have any experience with this?

Rich




Re: [flexcoders] Any word on The RIA book??

2006-12-28 Thread Bjorn Schultheiss
According to faratasystems' blog they just recently completed writing  
the book.

Check it out flexblog.faratasystems.com

On 29/12/2006, at 12:04 PM, Mike Anderson wrote:


Hello All,

I pre-purchased this book, as many others I am sure - and I am curious
when it will be shipped. FYI, if you visit http://www.theriabook.com
you will see what I am referring to.

It was supposed to be shipped the last quarter of 2006 - and this
deadline is coming up the end of this week.

Has anybody heard anything regarding if/when the book will be
available???

The contents of this book have me extremely excited, and is  
integral to

my project that I must finish up in the next couple months.

Thanks to anybody that can offer any information.

Mike






Re: [flexcoders] Any word on The RIA book??

2006-12-28 Thread Collin Peters

Yes, I believe it noted the book would be in print Feb 2007

On 12/28/06, Bjorn Schultheiss [EMAIL PROTECTED] wrote:


  According to faratasystems' blog they just recently completed writing
the book.
Check it out flexblog.faratasystems.com

On 29/12/2006, at 12:04 PM, Mike Anderson wrote:

Hello All,

I pre-purchased this book, as many others I am sure - and I am curious
when it will be shipped. FYI, if you visit http://www.theriabook.com
you will see what I am referring to.

It was supposed to be shipped the last quarter of 2006 - and this
deadline is coming up the end of this week.

Has anybody heard anything regarding if/when the book will be
available???

The contents of this book have me extremely excited, and is integral to
my project that I must finish up in the next couple months.

Thanks to anybody that can offer any information.

Mike


 





--
Collin Peters
Lead Software Developer


RE: [flexcoders] Any word on The RIA book??

2006-12-28 Thread Mike Anderson
Great!
 
thanks both of you
 
Mike



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Collin Peters
Sent: Thursday, December 28, 2006 9:12 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Any word on The RIA book??


Yes, I believe it noted the book would be in print Feb 2007


On 12/28/06, Bjorn Schultheiss [EMAIL PROTECTED]  wrote: 

According to faratasystems' blog they just recently completed
writing the book.

Check it out flexblog.faratasyst ems.com http://ems.com 


On 29/12/2006, at 12:04 PM, Mike Anderson wrote:




Hello All,

I pre-purchased this book, as many others I am sure -
and I am curious
when it will be shipped. FYI, if you visit
http://www.theriabook.com http://www.theriabook.com 
you will see what I am referring to.

It was supposed to be shipped the last quarter of 2006 -
and this 
deadline is coming up the end of this week.

Has anybody heard anything regarding if/when the book
will be
available???

The contents of this book have me extremely excited, and
is integral to 
my project that I must finish up in the next couple
months.

Thanks to anybody that can offer any information.

Mike












-- 
Collin Peters
Lead Software Developer  


Re: [flexcoders] Re: SEO Compatibility

2006-12-28 Thread Kevin Newman
Perhaps the easiest way to think about this is stuff before the hash, is 
server side stuff, and after the hash is client side stuff. The client 
portion can be changed on the client without reloading the client app, 
but the stuff before the hash will cause the app to be reloaded if 
altered by javascript (mod_rewrite only affects the server side - it 
doesn't update the user's location info).

More within:

dorkie dork from dorktown wrote:
 i see what you are saying in your words. when we go to a new state, 
 say foo.com/bar/ http://foo.com/bar/ you want the url to change to
 foo.com/bar/monkey http://foo.com/bar/monkey not foo.com/bar/#monkey 
 http://foo.com/bar/#monkey
It's not that I want the url to change to that, it's that the search 
bots only (to my knowledge) use the stuff before the hash (#). So it's 
more of a necessity to have those standard urls in some kind of link 
structure for the bots to follow.

In other words, if you want SEO compatibility in your client side app, 
you are required to maintain and integrate the two different URL types - 
one for the user, and one for the search bots (and that one is a server 
side app).

 correct? have a look at www.neave.tv http://www.neave.tv. as you 
 move the app the browser's location bar is updated.
This site demonstrates what I've been saying - only the stuff after the 
hash changes (and it's using unFocus.History, which was written by yours 
truly :-D - *shameless*).

 are we changing topics again or are we moving to another piece of the 
 puzzle?

 ie, jd summarized the current topic issue as this:

 I'd like Adobe to provide examples on how to expose user-entered text,
 stored within my database and displayed and entered through a Flex SWF's
 UI, so that any search engine could search for that user text and return
 the address of the interface.

 and then we discussed some solutions to this.
I guess this is a different discussion - we are discussing why this is 
so hard to do, and the specific road blocks, and then some possible 
solutions. I'd be happy to start another thread, but I don't watch the 
list as closely as I'd like, which is why I keep coming back to this old 
huge one.

The more I think about this particular problem, the more I am starting 
to see which tools may be right for which jobs. If you have a lot of 
content in your site, then each piece of content should probably be 
contained in some kind of document container (like html). It's these 
documents that would be indexed by search engines.

So maybe then the problem is that we need a standard way to get from the 
indexed document into the Rich app more fluidly, if not automatically?

This whole problem is also difficult, because it is not solely a 
technical problem, nor is it entirely an architectural problem - there 
are also possible user experience considerations, as well as work flow 
issues.

Kevin N.