[flexcoders] Module Sizing

2007-06-06 Thread mapper2255
Good Morning,

I have taken some code from the Application and placed it in a Module 
with no changing of the code.

In the Application it was set to 100% width and height, which is what 
I want and looked fine. Now that it is in the Module it loads into the 
Application shell with what appears to be a default size of 700/700.

I have the ModuleLoader set to 100% width/height but cannot get it to 
expand. Could someone tell me what I am doing wrong?

Thanks.



[flexcoders] Re: Module Sizing

2007-06-06 Thread mapper2255
Sure enough!

Thank you, Alex!

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

 Known bug.  You have to use percentWidth=100 percentHeight=100 
on
 the mx:Module tag instead of width=100% height=100%
 
  
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of mapper2255
 Sent: Wednesday, June 06, 2007 8:48 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Module Sizing
 
  
 
 Good Morning,
 
 I have taken some code from the Application and placed it in a 
Module 
 with no changing of the code.
 
 In the Application it was set to 100% width and height, which is 
what 
 I want and looked fine. Now that it is in the Module it loads into 
the 
 Application shell with what appears to be a default size of 
700/700.
 
 I have the ModuleLoader set to 100% width/height but cannot get it 
to 
 expand. Could someone tell me what I am doing wrong?
 
 Thanks.





[flexcoders] HorizontalList

2007-06-06 Thread mapper2255
Good Afternoon,

I have a ItemRenderer inside a HorizontalList. The HorizontalList is 
loaded in a Module. I would like the HorizontalList to be centered 
under an ApplicationControlBar which will be set to 100% of page width.

Could someone tell me the best way to center the HorizontaList under 
the ApplicationControlBar? In general terms?

Thanks.



[flexcoders] FileSize: modules/rsl

2007-05-29 Thread mapper2255

Good Morning,

I am trying to move from the newbie class to a moderately capable 
Flex Programmer.

I would like to make some income as I do this.

I have decided to use the Flex Explorer (with proper credits of 
course) structure as a learning platform.

For my purposes Flex Explorer is too large of a file size. I have 
decided to create modules of each view. 

I have taken each category of view, buttons/navigators/rules ect and 
put into their own folder. I have compiled, debugged and have it 
running.

I have run an externalLink report which to no surprise shows a 
massive amount of classes.

I get an error when trying to compile the module: it cannot find the 
*.as file to include though this file is found before the external 
link report is run (after the separation of category views).

Is there something about including *.as files with regards to -load-
externs=report.xml?

Is there better documentation or an example of what I am trying to 
do out there?

I ran into this: 
http://blogs.adobe.com/rgonzalez/2006/06/modular_applications_part_2.
html though for the next couple weeks it is above my pay scale.

Should I be trying to use RSL's instead: 
http://www.adobe.com/devnet/flex/articles/rsl_print.html?

Thanks.



[flexcoders] Re: navigateToURL

2007-05-01 Thread mapper2255
No issues, my development machine. Appreciate the test. Thanks. Will 
go over it again.

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

 I've used Xampp before for many different things and I've never 
had any 
 special requirements. It's odd. I even pasted your sample code in 
the 
 online flex compiler at try.flex.org and it worked fine there.
 
 Does your bin/ directory or FlashSite2 directory have any 
permissions 
 issues?
 
 Michael
 
 mapper2255 wrote:
 
  Thanks, Gordon.
 
  Yes, it works and the Adobe link worked. Not sure how Flex
  Builder/xampp/Windows wants to see the contructed URL though it
  seems like I have tried all options.
 
  Forward slashes/backward\with this directory without?
 
  I can go to file in browser.
 
  --- In flexcoders@yahoogroups.com 
  mailto:flexcoders%40yahoogroups.com, Gordon Smith gosmith@
  wrote:
  
   Whatever problem you're having isn't related to event.label or
  probably
   to anything in your Flex code. When I tried this code it
  constructed the
   proper URL, such as
  
   http://localhost/FlashSite2/bin/ghostb 
  http://localhost/FlashSite2/bin/ghostb
  
   Does that URL work when you paste it into a browser?
  
   - Gordon
  
   
  
   From: flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com
  [mailto:flexcoders@yahoogroups.com 
  mailto:flexcoders%40yahoogroups.com] On
   Behalf Of mapper2255
   Sent: Monday, April 30, 2007 2:19 PM
   To: flexcoders@yahoogroups.com mailto:flexcoders%
