Re: [flexcoders] Re: filtering an array collection using 2 or 3 textinputs

2013-03-05 Thread Andrew Wetmore
I did a quick Google search on array collection multiple filters and came
up with several tutorials with examples. Here is one:
http://nwebb.co.uk/blog/?p=371


On Tue, Mar 5, 2013 at 12:21 AM, ZIONIST stinas...@yahoo.com wrote:

 **


 any help guys? am really stuck.

  




-- 
Andrew Wetmore

http://cottage14.blogspot.com/
http://portfolio.cottage14.com
https://sites.google.com/site/mvplaywrights/home
http://livefrom-studioa.com


Re: [flexcoders] Re: filtering an array collection using 2 or 3 textinputs

2013-03-04 Thread Andrew Wetmore
Wouldn't you have have two or three nested filtering functions? That is,
apply the first input's text in the first filter function to AC and add the
results to the AC1. Then apply the second input's text in the second filter
function that applies to AC1 and add them to AC2, and so on. A little bit
of a pain to build, but it should work without any noticeable delays.

a


On Mon, Mar 4, 2013 at 8:17 AM, ZIONIST stinas...@yahoo.com wrote:

 **


 any help out there... am stuck.

  




-- 
Andrew Wetmore

http://cottage14.blogspot.com/
http://portfolio.cottage14.com
https://sites.google.com/site/mvplaywrights/home
http://livefrom-studioa.com


[flexcoders] Re: Capturing ENTER key in a Numeric Stepper

2010-07-11 Thread Andrew
I would probably have an event handler to deal with ALL keystrokes, and within 
that have a switch statement. One case of the switch statement would be

case '13':
var searchValue:int = myNumericStepper.value;
doTheSearch(searchValue);
break;


So when the enter key click is captured, the code goes and looks at the number 
stepper and sends whatever its current value is to the search function.


a

--- In flexcoders@yahoogroups.com, Nick Middleweek n...@... wrote:

 Hi Andrew.
 
 Can you trap the ENTER (keyCode = 13) on a Numeric Stepper? I've been failing 
 to do this... :(
 
 When a user presses the ENTER key, I want to perform an operation, such as a 
 search... So I'm thinking I need to somehow trap the ENTER key and dispatch a 
 custom event.





[flexcoders] Re: Capturing ENTER key in a Numeric Stepper

2010-07-10 Thread Andrew
In my applications I use the change event to fire events( like 
change='doThisThing()'). Seems to work for the number stepper just fine.

--- In flexcoders@yahoogroups.com, Nick Middleweek n...@... wrote:

 Hello,
 
 I've got a form with a few fields on, one being a numeric stepper. On the 
 TextInput, I can test the enter key being pressed using the enter event but 
 there doesn't appear to be an equivalent for the numericstepper...




[flexcoders] Re: getting added values out of a combobox

2010-07-02 Thread Andrew
Okay, I have found a discussion of this. Getting the value seems to hinge on 
checking:

spark.components.ComboBox.CUSTOM_SELECTED_ITEM. The added item has a nominal 
index value of -3, I guess until it is added to the data provider.

--- In flexcoders@yahoogroups.com, Andrew cottag...@... wrote:

 Hi:
 My form has a number of fields, and I use the Change event to trigger event 
 handlers to see whether enough fields have been populated that I should 
 enable the Submit button.
 
 I am using a combobox for one of the fields, so users can type in a value if 
 I have not included it in the list. However, how do I get a typed-in value 
 back out again? When the user types in a value rather than selecting an 
 existing one, the change handler does not recognize that the combobox's 
 selectedIndex is  -1, and there does not seem to be a label field I can 
 check (if != null  != ''). The example in Tour de Flex is not illuminating, 
 for it only shows adding a value to a combo box, not doing anything with the 
 value afterwards.
 
 Thanks in advance for your help.
 
 Andrew





[flexcoders] changing view state in an item renderer

2010-07-02 Thread Andrew
Hiya:
My current project is a turn builder for a role playing game. Each turn has 30 
actions, and each action may have up to 6 entry fields, which may be dropdown 
menus, number spinners, text fields and like that. The actions are in a list, 
rendered by a complex itemRenderer. 

There are about 80 combinations of itemRenderer controls that I am managing by 
view states, and that part is going very well.

Where I am puzzled is this: how do I talk to the list's itemRenderers from 
parentApplication? When the turn has been assembled and submitted, I want all 
30 itemRenderers to switch back to the basic viewState. I tried something like 
this:

for (var i:int = 0; i  30; i++){
 theList[i].itemRenderer.currentState = 'action';

}

but the system does not like it.

Any ideas how the parent application can change viewState in a list's item 
renderer?

Thanks.

a



[flexcoders] getting added values out of a combobox

2010-07-01 Thread Andrew
Hi:
My form has a number of fields, and I use the Change event to trigger event 
handlers to see whether enough fields have been populated that I should enable 
the Submit button.

I am using a combobox for one of the fields, so users can type in a value if I 
have not included it in the list. However, how do I get a typed-in value back 
out again? When the user types in a value rather than selecting an existing 
one, the change handler does not recognize that the combobox's selectedIndex is 
 -1, and there does not seem to be a label field I can check (if != null  != 
''). The example in Tour de Flex is not illuminating, for it only shows adding 
a value to a combo box, not doing anything with the value afterwards.

Thanks in advance for your help.

Andrew



[flexcoders] Re: Setting preferences on the browser in the release folder

2010-06-04 Thread Andrew
I don't know how to override the settings, but I'll tell you what I do to 
handle this. After I have compiled the release build for the first time, I do a 
save-as on the html file that was created. I save the copy as index.html, since 
that is what I typically use (it simplifies the url, as you probably know: if I 
put an index.html file in a folder 'bla' at the sight 'boo.com', its url is 
simply 'boo.com/bla' [unless someone has changed the server settings]).

Then I adjust the index.html file, giving it the title I want and resizing the 
flash movie if I need to, adding metadata and so on, and save it. That's the 
file I post to wherever I am putting the project, along with the other 
generated files in the bin/release folder.

When you do another 'export release build', FlashBuilder ignores index.html, so 
you don't have a problem with it being overwritten. 

I hope that helps.

Andrew

--- In flexcoders@yahoogroups.com, Quintjer quintj...@... wrote:

 Hello All,
   I am trying to set up my browser in the bin-debug folder to scroll 
 properly when I set a specific width and height to my swf file but Flex will 
 overwrite it every time with defaults setting.  I am then forced to export 
 the swf file to Dreamweaver so that I can configure my HTML page.
 Does anyone know how to stop Flex from overwriting the HTML every time I run 
 the app within Flexbuilder?
 
 Thanks in advance!





[flexcoders] Re: Showing the hand icon over an image that links somewhere

2010-05-14 Thread Andrew
Each image object has a Boolean value useHandCursor. You can set it to true 
right in the properties panel for the image, or set it dynamically as needed.

--- In flexcoders@yahoogroups.com, Wally Kolcz wko...@... wrote:

 I have 3 little icons on a site I am developing (as well as the logo) 
 that when clicked either move the views on the site or send you to 
 another site (Twitter, Facebook, etc). Is there a way to show the hand 
 (clickable icon) without having to manually change the cursor?





[flexcoders] Large number of view states

2010-04-27 Thread Andrew
I am building a complex form, where what you choose in the first dropdown menu 
determines whether the next control is a text field, number picker, or menu; 
and the choice there governs the type and options of the third control; and so 
on to a maximum of six input controls in a single row. The full form has thirty 
rows.

I want to manage the appearance of the controls through states, as that seems 
to give me the simplest development path. Each row will be a component with a 
ton of view states. So here's my question: is there a recommended maximum 
number of states for a single component?

Thanks in advance.

Andrew



Re: [flexcoders] BlazeDZ messaging works good in FF and IE, but don't in the Opera

2009-12-21 Thread Andrew Voronin

Any ideas ?
-- 
View this message in context: 
http://old.nabble.com/BlazeDZ-messaging-works-good-in-FF-and-IE%2C-but-don%27t-in-the-Opera-tp26680163p26865730.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] BlazeDZ messaging works good in FF and IE, but don't in the Opera

2009-12-08 Thread Andrew Voronin

Hi all. I set up some messaging service with BlazeDS messaging, and my swf
works good in FF, IE, Chrome as well as in standalone player, but fails with
Opera:-(. I use streaming-amf channel, and here my service-config.xml :

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

services
service-include file-path=remoting-config.xml /
service-include file-path=proxy-config.xml /
service-include file-path=messaging-config.xml /
/services

!-- мой ip: 10.0.19.59 --

security
login-command 
class=flex.messaging.security.TomcatLoginCommand
server=Tomcat /

/security

channels

channel-definition id=my-streaming-amf
class=mx.messaging.channels.StreamingAMFChannel
endpoint 
url=http://10.0.19.59:8080/publish/messagebroker/amfstreaming;

class=flex.messaging.endpoints.StreamingAMFEndpoint /

properties

connect-timeout-seconds5/connect-timeout-seconds

max-streaming-clients100/max-streaming-clients
idle-timeout-minutes0/idle-timeout-minutes
server-to-client-heartbeat-millis5000
/server-to-client-heartbeat-millis



/properties

/channel-definition

channel-definition id=my-amf
class=mx.messaging.channels.AMFChannel
endpoint 
url=http://10.0.19.59:8080/publish/messagebroker/amf;
class=flex.messaging.endpoints.AMFEndpoint /
/channel-definition

channel-definition id=my-secure-amf
class=mx.messaging.channels.SecureAMFChannel
endpoint 
url=https://10.0.19.59:8080/publish/messagebroker/amfsecure;

class=flex.messaging.endpoints.SecureAMFEndpoint /
properties

add-no-cache-headersfalse/add-no-cache-headers
/properties
/channel-definition

channel-definition id=my-polling-amf
class=mx.messaging.channels.AMFChannel
endpoint 
url=http://10.0.19.59:8080/publish/messagebroker/amfpolling;
class=flex.messaging.endpoints.AMFEndpoint /
properties
polling-enabledtrue/polling-enabled

polling-interval-seconds4/polling-interval-seconds
/properties
/channel-definition


/channels

logging
target class=flex.messaging.log.ConsoleTarget level=Error
properties
prefix[BlazeDS] /prefix
includeDatefalse/includeDate
includeTimefalse/includeTime
includeLevelfalse/includeLevel
includeCategoryfalse/includeCategory
/properties
filters
patternEndpoint.*/pattern
patternService.*/pattern
patternConfiguration/pattern
/filters
/target
/logging

system
redeploy
enabledfalse/enabled

/redeploy
/system

/services-config



May be problem with Opera's settings or I do something wrong with my BlazeDS
settings?

Andrew.

Thx.
-- 
View this message in context: 
http://old.nabble.com/BlazeDZ-messaging-works-good-in-FF-and-IE%2C-but-don%27t-in-the-Opera-tp26680163p26680163.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Change in Behavior of NetStream in AIR 2 (GET to POST)

2009-11-26 Thread Andrew Phillips
I was all excited about the release of AIR 2 beta yesterday, with the new
socket support and improved h.264 encoding I was looking forward to
upgrading some applications . So I went and upgraded one of my larger
applications to AIR 2 to start the porting process since it would benefit
the most. Everything went well till I tried to play video from a UPNP
source, I was getting StreamNotFound errors. After a few hours of debugging
and reading the Beta documentation I tracked down the issue, there was a
change in behavior in how a request for videos over HTTP occurs from a GET
to a POST.

I wasn't sure what this came from (AIR 2b or Flash 10.1b) but wondered if
anyone else noticed this small but significant change. I guess my next step
will be creating a bug in JIRA, just wanted to put it out on the list.

Here's the rundown:
- Flex 3.4.1.10084 for both
- Air Versions: 1.5.2 vs 2.0B
- X-Flash-Versions: 10,0,32,18 vs 10,1,50,334


Smallest Reproducible Code:

protected function runTest() : void{
var metaListener : Object = new Object();
var netConn : NetConnection = new NetConnection();
netConn.connect(null);

// init the stream
var stream : NetStream = new NetStream(netConn);
stream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
metaListener.onMetaData = theMeta;
stream.client = metaListener;
stream.play( PUT SOME VIDEO URL HERE );
}

protected function netStatusHandler( event : NetStatusEvent) : void{
trace(netStatusHandler:  + event.type +   + event.info.code);
}

protected function theMeta(data:Object):void {
trace(Duration:  + data.duration +  Position:  + data.moovposition);
}

Example request from Apache Log:

---  FROM 1.5.2
ipremoved - - [18/Nov/2009:10:36:27 -0500] GET /mp4/shaun.mp4 HTTP/1.1
200 46272134
---  FROM 2.0B
ipremoved - - [18/Nov/2009:10:35:10 -0500] POST /mp4/shaun.mp4 HTTP/1.1
200 46272134

Example request from Twonky Media Server Log:

---  FROM 1.5.2
11:12:46:043 LOG_HTTP:HTTP_send_receive GET
/disk/video/O0$3$24I49/Robots.m4v HTTP/1.1
Host: 127.0.0.1:9000
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en)
AppleWebKit/526.9+ (KHTML, like Gecko) AdobeAIR/1.5.2
Referer: app:/VideoBreakAIR.swf
X-Flash-Version: 10,0,32,18
Accept: */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
Connection: keep-alive

---  FROM 2.0B
11:14:24:458 LOG_HTTP:HTTP_send_receive POST
/disk/video/O0$3$24I49/Robots.m4v HTTP/1.1
Host: 127.0.0.1:9000
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en) AppleWebKit/531.9
(KHTML, like Gecko) AdobeAIR/2.0
Referer: app:/VideoBreakAIR2.swf
X-Flash-Version: 10,1,50,334
Accept: */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
Connection: keep-alive