40yahoogroups.com
   Subject: [flexcoders] navigateToURL
  
  
  
   Can any one tell me why I cannot get this event.label to work,
  keeps
   giving not found? Code is straight out of help files.
  
   mx:LinkBar borderStyle=solid itemClick=navigateToURL(new
   URLRequest('http://localhost/FlashSite2/bin/ 
  http://localhost/FlashSite2/bin/
   http://localhost/FlashSite2/bin/ 
  http://localhost/FlashSite2/bin/ ' + String
   (event.label).toLowerCase()), '_blank');
   !--
   http://localhost/
   http://localhost/FlashSite2/ http://localhost/FlashSite2/ 
  http://localhost/FlashSite2/ http://localhost/FlashSite2/
   --
  
   mx:dataProvider
   mx:Array
   mx:Stringghostb/mx:String
   mx:StringDirector/mx:String
   mx:StringDreamweaver/mx:String
   mx:StringColdFusion/mx:String
   /mx:Array
   /mx:dataProvider
   /mx:LinkBar
  
   using xampp?
  
 
 





[flexcoders] Tree Event

2007-04-30 Thread mapper2255
Hello,

I am moving forward everyday with knowledge of Flex. However it always 
seems like to takes a long time to customize examples to my needs.

Is there someone out there who has a handler developed for the 
openTree event. I would like to finish my first complete site and need 
to have the leafs load url.

The reason to keep file size down. Is there a better way? Is this a 
bad combination, Tree loading a new page?

Developer Guide goes over modules but where, when to use?

Really need help.

Thanks.



[flexcoders] navigateToURL

2007-04-30 Thread mapper2255
Can any one tell me why I cannot get this event.label to work, keeps 
giving not found? Code is straight out of help files. 

mx:LinkBar borderStyle=solid itemClick=navigateToURL(new 
URLRequest('http://localhost/FlashSite2/bin/' + String
(event.label).toLowerCase()), '_blank');
!--
http://localhost/
http://localhost/FlashSite2/
--

mx:dataProvider
mx:Array
mx:Stringghostb/mx:String
mx:StringDirector/mx:String
mx:StringDreamweaver/mx:String
mx:StringColdFusion/mx:String
/mx:Array
/mx:dataProvider
/mx:LinkBar

using xampp?



[flexcoders] Re: navigateToURL

2007-04-30 Thread mapper2255
Thanks, Gordon.

Yes, it works and the Adobe link worked. Not sure how Flex 
Builder/xampp/Windows wants to see the contructed URL though it 
seems like I have tried all options.

Forward slashes/backward\with this directory without? 

I can go to file in browser.

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

 Whatever problem you're having isn't related to event.label or 
probably
 to anything in your Flex code. When I tried this code it 
constructed the
 proper URL, such as
  
 http://localhost/FlashSite2/bin/ghostb
  
 Does that URL work when you paste it into a browser?
  
 - Gordon
 
 
 
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of mapper2255
 Sent: Monday, April 30, 2007 2:19 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] navigateToURL
 
 
 
 Can any one tell me why I cannot get this event.label to work, 
keeps 
 giving not found? Code is straight out of help files. 
 
 mx:LinkBar borderStyle=solid itemClick=navigateToURL(new 
 URLRequest('http://localhost/FlashSite2/bin/
 http://localhost/FlashSite2/bin/ ' + String
 (event.label).toLowerCase()), '_blank');
 !--
 http://localhost/
 http://localhost/FlashSite2/ http://localhost/FlashSite2/ 
 --
 
 mx:dataProvider
 mx:Array
 mx:Stringghostb/mx:String
 mx:StringDirector/mx:String
 mx:StringDreamweaver/mx:String
 mx:StringColdFusion/mx:String
 /mx:Array
 /mx:dataProvider 
 /mx:LinkBar
 
 using xampp?





[flexcoders] Your favorite horizontal menu arrangement

2007-04-27 Thread mapper2255
Hello,

Putting up a 100% Flex site. What is everyone using to create 
horizontal set of links: MenuBar? Creating a custom handler for 
itemClick? Then using urlLoader?

If there are any neat examples, would appreciate it.

Thanks.



[flexcoders] Scheduler

2007-04-23 Thread mapper2255

Good Morning,

Is there any one  out there that is willing to share a link/code 
example of customizing the Scheduler to accept a drag/drop event?

Thanks.



[flexcoders] Blog sites done in Flex

2007-04-23 Thread mapper2255
Hello,

Any one seen a good blogging site lately that was done in Flex?

Thanks.



[flexcoders] FB not seeing RectangleBorder

2007-04-18 Thread mapper2255
Good Morning,

I have done a search in FB Help files on dropShadows and then 
copy/pasted code of first result into as AS project.

I am getting a definition of base class RectangleBorder was not 
found.

I see this clas in exlorer mx.skins as it is in the code.

I have a couple questions, if someone could help:

Why is FB not seeing?
This has happened to me before, is there a site dedicated to changes 
in versions relating to class structure?
Does anyone have a good looking example of a rectangle I could use 
to serve as a border for thumbnail images?

Thanks.




[flexcoders] vSlider onRelease?

2007-04-18 Thread mapper2255
Hello,

Can someone send me a link on using a vSlider to load up a Box with 
new data? Would you use onRelease?

Thanks.



[flexcoders] Re: vSlider onRelease?

2007-04-18 Thread mapper2255
found this: thumbRelease  Dispatches when the user releases the mouse 
pointer after a thumbPress event occurs.
 

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

 Hello,
 
 Can someone send me a link on using a vSlider to load up a Box with 
 new data? Would you use onRelease?
 
 Thanks.





[flexcoders] Re: vSlider onRelease?

2007-04-18 Thread mapper2255
Thank you.
--- In flexcoders@yahoogroups.com, Doug Lowder [EMAIL PROTECTED] 
wrote:

 I think the change event is a better choice.  ThumbRelease won't 
fire 
 if the slider value changes via keyboard interaction.
 
 --- In flexcoders@yahoogroups.com, mapper2255 mapper2255@ 
wrote:
 
  found this: thumbRelease  Dispatches when the user releases the 
mouse 
  pointer after a thumbPress event occurs.
   
  
  --- In flexcoders@yahoogroups.com, mapper2255 mapper2255@ 
wrote:
  
   Hello,
   
   Can someone send me a link on using a vSlider to load up a Box 
with 
   new data? Would you use onRelease?
   
   Thanks.
  
 





[flexcoders] IMenuBarItemRenderer

2007-04-13 Thread mapper2255
Good Morning,

I see in a post dated this year a tutorial on doing vertical menu 
using the IMenuBarItemRenderer.

I just purchased Flex Builder. The version is 2.01. That interface 
does not ship with that version.

Anyone know a good link to do vertical menus?

Thanks.



[flexcoders] IMenuBarItemRenderer

2007-04-13 Thread mapper2255
Good Morning,

I see in a post dated this year a tutorial on doing vertical menu 
using the IMenuBarItemRenderer.

I just purchased Flex Builder. The version is 2.01. That interface 
does not ship with that version.

Anyone know a good link to do vertical menus?

Thanks.



[flexcoders] Re: To newbies...

2007-04-13 Thread mapper2255
Ed, 

This is a great group. It can be however difficult as you get up and 
running, until you can formulate good questions and even that takes 
time.

If you are looking for some help drop me a line offline 
[EMAIL PROTECTED]

--- In [EMAIL PROTECTED], Ed Capistrano 
[EMAIL PROTECTED] wrote:

 What can you say to the likes of me who came from
 flash  just starting to grasp flex. Will I/we be
 having a hard time in adapting/learning flex? Please
 give any book titles or sites that best suite to
 people like me.
 
 Thanks,
 -Ed
 proud  a happy member
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com





[flexcoders] Combine Applications

2007-04-09 Thread mapper2255

Good Morning,

Is there anyone out there who has developed a site/blog dedicated to 
showing the way to combining the great applications that have been 
developed using Flex?

Cairngorm, FlexStyleExplorer, FlexStore to mention a few 
applications that are awesome in and of themselves. However if  you 
are like me, it sometimes seems like you must reach the expert stage 
before being able to combine these apps.

Each one has great features. It seems like, if now one has developed 
a site dedicated to showing examples of combining these features 
into a new custom app.