[flexcoders] Re: Instant messaging example

2009-08-19 Thread Andrew
Ok cool thank you.

How do I go about defining one?

--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:

 Well, from that file, there is no channel defined as weborb-rtmp.
 
 
 --- In flexcoders@yahoogroups.com, Andrew roly445@ wrote:
 
  Hi valdhor, thanks for any help you can give me.
  
  From the custom site:
  'services-config.xml'
  ?xml version=1.0 encoding=UTF-8?
  services-config
  
  services
  service-include file-path=remoting-config.xml /
  service-include file-path=data-management-config.xml /
  /services
  
  channels
  channel-definition id=my-amf 
  class=mx.messaging.channels.AMFChannel
  endpoint uri=weborb.aspx 
  class=flex.messaging.endpoints.AMFEndpoint/
  properties
  polling-enabledfalse/polling-enabled
  /properties
  /channel-definition
  
  channel-definition id=amf-sessionactivation 
  class=mx.messaging.channels.AMFChannel
  endpoint uri=weborb.aspx?activate=session 
  class=flex.messaging.endpoints.AMFEndpoint/
  properties
  polling-enabledfalse/polling-enabled
  /properties
  /channel-definition
  
  channel-definition id=amf-singletonactivation 
  class=mx.messaging.channels.AMFChannel
  endpoint uri=weborb.aspx?activate=application 
  class=flex.messaging.endpoints.AMFEndpoint/
  properties
  polling-enabledfalse/polling-enabled
  /properties
  /channel-definition
  
  channel-definition id=my-secure-amf 
  class=mx.messaging.channels.SecureAMFChannel
  endpoint uri=weborb.aspx 
  class=flex.messaging.endpoints.SecureAMFEndpoint/
  /channel-definition
  
  channel-definition id=air-http 
  class=mx.messaging.channels.AMFChannel
  endpoint uri=http://localhost:80/weborb30/weborb.aspx; 
  class=flex.messaging.endpoints.AMFEndpoint/
properties
   polling-enabledfalse/polling-enabled
/properties
  /channel-definition
  /channels
  /services-config
  'remoting-config.xml'
  ?xml version=1.0 encoding=UTF-8?
  service id=remoting-service
  class=Weborb.V3Types.Core.RemotingHandler
  messageTypes=flex.messaging.messages.RemotingMessage
  
  adapters /
  
  default-channels
  channel ref=my-amf/
  channel ref=my-secure-amf/
  /default-channels
  
  destination id=computerinfo
  properties
  sourceGettingStarted.Examples.ComputerInfoService/source
  /properties
  /destination
  
  destination id=autoupdater
  properties
  sourceWeborb.Service.AutoUpdater/source
  /properties
  /destination
  
  destination id=ApplicationManager
  properties
  sourceFlexStore.ApplicationManager.ProductFetcher/source
  /properties
  /destination  
  
  destination id=WeborbSecurity
  properties
  sourceWeborb.Management.SecurityService/source
  /properties
  /destination   
  
  destination id=WeborbManagement
  properties
  sourceWeborb.Management.ManagementService/source
  /properties
  /destination  
  
  destination id=WeborbConfiguration
  properties
  sourceWeborb.Management.ConfigurationService/source
  /properties
  /destination  
  
  destination id=SecureTest
  properties
  sourceWeborb.Examples.InvocationTests.SecureTest/source
  /properties
  security
security-constraint
  auth-methodCustom/auth-method
roles
  roleadministrator/role
/roles
/security-constraint
  /security
  /destination  
  
  destination id=AccountBalanceDestination
  properties
  sourceWeborb.Examples.AccountBalance/source
  /properties
  security
security-constraint
  auth-methodCustom/auth-method
roles
  roleexamplesuser/role
/roles
/security-constraint
  /security
  /destination  
  
  destination id=WDMFCodeGen
  properties
  
  sourceWeborb.Management.DataManagement.Codegen.AppHandler/source
  /properties
  /destination 
  
  destination id=GenericDestination
  properties
  source*/source
  /properties
  /destination   
  
  destination id=BusinessIntelligenceDestination
  properties
  sourceWeborb.Management.RBIManagementService/source
  /properties
  /destination
  
  destination channels=amf-sessionactivation 
  id=SessionGenericDestination

[flexcoders] Re: Instant messaging example

2009-08-19 Thread Andrew
Thanks valdhor.

I have double checked but I am already referencing 'weborb-services-config.xml' 
and i and still having the same issue.


--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:

 It looks like you are referencing services-config.xml instead of 
 weborb-services-config.xml in your compilere settings. weborb-rtmp should be 
 defined in that file.
 
 --- In flexcoders@yahoogroups.com, Andrew roly445@ wrote:
 
  Ok cool thank you.
  
  How do I go about defining one?
  
  --- In flexcoders@yahoogroups.com, valdhor valdhorlists@ wrote:
  
   Well, from that file, there is no channel defined as weborb-rtmp.
   
  





[flexcoders] Instant messaging example

2009-08-18 Thread Andrew
Hi all,

I am hoping for some help on this one as it has me beat.

I have been looking around this group trying to find an answer but everything I 
try fails.

This site is running on localhost in IIS7 on Windows 7 using a Website from a 
Visual Studio template.  The site is running with the classic pipeline.

I have changed the services to point at 'weborb-services-config.xml' and not 
'services-config.xml' and I have change the compiler to look at webord30 dir 
instead of the one in the create website.

I have posted the flex error below.

Any help would be appreciated.

Thanks


[MessagingError message='Channel 'weborb-rtmp' does not exist in the 
configuration.']
at 
mx.messaging.config::ServerConfig$/createChannel()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\messaging\config\ServerConfig.as:486]
at 
mx.messaging.config::ServerConfig$/getChannel()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\messaging\config\ServerConfig.as:222]
at Chat/establishConnection()[C:\Users\Andrew\Documents\Flex Builder 
3\Chat\src\Chat.mxml:15]
at 
Chat/___Chat_Application1_creationComplete()[C:\Users\Andrew\Documents\Flex 
Builder 3\Chat\src\Chat.mxml:2]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at 
mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9298]
at mx.core::UIComponent/set 
initialized()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:1169]
at 
mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:718]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at 
mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8628]
at 
mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8568]



[flexcoders] Re: Instant messaging example

2009-08-18 Thread Andrew
.
 
 
 --- In flexcoders@yahoogroups.com, Andrew roly445@ wrote:
 
  Hi all,
  
  I am hoping for some help on this one as it has me beat.
  
  I have been looking around this group trying to find an answer but 
  everything I try fails.
  
  This site is running on localhost in IIS7 on Windows 7 using a Website from 
  a Visual Studio template.  The site is running with the classic pipeline.
  
  I have changed the services to point at 'weborb-services-config.xml' and 
  not 'services-config.xml' and I have change the compiler to look at 
  webord30 dir instead of the one in the create website.
  
  I have posted the flex error below.
  
  Any help would be appreciated.
  
  Thanks
  
  
  [MessagingError message='Channel 'weborb-rtmp' does not exist in the 
  configuration.']
  at 
  mx.messaging.config::ServerConfig$/createChannel()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\messaging\config\ServerConfig.as:486]
  at 
  mx.messaging.config::ServerConfig$/getChannel()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\messaging\config\ServerConfig.as:222]
  at Chat/establishConnection()[C:\Users\Andrew\Documents\Flex Builder 
  3\Chat\src\Chat.mxml:15]
  at 
  Chat/___Chat_Application1_creationComplete()[C:\Users\Andrew\Documents\Flex 
  Builder 3\Chat\src\Chat.mxml:2]
  at flash.events::EventDispatcher/dispatchEventFunction()
  at flash.events::EventDispatcher/dispatchEvent()
  at 
  mx.core::UIComponent/dispatchEvent()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:9298]
  at mx.core::UIComponent/set 
  initialized()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:1169]
  at 
  mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\managers\LayoutManager.as:718]
  at Function/http://adobe.com/AS3/2006/builtin::apply()
  at 
  mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8628]
  at 
  mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projects\framework\src\mx\core\UIComponent.as:8568]
 





Re: [flexcoders] Messaging to only one consumer (me).

2009-08-05 Thread Andrew Voronin

Any thoughts?
-- 
View this message in context: 
http://www.nabble.com/Messaging-to-only-one-consumer-%28me%29.-tp24804180p24832498.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] Messaging to only one consumer (me).

2009-08-04 Thread Andrew Voronin

Hello.

How to do something like this:

1. I send to destination (subtopic) a message (may be with specific header
or selector) and this message will deliver only for my consumer (I need to
do some evaluation in my custom MessagingAdapter). It looks like simulation
of remote method invocation via messaging service.
2. But I want to remain ability to publish message to all subscribed
consumers in other cases.  

I have no ideas how to do this more effectively. It’s may done by 
combination of
Consomer/Consomers/Multiconsomer/Producer/Producers/Multiproducer with
subtopics, selectors or , may be some logic in custom MessagingAdapter, that
operates with uncial ID’s or may be the best choice to have additional RPC
destination with some sort of persistence (file, db or shared bean)  cause I
need to keep track from every connected client.

Any ideas?

-- 
View this message in context: 
http://www.nabble.com/Messaging-to-only-one-consumer-%28me%29.-tp24804180p24804180.html
Sent from the FlexCoders mailing list archive at Nabble.com.



[flexcoders] input of Chinese characters on OS X to a Flex application using pin1yin1

2009-07-30 Thread Andrew Ball
Good afternoon.

I've found that I'm unable to enter Traditional Chinese characters in a Flex
app with the pin1yin1 input method on OS X (10.50.7), Flash plugin 10.0 r22,
Firefox 3.0.12, and Safari 4.0.2.  The character selection area shows up at
the bottom of the web browser's view port instead of inside of the text
input widget that I'm trying to input text to, and nothing gets added to the
text input widget's text after I select a character.

You should be able to reproduce the problem at https://ccu.poweru.net/ in
the 'Participant Login' section.

Does anyone know what might be wrong?   Do I need to use some special
compiler options for CJK character support?  I'm using embedded fonts.

Peace,
Andrew

-- 
===
Andrew D. Ball
勃安
deus caritas est
http://www.ibiblio.org/adball/blog/


Re: [flexcoders] input of Chinese characters on OS X to a Flex application using pin1yin1

2009-07-30 Thread Andrew Ball
Yes, I have the exact same XML encoding and version declaration.  Those
examples also work for me.

I wonder if I need to use some sort of compile time option to include a
special locale or if my embedded fonts are the problems.  Accented European
characters (like ñÑáÁóóúÜ) seem to work fine.

On Thu, Jul 30, 2009 at 4:29 PM, Willy Ci will...@gmail.com wrote:



 not sure if it is your flex builder setting or something else,
 what is your encoding set to?
 something like this
 ?xml version=1.0 encoding=utf-8?

 it disable the Asian input selection on my mac.
 I try on this three flex apps, works fine.
 http://flexcode.org/RTL.swf

 http://blog.flexexamples.com/2009/07/24/creating-a-simple-text-editor-using-the-spark-textarea-control-in-flex-4/
 http://examples.adobe.com/flex3/componentexplorer/explorer.html   --》 text
 controls -- textinput

 so I guess something went wrong during compile.

 Willy
 617-606-3437
 --
 6 X 9 = 42
 http://www.wolframalpha.com/input/?i=meaning+of+life
 --



 On Thu, Jul 30, 2009 at 2:45 PM, Andrew Ball anb...@gmail.com wrote:



 Good afternoon.

 I've found that I'm unable to enter Traditional Chinese characters in a
 Flex app with the pin1yin1 input method on OS X (10.50.7), Flash plugin 10.0
 r22,
 Firefox 3.0.12, and Safari 4.0.2.  The character selection area shows up
 at the bottom of the web browser's view port instead of inside of the text
 input widget that I'm trying to input text to, and nothing gets added to the
 text input widget's text after I select a character.

 You should be able to reproduce the problem at https://ccu.poweru.net/ in
 the 'Participant Login' section.

 Does anyone know what might be wrong?   Do I need to use some special
 compiler options for CJK character support?  I'm using embedded fonts.

 Peace,
 Andrew

 --
 ===
 Andrew D. Ball
 勃安
 deus caritas est
 http://www.ibiblio.org/adball/blog/


  




-- 
===
Andrew D. Ball
勃安
deus caritas est
http://www.ibiblio.org/adball/blog/


Re: [flexcoders] Re: how to cleanly reduce the height of a TitleWindow's title bar

2009-07-29 Thread Andrew Ball
That's exactly what I was looking for!  Thanks!

Andrew

On Tue, Jul 28, 2009 at 8:05 PM, Tim Hoff timh...@aol.com wrote:



 Hi Andrew,

 Have you tried the headerHeight Style in CSS?

 TitleWindow
 {
  header-height: 20;
 }

 -TH


 --- In flexcoders@yahoogroups.com, Andrew Ball anb...@... wrote:
 
  I'm unhappy with how tall the title bars are by default for TitleWindows
 in
  my application. We have some (possibly modified) Panels with shorter
  titlebars. Does anyone know of a clean way to get the title bars of the
  TitleWindows to be a bit shorter without hard-coding any sizes? I'm
 looking
  for something like a CSS attribute I can use in the style I have
 designated
  for the title bar, which already selects the font, size, and color of the
  text in the title bar.
 
  Thanks for your help,
  Andrew
 
  --
  ===
  Andrew D. Ball
  勃安
  deus caritas est
  http://www.ibiblio.org/adball/blog/
 
  




-- 
===
Andrew D. Ball
勃安
deus caritas est
http://www.ibiblio.org/adball/blog/


[flexcoders] how to cleanly reduce the height of a TitleWindow's title bar

2009-07-28 Thread Andrew Ball
I'm unhappy with how tall the title bars are by default for TitleWindows in
my application.  We have some (possibly modified) Panels with shorter
titlebars.  Does anyone know of a clean way to get the title bars of the
TitleWindows to be a bit shorter without hard-coding any sizes?  I'm looking
for something like a CSS attribute I can use in the style I have designated
for the title bar, which already selects the font, size, and color of the
text in the title bar.

Thanks for your help,
Andrew

-- 
===
Andrew D. Ball
勃安
deus caritas est
http://www.ibiblio.org/adball/blog/


Re: [flexcoders] Slider dataTip- is it possibole to have this visibale all the time

2009-06-08 Thread Andrew D. Goodfellow
Does anyone have a good example of manually tool-tipping the thumb on
a Slider (like what Manish is referring to)?

-Andy

On Thu, Jun 4, 2009 at 2:15 PM, Manish Jethanimanish.jeth...@gmail.com wrote:


 On Wed, Jun 3, 2009 at 4:29 PM, jossminker jossmin...@yahoo.com wrote:
 I woudl like to have the datatip for my slider visible at all times, not
 just when the user is holding down the thumb.

 if this is not possible, then I would at least like the datatip to appear
 if the user moves the thumb using the arrow keys or by clicking on the track
 as the way it is at present means it will never be visible to user who are
 not using the mouse.

 I don't think there's any official way of doing this. You can of
 course set showDataTip to false and then go ahead and make your own
 data tip (use ToolTipManager to display it), which you show and hide
 in response to events from the slider.

 Manish
 


[flexcoders] Reading an UTF-8 document

2009-02-18 Thread Andrew
Please forgive me if the is a post about this already but i can't seem
to find it.

I am creating an AIR app to convert characters into their HTML entity,
hex and dec value and I have just come across an issue.  I am reading
in xml files which contain the data, these files are saved in a UTF-8
format.

When I open it using a Filestream it stops after the first 3
characters ÿþ.  I know that these characters are the start of a
unicode document, but I can't figure out why it is stopping reading
the file there.

Any help would be greatly appreciated.



[flexcoders] FlexCamp Miami Registration Open

2009-02-17 Thread Andrew Powell
The next Flex Camp event in Miami, Florida in the Hurricane100 Room at  
the BankUnited Center on the campus of the University of Miami on  
March 6th.  Registration is only $30 for a whole day of great Flex and  
AIR content.

http://www.flexcampmiami.com

http://www.flexcampmiami.com/page.cfm/register


[flexcoders] Alert message containing hyphen is broken

2009-02-04 Thread Andrew Westberg
When I create an alert message without a hypen in email, everything is fine.
 With the hyphen, my message gets truncated.  Any ideas on what's broken
with the Alert control?  See attached screenshots.
-Andrew
attachment: without_hyphen.pngattachment: with_hyphen.png

Re: [flexcoders] Local computer access - best practices/successes

2009-02-04 Thread Andrew Powell
Things like the Merapi project: http://www.merapiproject.net aim at  
tackling this issue.


ap


On Feb 4, 2009, at 2:29 PM, schneiderjim wrote:


We have a need to access resources on the local computer.
Specifically, devices connected to the serial/parallel/usb/...
interfaces. I was wondering how others have succeeded with this in a
flex/air environment.

I was hoping that AIR would make this possible, but it doesn't appear
so yet. Is this true? Would/could this be possible in the future?

Other options? Locally installed app sending data over sockets? I
think I remember seeing that flex/air could connect to such an app.

Signed activex/applet browser plug-ins?

Standard desktop app that sends data to server directly?

Just wondering how others have approached this.

Thanks







Re: [flexcoders] Re: Export data to Excel

2009-01-22 Thread Andrew Wetmore
I was able to download the swc and the documentation with no trouble.

On Thu, Jan 22, 2009 at 9:15 AM, ilikeflex ilikef...@yahoo.com wrote:

   None of the links works on this url
 http://code.google.com/p/as3xls/

 I am also interested in only client side solution

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
 valdhor valdhorli...@... wrote:
 
  Have you looked at http://code.google.com/p/as3xls/
 
 
 
  -- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Sefi
 Ninio sefi.ninio@ wrote:
  
   Come to think about it, what I really need is a way to put the
 data
  from a
   DG into a xlt (excel template file) at specific cells.
   That way I'll be able to keep the sheet formatting, and still be
 able to
   update the excel file dynamically with data.
  
   So, my question is this:
   Does anyone know of a way to inject DG data into specific cells
 of a xlt
   excel template file, and save locally as xls?
  
   Thanks,
   Sefi
  
   On Thu, Jan 22, 2009 at 11:26 AM, Sefi Ninio sefi.ninio@ wrote:
  
Hi all,
   
I'm looking for a way to export datagrid data into excel.
I found a few links on google that describe how to achieve this,
  but that
is not a complete solution for me.
   
I need it to be:
* On client side only (no server side code being run, no php
 etc.)
* To be able to format the xls cells (border, cell bg color,
  font type,
font color and size, etc.)
   
Any ideas, anyone?
   
Thanks,
Sefi
   
  
 

  




-- 
Andrew Wetmore
and...@cottage14.com
skype:cottage14


Re: [flexcoders] Re: Flex training

2008-12-10 Thread Andrew Wetmore
Depending on where you are, New Toronto Group near, um, Toronto is quite
good and also a certified training agency. www.newyyz.com.

On Wed, Dec 10, 2008 at 2:25 PM, sdpbooks [EMAIL PROTECTED] wrote:

   --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
 twcrone70 [EMAIL PROTECTED] wrote:
 
  We might be getting funding for Flex training early next year. What
  are some good training vendors that will come on-site for Adobe Flex
  training?
 
  Thanks
  - Todd
 

 Go with Farata Systems - practitioners plus Adobe certified trainers.

 SD

  




-- 
Andrew Wetmore


[flexcoders] FlexBuilder has forgotten my project's build history

2008-11-10 Thread Andrew Wetmore
We are about to move from alpha to beta of an AIR application. For the
last fifty builds, when I have selected Export Release Build in
FlexBuilder, the system has defaulted to the link to the certificate I
have been using for the project. The resulting package, when used,
knows to check for a previous installation of the app and to offer an
update option if it finds one.

However...last week I upgraded to version 3.1.0 from 3.0.0 of
FlexBuilder. When I tried to export a release build yesterday, the
system did not know about the certificate I had been using. The
resulting package, when used, did not recognize the previous
installation of the app, tried to install, and failed out because
there was already an application of the same name at the default
installation location.

How do I teach the current version of FlexBuilder about the project's
history, so I don't have to make all alpha users uninstall their
current versions of the application in order to install the new one?

Thanks in advance.

a



[flexcoders] Foriegn language support with an embeded font - need help

2008-10-16 Thread Andrew Jones
Hello - 
I currently have a Flex Application in which I have an embedded font 
(a SWF I created in Flash, and included all the glyphs needed for all 
the languages this app will support, i.e. - Japanese).  In my app, I 
load in a labels XML file, which has the proper characters in it 
(English for English, Japanese for Japanese, etc), and use the values 
from that XML file to populate all my Labels.

For whatever reason, only the English characters are working, Japanese 
and all other languages are not.  I'm not exactly sure how I need to 
handle this - but I thought as long as my embedded font had the proper 
glyphs it would render the characters - apparently this is not true.  
Anyone have any experience with this type of set up, and any thoughts 
on how I can get foriegn language support going?

thanks!



[flexcoders] TexFlex08 this Friday, October 17 in Plano, TX

2008-10-15 Thread Andrew Longley
I apologize if this isn't the best forum for posting this brief
announcement.  Adobe and Miller  Associates is sponsoring TexFlex08
in Plano, TX this Friday, October 17, 2008.  The event is an excellent
chance to network and find out more about Flex, whether you want to
learn more about using Flex as a solution or about Flex career
opportunities.  Find out more at http://www.mmillerassociates.com -
look for the TexFlex 2008 Dallas Flex Camp news item.

Andrew Longley
Sr. Technology Consultant
Miller  Associates



[flexcoders] Odd message on export of release build of AIR app

2008-10-01 Thread Andrew Wetmore
Hi:

For the last few weeks when I export a release build of the current
project, i get this error message: Flex Builder could not publish the
project source: The application file courseDevClient336.mxml was not
found..

The referenced file, courseDevClient336.mxml, was an artifact of a
Subversion update conflict, and has never formed a part of the
project. I don't know where the build process is finding the request
to use it, and therefore I don't know how to address the issue.

Any ideas about how I can get rid of this warning?



[flexcoders] images not appearing in AIR app

2008-09-30 Thread Andrew Wetmore
Hi:

I have an AIR application going into alpha test. Images embedded in
buttons appear fine, but several images that I display using the
mx:Image component are not appearing. This started on the Mac a
colleague uses, and I thought it was maybe a lab issue; but now it is
happening in the installed version.

The images are .gif and .png. They are present in the app and work
fine running in debug on a Windows machine. Can anyone suggest what
steps I should take to fix this, so my boss does not take my head off?

a



RE: [flexcoders] Issue with TabBar Label Control

2008-09-23 Thread Andrew Papada
Tracey,

 

Thank you for your response.  

 

I will look to implement the solution you described.

 

Sincerely,

Andy 

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Tuesday, September 23, 2008 3:54 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Issue with TabBar Label Control

 

I do not see anything wrong with your code.  Maybe strip out everything but
the empty canvases and see if that changes the behavior.

 

But I feel obliged to advise against proceeding down this path.  Using the
ViewStack as a dataProvider seems to be a handy shourtcut, but if you ever
want to do anyting a bit more complex, like hiding or disabling a view, this
approach will cause you trouble.  You will find yourself buried in
addChild/removeChild code, just to control your UI.

 

Instead, create a separate dataProvider to drive the tab bar, and manipulate
that directly to control tab bar UI and thus access to the viewstack.  I
suspect that will also fix your current problem, whatever it is.

 

Tracy

 

  _  

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ajpapada
Sent: Tuesday, September 23, 2008 2:42 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Issue with TabBar Label Control

 

Hello Everyone,

I've come across a strange issue involving the TabBar control. My
TabBar controls the active child container of a ViewStack container
and receives the value of lableField from the child container.