It is very difficult to search the archives in an individual attempt 
to learn one of the apps, then search the archives on a second and 
work to figure out the best way to combine them.

Surely, I am not the only one having a difficult time combining the 
apps, remoting and all the ins/outs of these details.

Can we start a thread dedicated to this thought? If this is old news 
I would like to be directed to the one site that combines these?

Thanks for your thoughts.



[flexcoders] Re: Yahoo map API

2007-04-06 Thread mapper2255
Unless you something more than this: 
http://developer.yahoo.com/maps/flash/ which I just pulled down it 
does appear that Yahoo is using 1.5. Do you have a link to Flex 2 API?

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

 Nope thats the old one, Yahoo released a new API that should work 
with
 flex 2
 
 --- In flexcoders@yahoogroups.com, franto kormanak@ wrote:
 
  ok, i know, it's just for Flex 1.5 :)
 





[flexcoders] Re: Tree and Array

2007-04-04 Thread mapper2255

Here are a couple links:

http://www.adobe.com/devnet/flex/quickstart/working_with_tree/

http://www.flex2components.com/f2cblog/2006/10/16/flex-2-tree-
walking-the-tree-method/

I know it was for the Cairgorm Store but I did a keyword on these 
archives of: events tree cairgorm and got 52 results a lot with 
the tree component.

Hope it helps some.


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

 how? can't find a sample... can't find docs on it... does that 
mean 
 i'll need to build a tree structure inside an array and then pass 
it 
 to the data provider? if so... are there docs or samples on this? 
how 
 to add an array child of an array element?
 
 Thanks
 
 
 --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote:
 
  You have to build up the dataprovider and pass it into the 
tree.  
 If you
  change the dataprovider later, the tree will notice in most 