When looking at the panel in design mode in FlexBuilder, the labels on
the tabbar show up just fine, however, once it is compiled, the labels
do not show. I've been trying different things to determine the
reason but have come up short. Below is the posted code. If anyone
sees anything that I am doing incorrectly, can you please point me in
the right direction?

Thanks,
Andy 

mx:TabBar id=tb_catalogStack
dataProvider=catalogStack iconField= labelField=@label
height=25 itemClick=tb_catalogStackChange(event)
fontFamily=Arial right=481 width=269 y=39 enabled=true

/mx:TabBar

mx:ViewStack id=catalogStack width=740 height=100%
y=63 x=10

mx:Canvas label=Models id=tab_models
width=740 height=100%

mx:TextInput x=70 y=5
width=120 id=txti_modelSearch enter=searchParts() maxChars=15/

mx:Button x=195 y=5
label=Search width=80 id=btn_search click=searchParts()/

mx:Button x=280 y=5
label=Print Parts click=printThis_model() width=80 id=btn_print1/

mx:Label x=10 y=8 text=Model
No id=lb_modelNo/

mx:VBox x=10 y=30
height=100% verticalGap=0

mx:Canvas
label=ModelsGrid width=720 height=100%

mx:DataGrid x=0 y=0 width=100% height=100%
dataProvider={catalogArray} rowHeight=16 headerHeight=16 

textIndent=-4 paddingBottom=-1 paddingLeft=-1
paddingRight=-1 paddingTop=-1

allowMultipleSelection=true id=dg_model draggableColumns=false
click=modelChangeHandle(event)

mx:columns

mx:DataGridColumn headerText=Model No
dataField=MODELNO width=150/

mx:DataGridColumn headerText=Description
dataField=DESC/

mx:DataGridColumn dataField=BOMNO visible=false/

/mx:columns

/mx:DataGrid

/mx:Canvas

mx:Label
id=lb_rowCount text=0 Results Found width=100% paddingLeft=-2
paddingTop=2/

/mx:VBox

/mx:Canvas

mx:Canvas label=Functional
id=tab_functional width=770 height=95%

mx:Button x=10 y=5
label=Print Parts height=21 fontWeight=normal
click=printThis_functional() width=80 id=btn_print2/

mx:VBox x=10 y=30
height=100% verticalGap=0

mx:Canvas
label=FunctionalGrid width=720 height=100%

mx:DataGrid x=0 y=0 width=100% height=100%
dataProvider={functionalArray} rowHeight=16 headerHeight=16

textIndent=-4 paddingBottom=-1 paddingLeft=-1
paddingRight=-1 paddingTop=-1 

allowMultipleSelection=true id=dg_modelFunctional
draggableColumns=false click=functionalChangeHandle(event)

mx:columns

mx:DataGridColumn headerText=Key textAlign=center
dataField=KEYNO width=40/

mx:DataGridColumn headerText=Qty textAlign=center
dataField=QTY width=30/

mx:DataGridColumn headerText=Part No textAlign=left
id=funcPartNO dataField=PARTNO width=105 rendererIsEditor=true
itemRenderer=pages.components.PartLink/

mx:DataGridColumn headerText=Description
dataField=PARTDS/

mx:DataGridColumn headerText=List Price
textAlign=right dataField=PARTLP width=70/

mx:DataGridColumn headerText=Sub Part No
textAlign=left dataField=PARTAI width=105/

mx:DataGridColumn headerText=Std Pk
textAlign=center dataField=PARTPK width=45/

mx:DataGridColumn headerText=Appl Note
textAlign=center dataField=MEMO width=56
itemRenderer=pages.components.ApplNotesButton/

mx:DataGridColumn headerText=Part Note
textAlign=center dataField=PARTNT width=54
itemRenderer=pages.components.NotesButton/ 

/mx:columns

/mx:DataGrid

/mx:Canvas

mx:Label
id=lb_rowCount2 text=0 Results Found width=100% paddingLeft=-2
paddingTop=2/

/mx:VBox

mx:Button x=620 y=5
label=Add to Clipboard height=21 width=110 id=btn_clipboard1
click=clipboardAdded()/

mx:Button x=500 y=5
id=btn_additionalInfo label=Additional Pricing height=21

[flexcoders] strange null error on popupMenuButton

2008-09-19 Thread Andrew Wetmore
I use a ton of popupMenuButtons in my application, and they have
generally worked pretty well. Today, one set of them has started
crashing if you click on them. The error, strangely enough, refers to
popupButton, which is a different control type.

Has anyone else run into this kind of bad behavior with
popupMenuButton? Any ways of inoculating the app against it? If not, I
will have to rewire all the susceptible controls.

Thanks.

a



[flexcoders] is anyone using a CryptGuard digital certificate

2008-09-17 Thread Andrew Wetmore
I see CryptGuard offers a free digital certificate for use by new
non-profits. This is a much better price than Thawte's $300 a year!

Is anyone now using a CryptGuard certificate to sign their AIR app?
Does it seem to work ok?

Thanks in advance.

a



[flexcoders] Odd problem with autoupdater

2008-09-17 Thread Andrew Wetmore
I have added applicationupdater_ui.swc to my project, and it works
fine along with the required code to manage automatic updates of the
published application.

HOWEVER, when I have it in the project, the buttons and other UI
elements lose their style and get crappy. When I comment it out, the
styles are fine.

Can someone provide me with a copy of the style sheet that is embedded
in the swc, so I can see if perhaps there is a naming collision among
the styles?

Thanks in advance.

a



[flexcoders] Date issue - need to create date out of string like xxxx-xx-xx from XML

2008-09-16 Thread Andrew Jones
Hello - 
I am having an issue creating a valid Flex Date object from a value 
returned to my app in XML.  The returned value is 2008-09-14 (year-
month-day), and no matter how I try, I can't create a valid date 
object from this.  

Has anyone ever had to do something similar, or have any ideas on what 
I might do?

Andrew



Re: [flexcoders] Preventing cutpaste in Flex3 application

2008-09-16 Thread Andrew Wetmore
The users of my app get nervous because it seems as if they can highlight
and delete the text from the screens. If they changeState and come back, the
text is back, but they don't know that the first time through.

I would love to disable this behavior without affecting the display of the
text area.

a





-- 
Andrew Wetmore
User Experience Director
Open Learning Exchange - www.ole.org
978-319-7324


Re: [flexcoders] Preventing cutpaste in Flex3 application

2008-09-16 Thread Andrew Wetmore
editable = false doesn't seem to do the trick. I will try selectable =
false.


-- 
Andrew Wetmore
User Experience Director
Open Learning Exchange - www.ole.org
978-319-7324


Re: [flexcoders] Preventing cutpaste in Flex3 application

2008-09-16 Thread Andrew Wetmore
selectable = false seems to work, although the context menu still offers
Select all (although nothing happens that I can see).

This is curious behavior that only occurs on some of my text areas, where
you can seem to edit the text in a way that you aren't intended to be able
to.

a

On Tue, Sep 16, 2008 at 10:41 AM, Andrew Wetmore [EMAIL PROTECTED]wrote:

 editable = false doesn't seem to do the trick. I will try selectable =
 false.


 --
 Andrew Wetmore
 User Experience Director
 Open Learning Exchange - www.ole.org
 978-319-7324




-- 
Andrew Wetmore
User Experience Director
Open Learning Exchange - www.ole.org
978-319-7324


Re: [flexcoders] Preventing cutpaste in Flex3 application

2008-09-16 Thread Andrew Wetmore
Yes. I need to write about 15 context menus for various states in the app,
and use a generic menu elsewhere. On my to-do list.

a



-- 
Andrew Wetmore
User Experience Director
Open Learning Exchange - www.ole.org
978-319-7324


[flexcoders] problem with soundAsset

2008-09-16 Thread Andrew Wetmore
Hi:

I am trying to add sounds to my app. I have imported
mx.core.SoundAsset and flash.media.*, and am trying to embed the files
like this:

[Embed('soundfx/oleLogin.mp3')]
private var oleLogin_mp3:Class;
private var oleLogin:SoundAsset = new oleLogin_mp3() as SoundAsset;

The correct files are in the soundfx folder and the path is correct. I
have verified that they all play using QuickTime.

However, when I try to run the app I get this error for each mp3 file:

unable to transcode soundfx/oleLogin.mp3


What do I need to do to correct this issue?

a



Re: [flexcoders] problem with soundAsset

2008-09-16 Thread Andrew Wetmore
As one of the fifteen sounds is working correctly, I guess I have to assume
that the other 14 mp3 files are corrupt in some way. Wil investigate.




-- 
Andrew Wetmore
User Experience Director
Open Learning Exchange - www.ole.org
978-319-7324


Re: [flexcoders] key listeners in air windows

2008-09-11 Thread Andrew Wetmore
the way I deal with this is to use a switch statement on the currentState:

in init() I call registerGlobalKeyHandler()

which is


private function registerGlobalKeyHandler(): void{

 stage.addEventListener(KeyboardEvent.KEY_DOWN, keyHandler);
  }

and has this event handler:

private function keyHandler(event:KeyboardEvent):void{

  //handle the Enter key
  if (event.keyCode == 13){

switch (currentState){
case 'login':
if ( loginButton.enabled == true ){
tryLogin();
}
break;
case 'register':
if (registerButton.enabled == true){
tryRegister();
}
break;
...
  }
   }
}

This gives me a lot of control over what function responds in each part of
the application, and lets me govern a variety of keys in different ways
depending on what page we're on.

You could dispense with the switch statement and have the key click work the
same everywhere.



-- 
Andrew Wetmore
User Experience Director
Open Learning Exchange - www.ole.org
978-319-7324


Re: [flexcoders] Re: key listeners in air windows

2008-09-11 Thread Andrew Wetmore
It is working for me throughout all the windows in my app. On
creationComplete of the app I call init() to run a number of processes. One
line in init() is

registerGlobalKeyHandler();

which calls what I showed you before. So I am adding the listener not in any
window, but in the app itself

I presume you have this line:

import flash.events.KeyboardEvent;

In the event handler I am dealing with the enter, escape, and sometimes tab
keys, and in different ways on different screens, all from one process.


-- 
Andrew Wetmore
User Experience Director
Open Learning Exchange - www.ole.org
978-319-7324


[flexcoders] how to give focus to a new browser window

2008-09-05 Thread Andrew Wetmore
Hi:

In my AIR project I need to pop a browser window and give it focus.
The current code is:

private function launchAFile():void{
  var theURL:String = resourceContentsList.selectedItem.path;
  navigateToURL(new URLRequest(theURL));
}

Is there a way to give that new window focus? At the moment, on some
platforms, it pops up behind the application, and if the user has
resized the app, it is easy to miss the new window.

Thanks in advance! Alpha release on Monday!!

a



[flexcoders] Re: how to give focus to a new browser window

2008-09-05 Thread Andrew Wetmore
I will try that right now. Will be back weeping in a few minutes if it
doesn't work, of course.

Thanks!

a

--- In flexcoders@yahoogroups.com, Ian M. Jones [EMAIL PROTECTED] wrote:

 Have you tried the following?
 
 navigateToURL(new URLRequest(theURL), _blank);
 
 Ian
 
 IMiJ Software
 http://www.imijsoft.com
 http://www.ianmjones.net (blog)
 
 
 On 5 Sep 2008, at 09:42, Andrew Wetmore wrote:
 
  Hi:
 
  In my AIR project I need to pop a browser window and give it focus.
  The current code is:
 
  private function launchAFile():void{
  var theURL:String = resourceContentsList.selectedItem.path;
  navigateToURL(new URLRequest(theURL));
  }
 
  Is there a way to give that new window focus? At the moment, on some
  platforms, it pops up behind the application, and if the user has
  resized the app, it is easy to miss the new window.
 
  Thanks in advance! Alpha release on Monday!!
 
  a
 
 
 





[flexcoders] Re: how to give focus to a new browser window

2008-09-05 Thread Andrew Wetmore
As it turns out, I already have that in use in a couple of places, and
it does not give focus to the new window in tabbed browser systems.
Seems to be okay if you don't already have a browser window open, or
if you do not use tabbed browser windows.

Any other thoughts?

a

--- In flexcoders@yahoogroups.com, Ian M. Jones [EMAIL PROTECTED] wrote:

 Have you tried the following?
 
 navigateToURL(new URLRequest(theURL), _blank);
 
 Ian
 
 IMiJ Software
 http://www.imijsoft.com
 http://www.ianmjones.net (blog)
 




[flexcoders] Help on Visual Design, Graphic Designers, Firms, Consultants

2008-09-05 Thread andrew.0000
Hi All, 

We are building an enterprise Flex app and it is time to make this thing look 
good.  The UI 
is in various states of completion and some areas are not designed. 

We basically need: 
- icons 
- visual design framework and style guide 

What are people's experiences in the Visual Design aspects of their flex 
projects?  Ideally we 
can find a contractor or firm that can actually edit CSS files.  But somehow I 
think this is 
unlikely.  

Should we go with a firm of find some random designer people? 

What deliverables can we expect?  Will any designers know how to deal with Flex 
and CSS? 

Thanks




[flexcoders] HSlider thumb goes beyond the track (with my custom skin)...

2008-08-25 Thread Andrew Jones
I am having a problem where I made a custom skin for an HSlider (using 
Photoshop CS3 and the flex skin script), and when I import that skin 
into my flex project and use it for HSlider, my thumb graphic goes 
beyond the track on both the left and right sides.  It looks like its 
going about 1 tick over, and I'm not sure how to fix this.  Anyone 
run into this issue before?

Thanks for your help



[flexcoders] Re: dealing with apostrophes in text saved to Sqlite from an AIR app

2008-08-24 Thread Andrew Wetmore
using parameters seems to have solved the problem. What a relief!!


 a
 -- 
 Andrew Wetmore
 User Experience Director
 Open Learning Exchange - www.ole.org 
 978-319-7324





[flexcoders] dealing with apostrophes in text saved to Sqlite from an AIR app

2008-08-23 Thread Andrew Wetmore
I am developing an AIR app which has a lot of text-entry fields. I
have not managed to figure out how to escape apostrophes that users
may enter so that the text can be saved properly to the Sqlite
database. As a workaround, we can insert '' where we mean ', and the
dB swallows it. This is not a satisfactory long-term solution. I have
tried using a regexp forced-replace of ' with '', or with apos;, and
neither is working.

Does anyone have some advice, or a pointer to where I can go to
understand more?

Thanks in advance.

a



Re: [flexcoders] Re: dealing with apostrophes in text saved to Sqlite from an AIR app

2008-08-23 Thread Andrew Wetmore
I understand that. But  the recommended method is not working. I am trying
to do a find and replace of all apostrophes:

var myPattern:RegExp = new RegExp('', g);
var titleVar:String = noteTitleFLD.text;
 titleVar = titleVar.replace(myPattern, ');

but it is not working

Jeez, it's hard to read all those ' thingies...

-- 
Andrew Wetmore
User Experience Director
Open Learning Exchange - www.ole.org
978-319-7324


Re: [flexcoders] dealing with apostrophes in text saved to Sqlite from an AIR app

2008-08-23 Thread Andrew Wetmore
I am concatenating in text. I will try using @ or : parameters and see what
happens.
Thanks for the suggestion!

a
-- 
Andrew Wetmore
User Experience Director
Open Learning Exchange - www.ole.org
978-319-7324


[flexcoders] Re: Datagrid selected item highlight behavior changes based on dataprovider object

2008-08-13 Thread Andrew Longley
Ryan, thank you.  That worked.  I understand the globally unique ID
and the benefit, from a Flex perspective, of updating objects while
appearing to Flex to be the same object, as described in the link.  I
don't understand why that affects the selected style in the datagrid.
 It sounds like another copy of the object behind that row of the
datagrid is being created, and because Flex doesn't realize it's the
same object the row you see loses the knowledge that it is selected
and the selected style.  If you have further insight I'd appreciate
it, but bottom line, this fixed it for me and I thank you.

Andrew

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

 Have your typed objects implement IUID.
 
 Read this entry for a better explanation:
 http://ryangravener.com/wordpress/?p=36
 
 On Tue, Aug 12, 2008 at 3:54 PM, Alex Harui [EMAIL PROTECTED] wrote:
 
 Post an example if it is small.
 
 
   --
 
  *From:* flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] *On
  Behalf Of *Andrew Longley
  *Sent:* Tuesday, August 12, 2008 12:37 PM
  *To:* flexcoders@yahoogroups.com
  *Subject:* [flexcoders] Re: Datagrid selected item highlight behavior
  changes based on dataprovider object
 
 
 
  Tim thanks for your response. I have a very simple datagrid
  implementation and yes, simply changing the objects in the datagrid
  from untyped to typed alters the behavior of the datagrid with respect
  to the look of the selected row. Doesn't matter if I use the objects
  returned from the server or just manufacture a collection of typed
  objects.
 
  So far I'm using the work-around of manufacturing untyped objects.
 
  Andrew
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Tim
  Hoff TimHoff@ wrote:
  
   Hmm, strongly typed objects or not, the DataGrid should behave the
   same; as long as you're not using selectable=false. Are you sure
   it's not something else? Are you doing something on the change
   event?
  
   -TH
  
   --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
  Andrew Longley alongley@
   wrote:
   
I expect that when I click on a row in a datagrid, the item gains
   the
selected row highlight. I'm developing an Air app and my
datagrid
does not act this way. After much messing around I discovered
that,
everything else being the same, if I changed the dataProvider
of the
datagrid the behavior of the datagrid changed.
   
1. if the dataProvider is an ArrayCollection of untyped objects,
   i.e.,
{name:blah,phone:1231231234}, it performs as expected, i.e.,
   when
you click on a row it gains the selected row highlight
   
2. if the dataProvider is an ArrayCollection of typed objects,
i.e.,
User objects with name and phone attributes, it performs
   differently.
While the datagrid knows that a row is selected, the selected row
looks as if it is unselected.
   
Now it is slightly more complicated in that the User object
extends
another base class and both use the Bindable metadata tag and are
RemoteClassed to Java objects on the server, and have another 30
attributes.. but I'm still stymied. Anyone have a suggestion for a
work-around besides creating untyped objects for every object at
runtime? What would the code look like to force a selected
style to
show up for the selected row?
   
Thanks.
Andrew
   
  
 
   
 
 
 
 
 -- 
 Ryan Gravener
 http://twitter.com/ryangravener





[flexcoders] Chaining IResponders in a remote call via AsyncToken.addResponder

2008-08-13 Thread andrew.0000
For any remote call (which is how all real work is done in our app)
there are two types of things that need to happen:
- Domain logic: updating the model and other stuff related to the
domain / data
- View logic: displaying messages, showing and hiding progress
indicators etc. 

I was thinking of having a responder to handle the Domain logic, and
one for view logic.  Both basically need to know what happened in any
remote call.  So I chain them such that the View asks the Domain Model
to do some domain logic.  In the low level remote service call code we
add these two responders with the Domain Responder first.  Then the
call happens, and it should fire the domain responder then the view
responder.  Either one could send notifications or whatever if there
are other interested parties. 

So questions are:
- Anyone have experience with this kind of pattern?  
- Is this a horrible or good idea? 





[flexcoders] Re: what is a reliable way to know when your component is re-displayed

2008-08-13 Thread andrew.0000

So far I have been able to rely on the implicit set thing(thing :
Thing) as the init for a given component.  Seems a strange thing to
rely on though.  Would like some sort of onPaint or onDisplay
event.  Keeping track of what is null and what isn't is a pain sometimes. 
 



[flexcoders] Datagrid selected item highlight behavior changes based on dataprovider object

2008-08-12 Thread Andrew Longley
I expect that when I click on a row in a datagrid, the item gains the
selected row highlight.  I'm developing an Air app and my datagrid
does not act this way.  After much messing around I discovered that,
everything else being the same, if I changed the dataProvider of the
datagrid the behavior of the datagrid changed.

1. if the dataProvider is an ArrayCollection of untyped objects, i.e.,
{name:blah,phone:1231231234}, it performs as expected, i.e., when
you click on a row it gains the selected row highlight

2. if the dataProvider is an ArrayCollection of typed objects, i.e.,
User objects with name and phone attributes, it performs differently.
 While the datagrid knows that a row is selected, the selected row
looks as if it is unselected.

Now it is slightly more complicated in that the User object extends
another base class and both use the Bindable metadata tag and are
RemoteClassed to Java objects on the server, and have another 30
attributes.. but I'm still stymied.  Anyone have a suggestion for a
work-around besides creating untyped objects for every object at
runtime?  What would the code look like to force a selected style to
show up for the selected row?

Thanks.
Andrew



[flexcoders] Re: Datagrid selected item highlight behavior changes based on dataprovider object

2008-08-12 Thread Andrew Longley
Tim thanks for your response.  I have a very simple datagrid
implementation and yes, simply changing the objects in the datagrid
from untyped to typed alters the behavior of the datagrid with respect
to the look of the selected row.  Doesn't matter if I use the objects
returned from the server or just manufacture a collection of typed
objects.

So far I'm using the work-around of manufacturing untyped objects.

Andrew

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

 Hmm, strongly typed objects or not, the DataGrid should behave the 
 same; as long as you're not using selectable=false.  Are you sure 
 it's not something else?  Are you doing something on the change 
 event?
 
 -TH
 
 --- In flexcoders@yahoogroups.com, Andrew Longley alongley@ 
 wrote:
 
  I expect that when I click on a row in a datagrid, the item gains 
 the
  selected row highlight.  I'm developing an Air app and my datagrid
  does not act this way.  After much messing around I discovered that,
  everything else being the same, if I changed the dataProvider of the
  datagrid the behavior of the datagrid changed.
  
  1. if the dataProvider is an ArrayCollection of untyped objects, 
 i.e.,
  {name:blah,phone:1231231234}, it performs as expected, i.e., 
 when
  you click on a row it gains the selected row highlight
  
  2. if the dataProvider is an ArrayCollection of typed objects, i.e.,
  User objects with name and phone attributes, it performs 
 differently.
   While the datagrid knows that a row is selected, the selected row
  looks as if it is unselected.
  
  Now it is slightly more complicated in that the User object extends
  another base class and both use the Bindable metadata tag and are
  RemoteClassed to Java objects on the server, and have another 30
  attributes.. but I'm still stymied.  Anyone have a suggestion for a
  work-around besides creating untyped objects for every object at
  runtime?  What would the code look like to force a selected style to
  show up for the selected row?
  
  Thanks.
  Andrew
 





[flexcoders] what is a reliable way to know when your component is re-displayed

2008-08-12 Thread andrew.0000

What is a reliable way to know when your component is displayed?  The
show event is only called when a component goes from visible=false to
true.  The creationComplete event is only once.  My problem is I have
various views (forms basically) nested in all sorts of crazy
viewstacks and so on, and I just want them to initialize themselves
when they are shown.  Problem is I can't really just drive them from
outside when I show them, cause they always seem null, or parts of
them are when I make them visible (usually by some viewstack change)
IE defered instantiation issues.  I would like  the component to throw
an event when it is displayed and clear it self out, re-fetch data,
etc, but I don't see a good event.   




Re: [flexcoders] SWF/Flex security

2008-08-04 Thread Andrew Westberg
I'm not sure whether or not it'll be archived or not.  Just send our sales
guy an email and he can schedule my time for a demo on Adobe Connect.  sales
[at] nitrolm.com

-Andrew

On Sun, Aug 3, 2008 at 7:04 PM, Scott [EMAIL PROTECTED] wrote:

Is there going to be an archived webcast afterwards?  I'd love to go to
 that but unfortunately; August is the busiest time of the year for me and my
 clients.



  Scott


  --

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Andrew Westberg
 *Sent:* Sunday, August 03, 2008 5:45 PM
 *To:* flexcoders@yahoogroups.com
 *Subject:* {Disarmed} Re: [flexcoders] SWF/Flex security



 I'll be speaking on this topic at 360 Flex San Jose.  At the basic level,
 you can embed or even encrypt secure information such as
 usernames/passwords.  If you need a full blown authentication and encryption
 system, I'd look into nitrolm.com.  This will be discussed at the 360
 presentation along with some other non-commercial techniques you can use on
 your own.


 http://www.360conferences.com/360flex/2008/04/360flex-san-jose-schedule.html

 -Andrew Westberg

 On Sun, Aug 3, 2008 at 4:51 PM, Scott [EMAIL PROTECTED] wrote:

 In preparing for securing the site before I code the main site functions I
 thought I'd read up a bit on security.  I was thinking that flex/swf code
 could not be decompiled. But then I found this:
 http://blog.everythingflex.com/2008/02/29/check-you-as3-code/



 I'd like to do some remote object validation (adding in another field for
 the remote object that would verify that the request was coming from my SWF
 and not someone else's (possibly malicious) code.  However, if someone can
 decompile my SWF files then all of that would be for nothing.  What can
 people say about flex code decompiling and protecting my code from prying
 eyes?



  Regards,

   Scott




 --
 This message has been scanned for viruses and
 dangerous content by *MailScanner* http://www.mailscanner.info/, and is
 believed to be clean.
  