cases.
  
  
  
  From: flexcoders@yahoogroups.com 
 [mailto:[EMAIL PROTECTED] On
  Behalf Of Sal
  Sent: Tuesday, April 03, 2007 5:38 PM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Tree and Array
  
  
  
  hi,
  i have an array of records received from an amfphp call and i 
need 
  to fill a tree control with that data. 
  
  the array has this format:
  
  aArr[0].id
  aArr[0].description
  aArr[0].parent
  aArr[0].order
  
  aArr[1].id
  aArr[1].description
  aArr[1].parent
  aArr[1].order
  
  ... and so on
  
  i didn't find any method of the control that adds node or that 
sets 
  node parent. 
  
  Any ideas?
  
  Thanks.
 





[flexcoders] User Interface Design studies

2007-04-04 Thread mapper2255
Good Morning,

Just did a search on archives for user interfaces in order to come 
up with a discussion on which built in component (Tree vs. Tabs etc)
clients and users prefer. When they prefer them (type of site), why 
they prefer them (users), ease of use, position on page and those 
components that work best in combination with other components (try 
not to use this component with that component).

The search brought up 200+ but off target.

Does anyone have any links that can be of help. Prefer from sources 
that can be relied on (Pew Studies/non-profits something cliets will 
look at with comfort?) but will take any info.

Thanks.



[flexcoders] Cairngorm event

2007-04-03 Thread mapper2255
Good Afternoon,

I know this has been asked before, I see 51 threads on tree events 
cairngorm yet none seem to take the last step.

From this thread: 
http://tech.groups.yahoo.com/group/flexcoders/message/51927 I 
created a tree and have successfully passed the events. I do not 
need at this time to add nodes, just that this code seemed like a 
good basis to start.

I know from the documents/ProductDetails.mxml that I should be 
looking to pass an event such as this:

public function addProductToShoppingCart () : void
{
  var event : UpdateShoppingCartEvent =
  new UpdateShoppingCartEvent(
  
UpdateShoppingCartEvent.EVENT_ADD_PRODUCT_TO_SHOPPING_CART );
  
event.product = selectedItem;
event.quantity = numericStepperComp.value;

CairngormEventDispatcher.getInstance
().dispatchEvent( event );
}   

which can then be used like this:

mx:Button
label=Add to Cart
click=addProductToShoppingCart(); /

Yet with the tree component having it's own event 
(change=treeChanged(event)) how does one grab the change event to 
dispatch a CairngormEventDispatcher?

Any help would be appreciated.

Thanks.



[flexcoders] build.xml/eclipse

2007-02-27 Thread mapper2255
Afternoon,

I have successfully comiled my build from a Windows XP command line 
using Patrick M.'s setup: 
http://www.howtoforge.com/amfphp_adobe_flex2_sdk. Once I had it 
running on the command line (the main.swf is compiled) I imported 
the entire app into a simple project in Eclipse 3.12. 

I ran the build.xml as an ant build. It could not find the flexTask 
with this: taskdef resource=flexTasks.tasks/ so I went over to 
http://labs.adobe.com/wiki/index.php/Flex_Ant_Tasks and copied the 
flexTasks.jar into project lib folder and swapped out the taskdef to 
this: taskdef resource=flexTasks.tasks 

classpath=${basedir}/lib/flexTasks.jar / 
  property name=FLEX_HOME location=${basedir}/flex_sdk 

/ 

that took care of the error in Eclipse now it build successfully but 
I do not get these to run:

target name=prepare
   mkdir dir=${build.home}/${app.name}/
   copy todir=${build.home}/${app.name}
  fileset dir=${src.home}/php/
  fileset dir=${web.home}/
   /copy
/target 
target name=compile depends=prepare
   mxmlc 
  file=${src.home}/flex/Main.mxml 
  output=${build.home}/${app.name}/Main.swf
  actionscript-file-encoding=UTF-8
  context-root=${app.name}
  services=${config.home}/flex/services-config.xml

After all that a short question: If everything is working on the 
command line and I am not getting any errors on the console what do 
I need to check in Eclipse to get my build to complete all tasks?

Thanks cause I am really held up.



[flexcoders] Update: build.xml/eclipse

2007-02-27 Thread mapper2255
Went through Eclipse help files for a second time...well written.

Was able to go to Outline view and find targets, right click (one at 
a time) and they ran fine.

Have not found out yet why complete build does not run but targets 
do individually.

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

 Afternoon,
 
 I have successfully comiled my build from a Windows XP command 
line 
 using Patrick M.'s setup: 
 http://www.howtoforge.com/amfphp_adobe_flex2_sdk. Once I had it 
 running on the command line (the main.swf is compiled) I imported 
 the entire app into a simple project in Eclipse 3.12. 
 
 I ran the build.xml as an ant build. It could not find the 
flexTask 
 with this: taskdef resource=flexTasks.tasks/ so I went over to 
 http://labs.adobe.com/wiki/index.php/Flex_Ant_Tasks and copied the 
 flexTasks.jar into project lib folder and swapped out the taskdef 
to 
 this: taskdef resource=flexTasks.tasks 
 
 classpath=${basedir}/lib/flexTasks.jar / 
   property name=FLEX_HOME location=${basedir}/flex_sdk 
 
 / 
 
 that took care of the error in Eclipse now it build successfully 
but 
 I do not get these to run:
 
 target name=prepare
mkdir dir=${build.home}/${app.name}/
copy todir=${build.home}/${app.name}
   fileset dir=${src.home}/php/
   fileset dir=${web.home}/
/copy
 /target 
 target name=compile depends=prepare
mxmlc 
   file=${src.home}/flex/Main.mxml 
   output=${build.home}/${app.name}/Main.swf
   actionscript-file-encoding=UTF-8
   context-root=${app.name}
   services=${config.home}/flex/services-config.xml
 
 After all that a short question: If everything is working on the 
 command line and I am not getting any errors on the console what 
do 
 I need to check in Eclipse to get my build to complete all tasks?
 
 Thanks cause I am really held up.





[flexcoders] flex sdk

2007-02-23 Thread mapper2255
Good Morning,

I have just downloaded and installed the Flex SDK 2 into Eclipse 3.1. 
We I start Eclipse I get the Flex Builder Activation box asking for my 
serial number?

I had the trial loaded at one time but it has been uninstalled can 
someone tell me why I should be asked for a serial number?

Thanks.



[flexcoders] Re: flex sdk

2007-02-23 Thread mapper2255
Thank you for your reply. I have downloaded a second zip of the sdk 
both about 28 meg. I am attempting to get the mxml editor to see the 
mxml files. Is there a good set of instructions for any ant task 
that may need to be set up? 



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

 The free SDK is a set of classes and command-line tools. Flex 
Builder
 can be used as an Eclipse plugin - but this is not free. I think 
you may
 have downloaded Flex Builder in addition to the SDK
  
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of mapper2255
 Sent: 23 February 2007 16:31
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] flex sdk
  
 Good Morning,
 
 I have just downloaded and installed the Flex SDK 2 into Eclipse 