Re: [flexcoders] SWF/Flex security

2008-08-03 Thread Andrew Westberg
I'll be speaking on this topic at 360 Flex San Jose.  At the basic level,
you can embed or even encrypt secure information such as
usernames/passwords.  If you need a full blown authentication and encryption
system, I'd look into nitrolm.com.  This will be discussed at the 360
presentation along with some other non-commercial techniques you can use on
your own.

http://www.360conferences.com/360flex/2008/04/360flex-san-jose-schedule.html

-Andrew Westberg

On Sun, Aug 3, 2008 at 4:51 PM, Scott [EMAIL PROTECTED] wrote:

In preparing for securing the site before I code the main site
 functions I thought I'd read up a bit on security.  I was thinking that
 flex/swf code could not be decompiled. But then I found this:
 http://blog.everythingflex.com/2008/02/29/check-you-as3-code/



 I'd like to do some remote object validation (adding in another field for
 the remote object that would verify that the request was coming from my SWF
 and not someone else's (possibly malicious) code.  However, if someone can
 decompile my SWF files then all of that would be for nothing.  What can
 people say about flex code decompiling and protecting my code from prying
 eyes?



  Regards,

   Scott
  



[flexcoders] Looking for Flex consulting help. Any tips, experiences, etc?

2008-07-30 Thread andrew.0000
I work for a startup and we are in need of extra Flex muscle.  Any
advise in this area?  So far the responses from our craigslist add
have been all over the place, from total designers, to outsourcing
firms, to recruiters.  We basically need OO programmers that know
Flex.  Is that going to be hard to find.  We are in SF/Bay area.   

Is it worth the money to go with one of the bigger consulting firms,
or is it better to try and find some local person?  Any idea what
rates people charge? 






Re: [flexcoders] Re: Flex Appointment Calendar Component

2008-07-18 Thread Andrew D. Goodfellow
I get the same error.

-Andy

On Fri, Jul 18, 2008 at 7:08 AM, Jeremy Anderson
[EMAIL PROTECTED] wrote:
 I'm now getting an error:

 ReferenceError: Error #1069: Property R918 not found on
 myComponents.Calendar and there is no default value.
 at myComponents::Calendar/findMaxColumns()
 at myComponents::Calendar/resetCounts()
 at myComponents::Calendar/clearAppointments()
 at myComponents::Calendar/setDay()
 at myComponents::Calendar/updateDisplay()
 at myComponents::Calendar/updateMonthDisplay()
 at myComponents::Calendar/monthUpdate()
 at flash.events::EventDispatcher/dispatchEventFunction()
 at flash.events::EventDispatcher/dispatchEvent()
 at mx.collections::ListCollectionView/dispatchEvent()
 at
 mx.collections::ListCollectionView/http://www.adobe.com/2006/flex/mx/internal::reset()
 at mx.collections::ListCollectionView/set list()
 at mx.collections::ArrayCollection/set source()
 at myComponents::Calendar/onResult()
 at flash.events::EventDispatcher/dispatchEventFunction()
 at flash.events::EventDispatcher/dispatchEvent()
 at
 mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()
 at
 mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()
 at mx.rpc::Responder/result()
 at mx.rpc::AsyncRequest/acknowledge()
 at NetConnectionMessageResponder/resultHandler()
 at mx.messaging::MessageResponder/result()



 On Tue, Jul 15, 2008 at 5:04 PM, Anatole Tartakovsky
 [EMAIL PROTECTED] wrote:

 Link includes extra dot in the end - please repost the link
 Tnx,
 Anatole

 On Tue, Jul 15, 2008 at 3:34 PM, jmfillman [EMAIL PROTECTED] wrote:

 404? I've had several visitors since posting and it's working. I did
 post an update to include the price of the component. You may have
 caught it while I was uploading the new file.

 --- In flexcoders@yahoogroups.com, Pedro Sena [EMAIL PROTECTED]
 wrote:
 
  404

 
  On Tue, Jul 15, 2008 at 1:47 PM, javadmanx [EMAIL PROTECTED] wrote:
 
   Looks good.
  
  
   --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
   jmfillman jmfillman@ wrote:
   
We have completed our initial work on a Flex Appointment
 Calendar. The
calendar features day, week, and month views. All views are
 fully drag
 drop enabled. The day and week view also are drag re-size
 enabled.
You have complete control over all styles, colors, and icons.
   
To try out the component, please visit
http://www.imbizzi.com/imbizzi.html.
   
For more information, including tutorials, styling guide, and
 technical
details, please visit http://www.imbizzi.com.
   
For technical questions, please e-mail support [at]
 imbizzi dot com.
   
JF
   
  
  
  
 
 
 
  --
  /**
  * Pedro Sena
  * Systems Architect
  * Sun Certified Java Programmer
  * Sun Certified Web Component Developer
  */
 



 


[flexcoders] Re: What files should be in the WEB-INF/flex directory to dynamically compile

2008-07-16 Thread Andrew Longley
Thanks Tom.  The phrase web-tier compiler was what I needed.  I
found the Flex compiler module for J2EE application servers after much
searching at the page
http://opensource.adobe.com/wiki/display/flexsdk/Downloads.  What a
brutal search for something so simple!  The result of this is
webtier.war, which can be deployed to any web app server.  I can then
add my Flex app and it dynamically recompiles, and it's the Flex 3
version.

Thanks again.
Andrew

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

 On Tuesday 15 Jul 2008, Andrew Longley wrote:
  I'm trying to migrate the app to Flex 3 and I need to understand what
  files need to go where for the app to dynamically recompile.
 
 There's a 'web tier compiler' in the Flex 3 SDK, and plenty of docs
on the 
 web. Don't try and figure this out blind.
 
  Bottom line, I'm looking for a Flex 3 project that compiles
  dynamically when deployed under a web app server, or information
  towards that end.  Thanks for any help.
 
 Why ? 
 Almost always off-line compilation is what is best.
 
 -- 
 Tom Chiverton





[flexcoders] What files should be in the WEB-INF/flex directory to dynamically compile

2008-07-15 Thread Andrew Longley
I haven't been able to discover this information despite much searching.

We have a Flex 2 app that dynamically recompiles on the server when
the index.jsp is requested via an object/embed tag.  The JSP requests
file.mxml.swf.  Because the WEB-INF/flex directory contains the Flex 2
SDK, the app happily recompiles and works.

I'm trying to migrate the app to Flex 3 and I need to understand what
files need to go where for the app to dynamically recompile.  A Flex 3
project template that dynamically recompiles would work.  Or the
ability to create a new Flex 3 project that compiles on the server,
but this compilation option available under new Flex project is very
picky about being enabled and doesn't create the flex directory if you
get it to stay selected.

Comparing the 2.0.1 and 3.0.0 SDK directories doesn't help.  The
deployed web app has
/WEB-INF
   /flex  -- flex-config.xml; other -config.xml files
  /frameworks  -- mx.swc
  /frameworks_debug  -- mx_debug.swc
  /jars-- bunch of jars including flex.jar
  /libs-- bunch of swcs including charts.swc
  /locale
  /system_classes
  /themes
  /user_classes
and some other directories.

The Flex 2.0.1 sdks directory has
/frameworks  -- flex-config.xml and other stuff
/libs  -- bunch of swcs
/locale
/source
/themes
/lib  -- bunch of jars (similar to /flex/libs)

So there is plenty of overlap yet it's different enough to not be
drag-and-drop replaceable.  In particular I'm not sure where the
mx.swc comes from, or the debug mx_debug.swc version.

Bottom line, I'm looking for a Flex 3 project that compiles
dynamically when deployed under a web app server, or information
towards that end.  Thanks for any help.




[flexcoders] Trouble passing values to a child window

2008-07-09 Thread Andrew Wetmore
Hi. I have an app where the user can select a note and opt to pop
the note into a child window that will float beside the main window. I
can create the window fine, and I can pass it its title. However, when
I try to pass the title and contents of the note, I get a null object
reference error.

The relevant code in the main file is this:

public var theNote:noteWindow;

//** popup selected note
public function floatingNote():void{
var theNote:noteWindow = new noteWindow();
theNote.title = Floating note;
//theNote.noteContents.text=contents;
//theNote.noteTitle.text = title;
theNote.maximizable = false;
theNote.open();
}

if don't comment out those two lines, the code runs fine. At the
moment they are trying to pass static values; but eventually they will
take the relevant values from the selected item in the Notes datagrid.

The noteWindow component looks like this:

?xml version=1.0 encoding=utf-8?
mx:Window xmlns:mx=http://www.adobe.com/2006/mxml; width=300
height=400 layout=absolute backgroundColor=#FF
transparent=false systemChrome=standard
mx:TextArea x=10 y=10 width=278 height=62 id=noteTitle
wordWrap=true editable=false fontWeight=bold fontSize=12
borderStyle=none text=title/
mx:TextArea x=10 y=89 width=278 height=289 id=noteContents
wordWrap=true editable=false borderStyle=solid fontSize=12
text=The note/

/mx:Window

Anybody see what I am missing?

Thanks in advance.

andrew



Re: [flexcoders] Trouble passing values to a child window

2008-07-09 Thread Andrew Wetmore
sorry, I should have said below if I DO comment out the two lines that are
currently commented out, the code runs fine

On Wed, Jul 9, 2008 at 2:02 PM, Andrew Wetmore [EMAIL PROTECTED] wrote:

   Hi. I have an app where the user can select a note and opt to pop


 




-- 
Andrew Wetmore
User Experience Director
Open Learning Exchange - www.ole.org
978-319-7324


[flexcoders] Re: Trouble passing values to a child window -- solved

2008-07-09 Thread Andrew Wetmore
Thank you all for your help! It was indeed a timing issue.

Be back at you with a couple more questions soon.

andrew



Re: [flexcoders] Re: How to get the reference to an item renderer given item index in dataProvide

2008-06-24 Thread Andrew D. Goodfellow
Hi Gordon,

I actually found a use-case where I think this is needed. If you are
interested I'd be happy to discuss it with you off-list.

-Andy

On Mon, Apr 28, 2008 at 8:12 PM, Gordon Smith [EMAIL PROTECTED] wrote:

Can you please explain your use case for needing a reference to an item
 renderer? As Tracy said, You are probably making a mistake. Item renderers
 are intended to render data items, not to be manipulated directly as visual
 components.



 Gordon Smith

 Adobe Flex SDK Team


  --

 *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
 Behalf Of *Marcin Glowacki
 *Sent:* Monday, April 28, 2008 1:37 PM
 *To:* flexcoders@yahoogroups.com

 *Subject:* [flexcoders] Re: How to get the reference to an item renderer
 given item index in dataProvide



 Thanks, I will give it a shut

 --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Tracy
 Spratt [EMAIL PROTECTED] wrote:
 
  You are probably making a mistake, but, from the docs:
 
 
 
  indexToItemRenderer
 
  ()
 
  method
 
 
 
  public function indexToItemRenderer(index:int
  http://127.0.0.1:58469/help/topic/com.adobe.flexbuilder.help/langref/in
  t.html ):IListItemRenderer
  http://127.0.0.1:58469/help/topic/com.adobe.flexbuilder.help/langref/mx
  /controls/listClasses/IListItemRenderer.html
 
  Get an item renderer for the index of an item in the data provider, if
  one exists. Since item renderers only exist for items within the set of
  viewable rows items, you cannot use this method for items that are not
  visible.
 
  Parameters
 
 
 
  index:int
  http://127.0.0.1:58469/help/topic/com.adobe.flexbuilder.help/langref/in
  t.html - The offset into the data provider for an item
 
  Returns
 
 
 
  IListItemRenderer
  http://127.0.0.1:58469/help/topic/com.adobe.flexbuilder.help/langref/mx
  /controls/listClasses/IListItemRenderer.html - The item renderer that
  is displaying the item, or null if the item is not currently displayed
 
 
 
  Tracy
 
 
 
  
 
  From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com [mailto:
 flexcoders@yahoogroups.com flexcoders%40yahoogroups.com] On
  Behalf Of Marcin Glowacki
  Sent: Monday, April 28, 2008 11:31 AM
  To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com
  Subject: [flexcoders] Re: How to get the reference to an item renderer
  given item index in dataProvide
 
 
 
  OK, thanks for your input.
 
  However, I would appreciate any hints on how I could write a method in
  MyDataGrid that will return reference to itemRenderer or itemEditor or
  null at any given point in time.
 
  If a given row is not displayed on the screen this method should
  return null, otherwise itemRenderer or itemEditor.
 
  protected function getItemRendererByPosition(dateProviderIndex:int,
  columnIndex:int):IDataRenderer
  {
  // go through all item renderers and return the one I need
  // where are the renderers stored? any protected member?
  // how can you tell current position of an item renderer?
  }
 
  --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.commailto:
 flexcoders%40yahoogroups.com flexcoders%2540yahoogroups.com
  , Tracy Spratt tspratt@ wrote:
  
   You cannot do that.
  
  
  
   Item renderers are recycled. Only the visible rows are
   instantiated(plus a few buffers) So if row 5 is not visible, it does
   not exist, and you cannot reference it.
  
  
  
   In almost all cases, work should be done on the underlying
  dataProvider.
  
  
  
   Search archives or google for: itemRenderer recycle
  
  
  
   Tracy
  
  
  
   
  
   From: flexcoders@yahoogroups.com flexcoders%40yahoogroups.commailto:
 flexcoders%40yahoogroups.com flexcoders%2540yahoogroups.com
  [mailto:flexcoders@yahoogroups.com flexcoders%40yahoogroups.commailto:
 flexcoders%40yahoogroups.com flexcoders%2540yahoogroups.com
  ] On
   Behalf Of Marcin Glowacki
   Sent: Sunday, April 27, 2008 3:21 PM
   To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com mailto:
 flexcoders%40yahoogroups.com flexcoders%2540yahoogroups.com
   Subject: [flexcoders] How to get the reference to an item renderer
  given
   item index in dataProvider?
  
  
  
   In Flex 3 DataGrid, how to get the reference to item renderer given
   item index in dataProvider and column number?
   I am extending DataGrid, and I need to access it in MyDataGrid.
  
   Lets say I want itemRenderer for item in dataProvider at index 5 and
   column 2.
  
   And
  
   how to get the array of all itemRenderers and/or itemEditor for a
   given index of an item in dataProvider?
  
 

  