3.1. 
 We I start Eclipse I get the Flex Builder Activation box asking 
for my 
 serial number?
 
 I had the trial loaded at one time but it has been uninstalled can 
 someone tell me why I should be asked for a serial number?
 
 Thanks.





[flexcoders] Re: flex sdk

2007-02-23 Thread mapper2255
Does Adobe have a link where you can input your licenses for Flash 
5, Flash MX and Flash 2004 Pro and then they send you to a page with 
decent install instructions for troubleShooting the sdk?

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

 The free SDK is a set of classes and command-line tools. Flex 
Builder
 can be used as an Eclipse plugin - but this is not free. I think 
you may
 have downloaded Flex Builder in addition to the SDK
  
 -Original Message-
 From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
 Behalf Of mapper2255
 Sent: 23 February 2007 16:31
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] flex sdk
  
 Good Morning,
 
 I have just downloaded and installed the Flex SDK 2 into Eclipse 
3.1. 
 We I start Eclipse I get the Flex Builder Activation box asking 
for my 
 serial number?
 
 I had the trial loaded at one time but it has been uninstalled can 
 someone tell me why I should be asked for a serial number?
 
 Thanks.





[flexcoders] Cairngorm Display List

2007-02-22 Thread mapper2255
Good Morning,

I have created a new View in Cairngorm 2.1. It will be the default 
View. 

Is there some sample code around when trying to use the display list 
in a HBox? I know components are used to display in and the display 
list is used to display on. I need to load a swf on the display list 
in the HBox/other component, in the default View.

I will need to use the swf as user gesture to load more data from 
remoteObject on a mouseDown.

ANY help/direction/link would be very much appreciated.

Thanks



[flexcoders] Cairngorm 2.1 AMFPHP 1.9

2007-01-31 Thread mapper2255
Hello,

Have been trying all day to get CairngromStore running and keep 
getting this error: theMessagingError message='Unknown 
destination 'AMFPHP1_9'.' Using xampp/php 5.

Have searched a long time for the answer with no help. Ran across 
this thread: http://www.mail-
archive.com/flexcoders@yahoogroups.com/msg49480.html.

So I am using: ?xml version=1.0 encoding=UTF-8?
services-config
services
service id=amfphp-flashremoting-service
 class=flex.messaging.services.RemotingService
 
messageTypes=flex.messaging.messages.RemotingMessage
destination id=AMFPHP1_9
channels
channel ref=my-amfphp19/
/channels
properties
source*/source
/properties
/destination
/service
/services

channels
channel-definition id=my-amfphp19 
class=mx.messaging.channels.AMFChannel
endpoint uri=http://localhost/amfphp1_9/gateway.php; 
class=flex.messaging.endpoints.AMFEndpoint/
/channel-definition
/channels
/services-config

Have set up and have running amfphp 1.9. 

Any suggestions? I know it is something simple.

Thanks.





[flexcoders] Re: Cairngorm 2.1 AMFPHP 1.9

2007-01-31 Thread mapper2255
--- In flexcoders@yahoogroups.com, ericbichara [EMAIL PROTECTED] 
wrote:

 Hi, your config script looks fine to me, give us an example of your
 service.mxlm file, maybe youre calling the service inccorectly? 
Here
 is an example of mine:
 
 ?xml version=1.0 encoding=utf-8?
 cairngorm:ServiceLocator 
   xmlns:mx=http://www.adobe.com/2006/mxml;   
   xmlns:cairngorm=com.adobe.cairngorm.business.*

   mx:RemoteObject id=LoginService 
   destination=amfphp 
   source=Login
   showBusyCursor=true/ 
 
 /cairngorm:ServiceLocator
 
 and script:
 
 ?xml version=1.0 encoding=UTF-8?
 services-config
 services
 service id=amfphp-flashremoting-service
  class=flex.messaging.services.RemotingService
  
messageTypes=flex.messaging.messages.RemotingMessage
 destination id=amfphp
 channels
 channel ref=my-amfphp/
 /channels
 properties
 source*/source
 /properties
 /destination
 /service
 /services
 
 channels
 channel-definition id=my-amfphp
 class=mx.messaging.channels.AMFChannel
 endpoint uri=http://localhost/amfphp/gateway.php;
 class=flex.messaging.endpoints.AMFEndpoint/
 /channel-definition
 /channels
 /services-config
 
 --- In flexcoders@yahoogroups.com, mapper2255 mapper2255@ 
wrote:
 
  Hello,
  
  Have been trying all day to get CairngromStore running and keep 
  getting this error: theMessagingError message='Unknown 
  destination 'AMFPHP1_9'.' Using xampp/php 5.
  
  Have searched a long time for the answer with no help. Ran 
across 
  this thread: http://www.mail-
  archive.com/flexcoders@yahoogroups.com/msg49480.html.
  
  So I am using: ?xml version=1.0 encoding=UTF-8?
  services-config
  services
  service id=amfphp-flashremoting-service
   class=flex.messaging.services.RemotingService
   
  messageTypes=flex.messaging.messages.RemotingMessage
  destination id=AMFPHP1_9
  channels
  channel ref=my-amfphp19/
  /channels
  properties
  source*/source
  /properties
  /destination
  /service
  /services
  
  channels
  channel-definition id=my-amfphp19 
  class=mx.messaging.channels.AMFChannel
  endpoint 
uri=http://localhost/amfphp1_9/gateway.php; 
  class=flex.messaging.endpoints.AMFEndpoint/
  /channel-definition
  /channels
  /services-config
  
  Have set up and have running amfphp 1.9. 
  
  Any suggestions? I know it is something simple.
  
  Thanks.
 


This the main.mxml. Just trying to duplicate work so I have less to 
concern myself with as I get this up for the first time:

?xml version=1.0 encoding=utf-8?
!--
Copyright 2006 Renaun Erickson (http://renaun.com)

Add this to the compiler arguments list:
-services amfphp19-services-config.xml



--
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; 
layout=vertical
creationComplete=doLogin() viewSourceURL=amfphp1_9

!-- mx:RemoteObject id=myservice 
source=tutorials.PersonService destination=amfphp 
fault=faultHandler(event) showBusyCursor=true
mx:method name=getList result=getListHandler(event) 
fault=faultHandler(event) /
/mx:RemoteObject --

mx:RemoteObject 
id=roTestService 
destination=amfphp1_9
source=amfphp1_9ServiceClases.MyTestService
result=Alert.show( event.result 
+ '', 'Result' )
fault=Alert.show( 
event.fault.faultString , 'Error' )
   mx:method name=testMethod /
/mx:RemoteObject 

mx:Script
![CDATA[
import mx.controls.Alert;

private function doLogin():void
{
roTestService.testMethod( test, test );

}
]]
/mx:Script

mx:Button label=Create Fault click=roTestService.noMethod
() /

/mx:Application

The thread I posted earlier has services-config.xml calling amfphp19-
services-config.xml so I again am trying to go along. The services-
config.xml is:

?xml version=1.0 encoding=UTF-8?
services-config
 services

service-include file-path=c:\amfphp_cairngorm\amfphp19-
services-config.xml /

/services
/services-config

I added the absolute path because of advise from others who had 
similiar problem: 
http://www.5etdemi.com/blog/archives/2006/12/amfphp-19-beta-get-it-
now/

Thanks for any help Eric.




[flexcoders] Eclipse compiler not seeing packages

2007-01-09 Thread mapper2255

Good Morning group,

My first post, went googling/through archives without success. 
Running trial Flex 2 Builder(2.0.143) on xp pro. Can get the 
compiler to see errors when AS3 project file is set as default. But 
cannot get the compiler to see errors in other as3 files in same 
project. This is true whether I but them (*.as) in a package and do 
import statement or leave them in root of project.

Line numbers for .as files are dropping out from time to time even 
though they are selected in Preferences and there is only one 
perspective?

Cannot get trace to output anything even though I have the 9.0.28 
debugger for windows showing up from FlexCapilbilities.mxml file I 
am running.

I believe this was all happening with Flex projects also but have 
large as3 project to iron out before I get back to Flex.

Can anyone tell me why compiler is seeing errrors on default 
application file but not in packages? Why trace is not showing up 
even though debugger is installed? Why line numbers are dropping out?

Thanks in advanced,

mapper2255