[flexcoders] Generating AS3 code from Java

2008-06-18 Thread andrew.0000
Hi, 

I am using a Flex UI talking to a Blaze DS / Java backend.  The sever has a set 
of DTO 
objects used for talking to Flex and other web services. 

Is there any open source tools out there to generate the AS3 code from Java?  
This should 
be a fairly easy program to write using reflection, but someone must have done 
it before. 






Re: [flexcoders] Re: Is there a flex based Tag Cloud component?

2008-06-05 Thread Andrew Wetmore
Are you susceptible to coding the thing in SwishMax and then using the
resulting Flash movie as a plugin? Here is part one of a two-part tutorial
about building a really cool linksphere:

http://blog.swishzone.com/?p=73




-- 
Andrew Wetmore
User Experience Director
Open Learning Exchange - www.ole.org
978-319-7324


Re: [flexcoders] Re: Unable to Display Hindi

2008-06-05 Thread Andrew Wetmore
Dumb question, but are you using a font that does not display special
characters? Can you display, say, Mandarin or Japanese? If you cannot
display ANY non-Western characters, try switching to a sans-serif font.

If this relates to Hindi only, and languages such as Japanese display well,
then I am at a loss.

a





-- 
Andrew Wetmore
User Experience Director
Open Learning Exchange - www.ole.org
978-319-7324


Re: [flexcoders] Unable to Display Hindi

2008-06-04 Thread Andrew Wetmore
What keeps happening to me is that the encoding of the properties file keeps
snapping back to whatever the default is. I use Nepali, Hindi, and Chinese
in our app, so I really notice when the little squares show up. Resetting
the encoding of the properties file will probably do the trick.

a

On Wed, Jun 4, 2008 at 5:42 PM, tanarijay [EMAIL PROTECTED] wrote:
I am creating an application that displays in a few character sets:
English, French,  Hindi.

I am using resource bundles (name/value pairs in UTF-8 encoded text
files named appStrings.properties) and Flex 3 to create my
application. I am using the resource manager to retrieve the strings:...


-- 
Andrew Wetmore
User Experience Director
Open Learning Exchange - www.ole.org
978-319-7324


Re: [flexcoders] Re: What next after getting FLEX ?

2008-06-03 Thread Andrew Close
On Mon, Jun 2, 2008 at 8:35 PM, itdanny2002 [EMAIL PROTECTED] wrote:
 Hi valdhor [EMAIL PROTECTED]

 Your information is very useful !
 Thank you very much.
 At first, I wanna to start on SilverLight.
 Eventually, FLEX is my choice since the community
 is so helpful with solid experience !

why don't you just start with Flex if that's where you eventually want
to be?  not that it's a bad thing to learn other technologies and
languages.  but if you want to be doing Flex, then do Flex. :)

-- 
Andrew Close


RE: [flexcoders] Re: Enable / Disable Flex Menu Items Programmatically using AS 3.0

2008-06-03 Thread Andrew Price
I am new to flex myself but is it not just.

 

 

menuDown.enabled=true 

 

or 

 

menuDown.enabled=fasle 

 

 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of bc24fl
Sent: 03 June 2008 14:56
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Enable / Disable Flex Menu Items
Programmatically using AS 3.0

 

I'm really struggling for help. We have done everything to try and
get a solution to this problem including:

1. Posting on public forums / mailing lists
2. Purchased books on AS3 and Flex
3. Signed up for a year subscription to Lynda.com
4. Purchased support from experts-exchange.com
5. Purchased support directly from Adobe where supposedly it's 3 day
response (no resolution) and we have received no response for a week
(business days).

What in the world am I doing wrong? This question doesn't appear to
be rocket science as I've done this (enable/disable menu items) in
many other programming languages. 

As you can see I have exhausted every (that I know of) resource. What
else am I to do? My employer is upset and now considering dropping
the language altogether and I don't want that. 

Any advice would BE MUCH APPRECIATED. 

End rant.

--- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com
ups.com, bc24fl [EMAIL PROTECTED] wrote:

 I have the following XML data defined in my app:
 
 =
 !-- Define the menu data. --
 mx:XML format=e4x id=myMenuData
 root
 menuitem id=menuDrill label=Drill = 
 menuitem id=menuDown label=Down toggled=false
 enabled=true/
 menuitem id=menuUp label=Up toggled=false
 enabled=true/
 /menuitem
 menuitem type=separator/
 menuitem label=Lock / Unlock type=check
toggled=false/
 menuitem type=separator/ 
 menuitem label=Reset Graph toggled=false/ 
 /root
 /mx:XML
 ===
 
 I can statically disable one of the items by setting enabled=false,
 however I need to disable the item by using Action Script 3.0. 
 
 I've tried using dataDescriptor like so but it does not work:
 
 ===
 myMenu.dataDescriptor.setEnabled(myMenuData.menuDrill.menuDown,false);
 ===
 
 I've posted this on a few forums and haven't received a solution. I
 hope I can find one here.
 
 Any help would be much appreciated.
 
 Thanks.


 



Re: [flexcoders] Help FLEX 3 and jasperReports

2008-05-29 Thread Andrew Westberg
I haven't done it yet, but I'll probably be working on this next week.  I
was planning on generating the PDF in JasperReports server-side and
downloading it into an html component for viewing.  Let me know if you find
another solution for viewing PDFs in Flex.

-Andrew

On Thu, May 29, 2008 at 10:54 AM, gf_baggio [EMAIL PROTECTED] wrote:

   I am new to the Flex 3 programming and would like to know if someone
 has examples of how to show a jasperReport made with IReport in Flex 3.

 I managed to generate a jrxml report but need to know how to show this
 report in Flex.

 Thanks again for your help

  



[flexcoders] Bump: problem with missing dB on Mac for AIR app

2008-05-15 Thread Andrew Wetmore
This is getting urgent. Can anyone point me to where we can start our
investigations? The installer works fine on Windows, but on Mac it
looks like the database does not get created. Therefore on Mac the app
launches, but you can't get past the registration screen.

Help help!


a



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

 Hi:
 
 A colleague tried to install the app I am working on on his Mac. App
 installed, but the database is nowhere to be seen. App stalls at the
 first point where it would be expected to call (as opposed to
 initialize) the dB. Where should I start looking to figure out what is
 going on?
 
 a





[flexcoders] Re: Bump: problem with missing dB on Mac for AIR app

2008-05-15 Thread Andrew Wetmore
--- In flexcoders@yahoogroups.com, shaun [EMAIL PROTECTED] wrote:

 
 What is the path to your db file?
 C:\My Documents ain't gunna work..  :)


Indeed it would not. Here is the declaration:

var dbFile:File = File.documentsDirectory.resolvePath(Open Learning
Exchange/OLEcds.db);

According to Marco Casario's Flex Solutions that should do the trick.




[flexcoders] Re: Bump: problem with missing dB on Mac for AIR app

2008-05-15 Thread Andrew Wetmore
--- In flexcoders@yahoogroups.com, Andrew Wetmore [EMAIL PROTECTED] wrote:

 --- In flexcoders@yahoogroups.com, shaun shaun@ wrote:
 
  
  What is the path to your db file?
  C:\My Documents ain't gunna work..  :)
 
 
 Indeed it would not. Here is the declaration:
 
 var dbFile:File = File.documentsDirectory.resolvePath(Open Learning
 Exchange/OLEcds.db);
 
 According to Marco Casario's Flex Solutions that should do the trick.


Our investigations seem to show that the installer can't create a
subdirectory on Mac in the documents folder, either with the name as
displayed above or as OLE without spaces. If we create the folder
manually, the installer is able to create the database in it. I am now
going to switch the installation location to
applicationStorageDirectory, with no subdirectory, and see if it works.




[flexcoders] Re: Bump: problem with missing dB on Mac for AIR app

2008-05-15 Thread Andrew Wetmore

 
 
 Our investigations seem to show that the installer can't create a
 subdirectory on Mac in the documents folder, either with the name as
 displayed above or as OLE without spaces. If we create the folder
 manually, the installer is able to create the database in it. I am now
 going to switch the installation location to
 applicationStorageDirectory, with no subdirectory, and see if it
works.


Yes, that works!

Now my problem is that I don't know where the
applicationStorageDirectory location is. None of the normal searches
are turning up the database file, although it obviously exists. Does
anyone know what obfuscation is being used? The tutorials indicate a
location in Documents and Settings on the PC, but there is no dB there
for this app.

Thanks in advance.

a



[flexcoders] Re: Bump: problem with missing dB on Mac for AIR app

2008-05-15 Thread Andrew Wetmore
--- In flexcoders@yahoogroups.com, Andrew Wetmore [EMAIL PROTECTED] wrote:

 
  
  
  Our investigations seem to show that the installer can't create a
  subdirectory on Mac in the documents folder, either with the name as
  displayed above or as OLE without spaces. If we create the folder
  manually, the installer is able to create the database in it. I am now
  going to switch the installation location to
  applicationStorageDirectory, with no subdirectory, and see if it
 works.
 
 
 Yes, that works!
 
 Now my problem is that I don't know where the
 applicationStorageDirectory location is. None of the normal searches
 are turning up the database file, although it obviously exists. Does
 anyone know what obfuscation is being used? The tutorials indicate a
 location in Documents and Settings on the PC, but there is no dB there
 for this app.
 
 Thanks in advance.
 
 a


Found it!

documents and settings/[user name]/application data/[funky backwards
address starting with com.cds]/local Store

I should have been able to guess that, i guess.



[flexcoders] problem with missing dB on Mac for AIR app

2008-05-11 Thread Andrew Wetmore
Hi:

A colleague tried to install the app I am working on on his Mac. App
installed, but the database is nowhere to be seen. App stalls at the
first point where it would be expected to call (as opposed to
initialize) the dB. Where should I start looking to figure out what is
going on?

a



Re: [flexcoders] GIF image doesn't blinking in Flex App

2008-04-28 Thread Andrew Westberg
Doug McCune also has a commercial component for $50 to do this.

http://dougmccune.com/blog/2007/05/24/animated-gif-loader-flex-component-updated/

-Andrew

On Mon, Apr 28, 2008 at 9:12 AM, Flap Flap [EMAIL PROTECTED]
wrote:

   Arf allready sent sorry...

 2008/4/28 Flap Flap [EMAIL PROTECTED]:

  Flash Player doesn't support animated GIF natively but Thibault Imbert
  has developp a library for that :
  http://www.bytearray.org/?p=95
 
  ;)
 



 --
 Benoît Milgram / Flapflap
 http://www.kilooctet.net

 I'm also a music mashup / bootlegs producer :
 http://www.djgaston.net
 



[flexcoders] Re: currentState question

2008-04-25 Thread Andrew Wetmore
The other possibility is that the problem comes from using double
quotation marks () instead of single(''). currentState likes single
quotation marks.


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

 Bonjour,
 
 I am pretty sure that this error comes as a consequence of changing
 the state. You should check what happens when you change the state -
 probably you trying to access an element which does not exist in the
 base state.
 
 Cheers,
 Dmitri.
 
 
 
 
 
 --- In flexcoders@yahoogroups.com, Nicolas Boulet-Lavoie
 nicolasboulet@ wrote:
 
  Hello,
  
   
  
  When I try to use this VERY easy command :
  
   
  
  currentState = 
  
   
  
  I'm getting this error.
  
   
  
  Error #2006: L'index indiqu� sort des limites.
  
   
  
  Any idea why?
  
   
  
  -- 
  
  Merci et bonne journ�e,
  
   
  
  Nicolas Boulet-Lavoie, Webmestre/Webmaster
  
  
  
  L A P R I S E �
  
  T�l: 248-8886 poste 288
  
  nicolasboulet@
  
   
  
  http://www.maisonlaprise.com/
  
  http://www.habitaflex.com/
  
  http://www.lorendo.com/
  
  http://www.tomindustries.com/
  
  
  




Re: [flexcoders] Flex 3 / AIR: Creating a Timer and binding Text

2008-04-23 Thread Andrew D. Goodfellow
Hi Steve,

You need a [Bindable] meta tag in front of every property you need to
be bindable. You only have it on callID, not callStatus.

-Andy



On 4/23/08, Steve Good [EMAIL PROTECTED] wrote:
 (I sent this earlier, but it never made it through, so I apologize if it
 ends up being a double post)



 I'm trying to make a call to a remote script at regular intervals.  I can
 get it to make the calls, but I can't figure out how to apply a timer to the
 second call.  I thought I had figured out how to bind the data to a text
 object, but I'm not getting any results displayed.  Here's a sample of the
 code.



 mx:HTTPService id=startCall url=http://domain.com/dir/script1.cfm;
 result=getCallID(event)/

   mx:HTTPService id=getCallStatus
 url=http://domain.com/dir/script2.cfm; result=showStatus(event)/



   mx:Script

   ![CDATA[

 import mx.core.Application;

 import mx.controls.Alert;

 import mx.events.CloseEvent;

 import mx.collections.ArrayCollection;

 import mx.rpc.events.ResultEvent;

 import flash.utils.Timer;

 import flash.events.TimerEvent;



 [Bindable]

 private var callID:Number;

 private var callStatus:String;



 private function placeCall():void{

   startCall.cancel();

   var params:Object = new Object();

   params.foo = bar;

   startCall.send(params);

 }

 private function getCallID(event:ResultEvent):void{

   callID = event.result as Number;

 }

 private function getStatus():void{

   getCallStatus.cancel();

   var params:Object = new Object();

   params.callID = callID;

   getCallStatus.send(params);

 }

 private function showStatus(event:ResultEvent):void{

   callStatus = event.result as String;

 }

 private function setupTimer():void{

   var myTimer:Timer = new Timer(1000, 0);

   myTimer.addEventListener(timer,timerHandler);

   myTimer.start();

 }

 private function timerHandler(event:TimerEvent):void{

   getStatus();

 }

   ]]

   /mx:Script



   mx:Button x=78 y=150 label=Place Call click=placeCall()/

   mx:HBox x=10 y=196 width=93%

 mx:Label text=Call Status:/

 mx:Text text={callStatus}/

   /mx:HBox



 Also, the mx:text is giving this warning: Data binding will not be able to
 detect assignments to callStatus.



 Any help is greatly appreciated.



 Thanks!



 ~Steve

 http://lanctr.com/







 ~Steve

 http://lanctr.com/






[flexcoders] Can't change state from the menu bar

2008-04-21 Thread Andrew Wetmore
Hi:

I want the menu bar choices in my app to change the app's current
state. In the code below, the correct value shows up in the alert when
one of the two active options is selected, but the state does not
change whether I use the first pattern or the second. What  am I missing?

private function menuHandler(event:MenuEvent):void  {
//Alert.show(data : + [EMAIL PROTECTED]);
switch ([EMAIL PROTECTED]){
case state2:
currentState=' + [EMAIL PROTECTED] + ';
break;
case state3:
[EMAIL PROTECTED];
break;
}
 }




[flexcoders] Re: Can't change state from the menu bar

2008-04-21 Thread Andrew Wetmore
Got this figured out. Now if I can figure out why half of the
localizations aren't working, I'll be all set.



Re: [flexcoders] Re: AIR Modules - I've hit a wal

2008-04-19 Thread Andrew Westberg
I'm not sure if this is your problem, but there is a property that's
AIR-only called allowLoadBytesCodeExecution.  I forget which class it's a
property of, but it might help.

-Andrew

On Thu, Apr 17, 2008 at 12:23 PM, ed.syrett [EMAIL PROTECTED] wrote:

   Could somebody please confirm this to me? Is it really true that we
 cannot load up swf modules from a web server into an AIR app?

 If so then thats a really big disappointment. I can see the need for
 security etc, but if an AIR app trusts a particular domain then it
 should be able to download a swf module and run it. I would expect
 some function call to enable download of swfs from a particular
 domain. If there are any workarounds that anyone knows about then
 please post here as we would really like to know.

 We already have a web app that makes good use of modules. The app
 communicates with a server running JBoss using XML, and the web app
 firstly downloads a list of menu items, each of which relates to a
 module. The user only needs to download the modules that he accesses.

 We were hoping to do this with AIR, so that we could have the user
 download the AIR container app just once, and then we could add as
 many modules as we liked without having to make the user re-install
 the whole app. BTW the XML to JBoss seems to work - we just need to
 get the modules working.

 Any further info gratefully received.

 Cheers,

 Ed.

  



[flexcoders] My AIR installer does not include my icons

2008-04-16 Thread Andrew Wetmore
I have an AIR installer for the app we are developing. I have
specified four icons in the app xml file, and have put them in the
folder I have named. They are png's of the appropriate sizes. 

When I build the app, the icons are not used and never appear. What's
with that?

a



[flexcoders] Re: AIR installer works on PC, not on Mac

2008-04-05 Thread Andrew Wetmore
The server is set correctly to send the AIR file. I will try the
direct install.

I guess my question was, where WITHIN the project should I look for
problems that would generate the message that the application is
misconfigured?

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

 Check the mime type the server is set to send for an AIR file?
 I don't know what is is off hand, I'm afraid.
 Does the installer work if the .air is opened from the mac's hard drive,
 by the way? That would point to server/badge problems if so.
  
  
 -Original Message-
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Andrew Wetmore
 Sent: 04 April 2008 14:23
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] AIR installer works on PC, not on Mac
  
 Hi:
 
 I am using FB3 and compiled the first version of an AIR app to test
 the installation process. I built an install badge following the
 instructions, and posted .air file and the install page where they
 could be accessed by the team.
 
 I work on WinXP. If I go to the website and click the badge I get the
 appropriate install process, and a correct query noting that the
 available version is newer than the one I have. I click to install and
 all goes well.
 
 If my colleague on a Macbook Pro running OSX 10.5.2 with Intel. He
 follows the same procedure. On the first time through he evidently was
 able to install the AIR runtime. However, the process then choked with
 this message: Sorry, an error has occurred This application cannot
 be installed because this installer has been mis-configured. Please
 contact the application author for assistance.
 
 Where do I start to find the problem that generated the error? This is
 fairly urgent, as not being able to post something the Mac users can
 install is impeding progress on our project and casting doubts on the
 viability of AIR as a platform.
 
 Thanks in advance.
 
 Andrew
 
 Open Learning Exchange www.ole.org
  
 
 __
 This communication is from Primal Pictures Ltd., a company
registered in England and Wales with registration No. 02622298 and
registered office: 4th Floor, Tennyson House, 159-165 Great Portland
Street, London, W1W 5PA, UK. VAT registration No. 648874577.
 
 This e-mail is confidential and may be privileged. It may be read,
copied and used only by the intended recipient. If you have received
it in error, please contact the sender immediately by return e-mail or
by telephoning +44(0)20 7637 1010. Please then delete the e-mail and
do not disclose its contents to any person.
 This email has been scanned for Primal Pictures by the MessageLabs
Email Security System.
 __





[flexcoders] AIR installer works on PC, not on Mac

2008-04-04 Thread Andrew Wetmore
Hi:

I am using FB3 and compiled the first version of an AIR app to test
the installation process. I built an install badge following the
instructions, and posted .air file and the install page where they
could be accessed by the team.

I work on WinXP. If I go to the website and click the badge I get the
appropriate install process, and a correct query noting that the
available version is newer than the one I have. I click to install and
all goes well.

If my colleague on a Macbook Pro running OSX 10.5.2 with Intel. He
follows the same procedure. On the first time through he evidently was
able to install the AIR runtime. However, the process then choked with
this message: Sorry, an error has occurred  This application cannot
be installed because this installer has been mis-configured. Please
contact the application author for assistance.

Where do I start to find the problem that generated the error? This is
fairly urgent, as not being able to post something the Mac users can
install is impeding progress on our project and casting doubts on the
viability of AIR as a platform.

Thanks in advance.

Andrew

Open Learning Exchange   www.ole.org



Re: [flexcoders] # sign in URL - how do I get rid of it?

2008-04-04 Thread Andrew D. Goodfellow
Hi Robert,

Just set historyManagment=false in your Application tag.

-Andy



On 4/4/08, Robert Csiki [EMAIL PROTECTED] wrote:

 After we switched to using Flex3, there's a # sign that occasionally
 appears in browser, on the URL that accesses the Flex app, right after
 the context root; how can I get rid of it?

 Sometimes there is other stuff coming after that # sign, which hampers
 our product usability.

 We're not using and deep linking nor history management in our app for
 now.

 Thanks, Robert




Re: [flexcoders] Styling Alert

2008-03-28 Thread Andrew Westberg
Try:

Alert{
 /* your css styling here */
}

On Fri, Mar 28, 2008 at 6:32 AM, wubzorz [EMAIL PROTECTED] wrote:

   Hi all,

 I want to style my Alert boxes. What form elements do they use? I
 already found out that they use Button styles for the button. I use the
 Flex 2 style explorer to get the CSS for my styles
 (http://examples.adobe.com/flex2/consulting/styleexplorer/Flex2StyleExpl
 orer.html). But I'm not quite sure what component to style for the
 Alerts.

 Thanks
 Rick

  



[flexcoders] Re: Perl with Flex

2008-03-25 Thread Andrew Strader
--- In flexcoders@yahoogroups.com, moonrchand [EMAIL PROTECTED] wrote:

 Hi,
how can i integrate perl script with flex. simple example is 
 appreciated.
 
 Thanks in Advance,
 Chandra


It is not clear what you mean by integrate? You can host a Perl
script on a web server, run it as CGI or mod_perl, and use its output
for the result of a Flex remote service. From a Flex point of view, it
doesn't matter whether the server is running Perl, PHP, JSP, ASP, etc.
So which are you having trouble with: getting Perl to run on your web
server, or getting the service to work in Flex? If it's the former,
please post to a different list. If it's the latter, then what is your
specific question?



Re: [flexcoders] Average salary of a Flex Developer in the Silicon Valley

2008-03-22 Thread Andrew D. Goodfellow
For what time period?



On 3/22/08, heat_samurai [EMAIL PROTECTED] wrote:
 I've got an offer to join a reputed customized software firm in SF.
 I've got over 2 yrs of experience as a Flash Developer and migrated to
 Flex about 8 months back.

 They've offered me around $4,500. Is that good enough?




Re: [flexcoders] HTML Wrapper

2008-03-21 Thread Andrew Wetmore
I save a copy of the wrapper page as I want it with the name index.html in
bin-release. That is what I post to wherever I am posting the application.
Flex Builder does not overwrite it because it doesn't know about it.

I believe you can also set a preference for the project to not re-create the
wrapper page when you rebuild the project.

a

On Fri, Mar 21, 2008 at 12:46 PM, Don Kerr [EMAIL PROTECTED] wrote:

   My html page in /bin contains metatags for search description and
 keywords. Each time I compile in Flex Builder 3, this html gets
 overwritten. I've been saving the metatags in a separate directory,
 then copy/pasting them into the new wrapper page.

 Is the solution to uncheck the generate HTML wrapper in the Compiler
 settings? Or is there a better way to manage this?

 I need the description/keywords so my app gets pick up on google, etc.
 I haven't investigated search engine optimization stuff yet. Maybe
 there is a better way now.

 Recommendations?

 Thanks,
 Don

  




















-- 
Andrew Wetmore
User Experience Director
Open Learning Exchange - www.ole.org
978-319-7324


  1   2   3   4   5   >