[flexcoders] Re: Accessing the URLRequest object from the URLLoader?

2009-12-11 Thread Nick Middleweek
Hi,

Here's my class so I can reference the urlRequest object via the UrlLoader
object via the complete event.currentTarget...

//-
package comps
{
import flash.net.URLLoader;
import flash.net.URLRequest;

public class URLRequestLoader extends URLLoader
{
public var urlRequest:URLRequest;

public function URLRequestLoader(request:URLRequest=null)
{
//TODO: implement function
this.urlRequest = request;
super(request);
}

}
}
//-


Is this good, bad or ugly or just bloody stupid?

There's a topic here about something similar:
http://www.kirupa.com/forum/showthread.php?t=305004  and the approach there
is to use arrays but why not just encapsulate the urlRequest object inside
the extended URLLoader Class? I'm relatively new to OOP and Design so
forgive me if this is bloody stupid :)

I'm intrigued to what the experts think... Also, does this create an issue
with garbage collection?


Cheers,
N




2009/12/11 Nick Middleweek 

> Hi,
>
> When we use URLLoader we pass it the URLRequest object either in the
> constructor or via the load method...
>
> When the URLLoader is complete, the 'complete' function is invoked where we
> can get access to the URLLoader object that has completed but I also want to
> access the URL that was Requested... I would've thought there would be a
> .request propery on the URLLoader but there isn't...
>
> Has anyone got any ideas on how I can achieve this?
>
> I was thinking about extending URLLoader and creating my own property and
> then overriding the load function.
>
> What are peoples thoughts?
>
>
> Thanks,
>  Nick
>
>


[flexcoders] Accessing the URLRequest object from the URLLoader?

2009-12-10 Thread Nick Middleweek
Hi,

When we use URLLoader we pass it the URLRequest object either in the
constructor or via the load method...

When the URLLoader is complete, the 'complete' function is invoked where we
can get access to the URLLoader object that has completed but I also want to
access the URL that was Requested... I would've thought there would be a
.request propery on the URLLoader but there isn't...

Has anyone got any ideas on how I can achieve this?

I was thinking about extending URLLoader and creating my own property and
then overriding the load function.

What are peoples thoughts?


Thanks,
Nick


Re: [Spam] [flexcoders] Re: new StringValidator() .source problem?

2009-12-10 Thread Nick Middleweek
Hello Tibor,

Thanks for replying. this_initializeHandler is the handler for the
initialize event. A colleague told me to try creationComplete for the
component and it now works... :)

I'm thought that on the initiialize phase of the parent component, the
children objects/components were initialized but not measured/ positioned.

But I guess I'm wrong... :)


Cheers!

Nick



2009/12/9 Tibor 

>
>
> purchOrg us most likely null when you are assigning it as the source of the
> validator.
>
> Could you post the rest of the coded where purchOrg is defined?
>
> also this_initializeHandler is the handler for which event?
>
> Tibor.
> www.tiborballai.com
>
>


[flexcoders] Re: new StringValidator() .source problem?

2009-12-09 Thread Nick Middleweek
I thought I'd try it by creating the MXML StringValidator...





... and adding that to the validation array.

This works.


So I must be doing something wrong with the ActionScript ? Can anyone see
what I'm doing wrong?


Thanks,
N





2009/12/9 Nick Middleweek 

> Hi,
>
> I'm trying to use StringValidator in ActionScript. The following example
> shows MXML and then adding the ID's to an Array...
>
>
> http://blog.flexexamples.com/2007/08/13/validating-flex-forms-using-the-validator-classes/
>
> ... I'd like to do this entirely in ActionScript but am getting an error
> about the source property needing to be set...
>
> Error: The source attribute must be specified when the property attribute
> is specified.
>
>
> But I am specifying the source property of the StringValidator instance.
> Can anyone see what I may be doing wrong? Thanks in advance...
>
>
> [Bindable]
> private var validationArray:Array;
>
>
> private function this_initializeHandler():void
> {
> validationArray = new Array();
>
> var purchOrg_Validator:StringValidator = new
> StringValidator();
> //purchOrg_Validator.required = true;
> purchOrg_Validator.source = purchOrg;
> purchOrg_Validator.property = "text"
> purchOrg_Validator.minLength = 2;
>
> validationArray.push(purchOrg_Validator);
>
> }
>
> private function submitButton_clickHandler(event:MouseEvent):void
> {
> //validate the form validators...
> var validatorErrorArray:Array =
> Validator.validateAll(validationArray); // ERRORS HERE?
>
> var formIsValid:Boolean = (validatorErrorArray.length ==
> 0);
>
> Alert.show(formIsValid.toString());
> }
>
>
> There is a TextInput object with ID="purchOrg" in a form but I can
> understand.
>
>
> Thanks,
> N
>
>
>


[flexcoders] new StringValidator() .source problem?

2009-12-09 Thread Nick Middleweek
Hi,

I'm trying to use StringValidator in ActionScript. The following example
shows MXML and then adding the ID's to an Array...

http://blog.flexexamples.com/2007/08/13/validating-flex-forms-using-the-validator-classes/

... I'd like to do this entirely in ActionScript but am getting an error
about the source property needing to be set...

Error: The source attribute must be specified when the property attribute is
specified.


But I am specifying the source property of the StringValidator instance. Can
anyone see what I may be doing wrong? Thanks in advance...


[Bindable]
private var validationArray:Array;


private function this_initializeHandler():void
{
validationArray = new Array();

var purchOrg_Validator:StringValidator = new
StringValidator();
//purchOrg_Validator.required = true;
purchOrg_Validator.source = purchOrg;
purchOrg_Validator.property = "text"
purchOrg_Validator.minLength = 2;

validationArray.push(purchOrg_Validator);

}

private function submitButton_clickHandler(event:MouseEvent):void
{
//validate the form validators...
var validatorErrorArray:Array =
Validator.validateAll(validationArray); // ERRORS HERE?

var formIsValid:Boolean = (validatorErrorArray.length == 0);

Alert.show(formIsValid.toString());
}


There is a TextInput object with ID="purchOrg" in a form but I can
understand.


Thanks,
N


[flexcoders] Flex and Weblogic JMS

2009-12-02 Thread Nick Collins
I am having a problem with consuming messages using WebLogic 10.2's JMS to
send messages to my Flex client.

The error I am getting is the following:

*ArgumentError: Error #2173: Unable to read object in stream.  The class
weblogic.jndi.internal.WLEventContextImpl does not implement
flash.utils.IExternalizable but is aliased to an externalizable class.*

I am essentially customizing the trader desktop application to work in a
weblogic cluster ( as a POC / load testing tool ).

In my messaging-config.xml I have the following destination configured:




0


1000
0
false
true
.


topic
javax.jms.TextMessage

weblogic.jms.ConnectionFactory

LCDSLoadTestTopic
NON_PERSISTENT
DEFAULT_PRIORITY
AUTO_ACKNOWLEDGE
false

















My JMS topic is configured in Weblogic 10.2 as follows:


http://www.bea.com/ns/weblogic/90"; xmlns:sec="
http://www.bea.com/ns/weblogic/90/security"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"; xmlns:wls="
http://www.bea.com/ns/weblogic/90/security/wls"; xsi:schemaLocation="
http://www.bea.com/ns/weblogic/920 http://www.bea.com/ns/weblogic/920.xsd";>
  
LCDSLoadTestTopic
  


Does anybody have any idea what I might be missing, and why the object is
not able to be deserialized by Flex? It works fine using the messaging built
into LCDS, but that doesn't work well in a clustered environment, so I need
to use the appserver's JMS capabilities.

Thanks in advance!

Nick


Re: [Spam] RE: [flexcoders] mx:ControlBar horizontalAlign="right" - doesn'twork?

2009-11-27 Thread Nick Middleweek
This is a bit old but i had the same problem again and it's quite easy to
fix by setting the width of the controlBar :-)


  



Thanks to my work colleague Gilles! :)






2009/10/6 Nick Middleweek 

> It just stays left aligned...
>
> that's odd... Could there be anything that is over riding it?
>
>
> Thanks,
> Nick
>
>
>
>
> 2009/10/5 Alex Harui 
>
>
>>
>>  Works for me.  What did you see?
>>
>>
>>
>> Alex Harui
>>
>> Flex SDK Developer
>>
>> Adobe Systems Inc. <http://www.adobe.com/>
>>
>> Blog: http://blogs.adobe.com/aharui
>>
>
>


[flexcoders] Re: How to test if an object contains a certain property?

2009-11-12 Thread Nick Middleweek
Thanks for your help guys... that works perfectly!...


[flexcoders] How to test if an object contains a certain property?

2009-11-12 Thread Nick Middleweek
Hello,

Does anyone know if it's possible to check if an object has a given
property?

objADGLD is of type AdvancedDataGridListData which always contains a
property called .item

Looking at the debugger, objADGLD.item's Declared Type can either be an
Object or XML in different situations.

When it is an Object I want test if objADGLD.item.GroupLabel exists.

In JavaScript, I could've done this...

if ((objADGLD.item) && (objADGLD.item.GroupLabel))
{ // do something... }

... but it doesn't seem to be working for me in Flex.



Are there any good object inspection routines to help with this?


Thanks,
Nick


Re: [Spam] RE: [flexcoders] tabbing between headerRenderers?

2009-11-11 Thread Nick Middleweek
Alex,

I've sorted it... My mistake.. I wasn't using the correct event and I needed
to assign it using AS, not MXML...

http://pastebin.com/d5a59014b


Thanks for your help!!!! :)

Nick



2009/11/11 Nick Middleweek 

> Hey Alex,
>
> Thanks for your reply... I'm finding that event.preventDefault isn't
> working for me...
>
> This is it in a new flex web app...
>
> http://pastebin.com/m40b6a13c
>
> And when I run it in debug mode, click into the text input and press any
> key, I can see the keyCode but cancelable = false and therefore
> event.preventDefault isn't working. Do you have any clues to how I can make
> cancelable = true? It's a R/O property so perhaps I need to do something to
> the text object?
>
>
>
> Thanks for any help..
>
> Nick
>
>
>
>
> 2009/11/10 Alex Harui 
>
>
>>
>>  Yes.  You will need to override keyFocusChange event, call
>> preventDefault and change focus to another TextInput
>>
>>
>>
>> Alex Harui
>>
>> Flex SDK Developer
>>
>> Adobe Systems Inc. <http://www.adobe.com/>
>>
>> Blog: http://blogs.adobe.com/aharui
>>
>>
>>
>
>


Re: [Spam] RE: [flexcoders] tabbing between headerRenderers?

2009-11-11 Thread Nick Middleweek
Hey Alex,

Thanks for your reply... I'm finding that event.preventDefault isn't working
for me...

This is it in a new flex web app...

http://pastebin.com/m40b6a13c

And when I run it in debug mode, click into the text input and press any
key, I can see the keyCode but cancelable = false and therefore
event.preventDefault isn't working. Do you have any clues to how I can make
cancelable = true? It's a R/O property so perhaps I need to do something to
the text object?



Thanks for any help..

Nick




2009/11/10 Alex Harui 

>
>
>  Yes.  You will need to override keyFocusChange event, call preventDefault
> and change focus to another TextInput
>
>
>
> Alex Harui
>
> Flex SDK Developer
>
> Adobe Systems Inc. <http://www.adobe.com/>
>
> Blog: http://blogs.adobe.com/aharui
>
>
>


[flexcoders] tabbing between headerRenderers?

2009-11-10 Thread Nick Middleweek
Hi,

I've got a text input in each of my headerRenderers on my Adv Data Grid...
Can anyone suggest a good way to allow tabbing between the headerRenderers
text input objects?

Have I got to roll my own? as in detect which one I'm in and then on key
press, detect the tab and try put the focus in to the next one?... Mm...


Any suggestions are really welcome :)


Thanks,
Nick


[flexcoders] Re: Sending a message to each headerRenderer of an Adv DataGrid?

2009-11-10 Thread Nick Middleweek
I can this now :)

There's a headerItems array property on the Adv DG that I can loop and
invoke a method to tell the headerRenderers to do something...

Here's some sample code to loop through all the headerItems but only invoke
the method if the header is of a certain Renderer...

for(var intLoop:int = 0; intLoop < advancedDataGrid.headerItems[0].length;
intLoop++){
   if(advancedDataGrid.headerItems[0][intLoop] is HeaderFilterRenderer)

HeaderFilterRenderer(advancedDataGrid.headerItems[0][intLoop]).clearFilter();
}


Hope that helps someone...



Nick




2009/11/10 Nick Middleweek 

> Hello,
>
> At the moment, we are using EventBroker.subscribe within the
> headerRenderer's of a DataGrid so they can listen out for a "CLEAR_FILTERS"
> event. This fires a function to set the textinput object to "" which is
> inside the headerRenderer.
>
> Does anyone know any other way to talk to the headerRenderer to tell it to
> do something without it having to subscribe to a custom event?
>
> I had the same problem with itemRenderers and I've overcome it by
> creating/modifying an attribute flag on the XML which I then text for on the
> itemRenderers listData setter function.
>
>
> Nick
>
>


[flexcoders] Sending a message to each headerRenderer of an Adv DataGrid?

2009-11-10 Thread Nick Middleweek
Hello,

At the moment, we are using EventBroker.subscribe within the
headerRenderer's of a DataGrid so they can listen out for a "CLEAR_FILTERS"
event. This fires a function to set the textinput object to "" which is
inside the headerRenderer.

Does anyone know any other way to talk to the headerRenderer to tell it to
do something without it having to subscribe to a custom event?

I had the same problem with itemRenderers and I've overcome it by
creating/modifying an attribute flag on the XML which I then text for on the
itemRenderers listData setter function.


Nick


[flexcoders] Re: How to disable the folder/tree icon in Adv Data Grid?

2009-11-10 Thread Nick Middleweek
Actually, just to add to this... I've taken this project over from someone
else and there is a feature that groups the data and for that we do need the
treeColumn which is why it's being shown.

Is there a way to only use the treeColumn if the grouping is activated and
not if the dataProvider:XML has children?


Mmmm... Perhaps there's another way to do this...

What I'm actually trying to do is display the address data in the grid and
when a button is clicked, it asks the parent to fire an URL Request to load
the productDetails XML for that address row, this is then appended to the
the Address node XML, which in turn will (hopefully) cause my listData
setter to be modified for that row so I can then set the sub-Data Grid to
visible = true.


Has anyone else loaded data dynamically for a sub-Data Grid in side an
itemRenderer of an Advanced Data Grid?


Thanks,
Nick




2009/11/10 Nick Middleweek 

> Hello,
>
> I've got an Advanced Data Grid that lists XML data in the following
> (simplified) form...
>
> 
> 
> 
>
> Clicking a button in the Adv Data Grid row, appends a child XML node to the
> row clicked so it looks like this...
>
> 
>   
> 
> 
>   
> 
>
> This product data is then to be displayed in a DataGrid under one of the
> column renderers.
>
> My initial problem is that now the  node has children, the Adv
> Data Grid is now showing a folder icon, as if it is expandable and it is
> overriding my item Renderer - is it possible to stop this?
>
>
> Thanks for any help...
>
>
> Nick
>
>
>


[flexcoders] How to disable the folder/tree icon in Adv Data Grid?

2009-11-10 Thread Nick Middleweek
Hello,

I've got an Advanced Data Grid that lists XML data in the following
(simplified) form...





Clicking a button in the Adv Data Grid row, appends a child XML node to the
row clicked so it looks like this...


  


  


This product data is then to be displayed in a DataGrid under one of the
column renderers.

My initial problem is that now the  node has children, the Adv Data
Grid is now showing a folder icon, as if it is expandable and it is
overriding my item Renderer - is it possible to stop this?


Thanks for any help...


Nick


Re: [Spam] [flexcoders] Re: Memory leak with Data Grid and Item Renderers

2009-11-09 Thread Nick Middleweek
Hi,

There doesn't seem to be a removeAllChildren() method of the Advanced Data
Grid.

Also, when I test test the numChildren property it only gives me 4 but I've
got a renderer (child) for each of the 9 columns over 20 rows = 180...

I've just found a rendererArray which is an Array of Arrays for the
renderers for each row/Column... I'm hoping I may be able to delete the
'children' this way? have you ever used this property?

or perhaps there's another way to delete the 'children' of the Adv Data
Grid?


Thanks,
Nick




2009/11/6 valdhor 

>
>
> I don't think you can do that. Item renderers are created automatically.
>
> If it were me, I would probably removeAllChildren from the datagrid and add
> each column again. This should create new renderers as required.
>
>
>


Re: [flexcoders] What's up with Flashbuilder beta2 and the export release build

2009-11-04 Thread Nick Collins
Um.. that's why it's Beta.

On Tue, Nov 3, 2009 at 6:41 PM, djhatrick  wrote:

>
>
> Takes a half hour, then says my project has errors and can't do it -- the
> compiler can't find em i guess -- what a suck-a-thon!
>
>  
>


Re: [Spam] [flexcoders] addEventListner help

2009-10-30 Thread Nick Middleweek
Hi,

As far as i'm aware the event is fired, which in turn calls a function that
is set using button.addEventListener(MOUSE.CLICK, myClickHandler)


So when the CLICK event fires on the button object it invokes
"myClickHandler" pasing it an event object.


if you want to call another function at the end of the myClickHandler, I
guess you cuold just call it at the bottom of that function.



Nick





2009/10/30 Darrin Kay 

>
>
> can some explain how these work?
>
> I have a function that calls an event, and on completion of the event I
> want another function to kick off.  How do I do this?
>
> thanks,
>  D
>  
>


[flexcoders] Skinning a scrollbar with Symbols, SWFs with poor mans Flash CS?

2009-10-23 Thread Nick Middleweek
Hi,

By looking at the .css file from a ScaleNine theme I think I've worked out
how to reskin a scrollbar in Flex using symbols from a .SWF file

I've also stumbled across a tutorial that shows how to do it using PNG
images.

I'm guessing the advantage to using Symbols in SWF's is that the images can
be vector bsaed in case the flex is scaled using ScaleX and ScaleY (and my
does for the visually impaired).


My problem is I don't have Flash and I'm guessing to create symbols I need
it?

Is there a poor mans Flash app? I just want to somehow embed my vector
images inside the SWF correctly.


Thanks for any help on this fine Friday :)

Nick


Re: [flexcoders] Developing Flash/Flex on Linux

2009-10-21 Thread Nick Collins
Personally, I'm not all that concerned about Flex Builder running on Linux,
in and of itself. Now if they ported the Creative Suite as well, I would be
totally psyched. Unfortunately, as long as CS is only available on Windows
or OSX, I'm going to be tied to those platforms.

That being said, for those who want to code on Linux, IntelliJ IDEA is an
excellent editor, and feature for feature, FDT will have a very hard time
competing with it with their current pricing. IDEA is $250 for a single
developer license, and that includes MXML support, integrated debugger, Flex
Unit integrated with the IDE, etc. To get the same features in FDT, you'd
have to pay more than 3X that.

On Wed, Oct 21, 2009 at 5:36 PM, Kelly  wrote:

>
>
> I don't get what is so hard about supporting Linux.
>
> Eclipse is Java based.
>
> Eclipse runs perfectly on pretty much all platforms.
>
> Not sure why Adobe took a big dump on Flexbuilder Linux.
>
> I was totally OK with using Flexbuilder on Linux with all the missing
> features that Windose Flexbuilder has except that Flexbuilder Linux never
> worked right even though it was crippled.
>
>
> I have never used FDT but I have heard it works pretty well.
>
>
>
> If people are having a hard time getting Java software to run
> cross-platform then I question why.
>
>
> The countless other Eclipse plugins I use don't have a 2 year lag between
> Windose and Linux versions because JAVA IS CROSS-PLATFORM.
>
>
>
>
> If you guys make FDT work on Linux I will check it out.
>
> Adobe obviously doesn't give half a crap about Linux.
>
>
>
>
>
>
>
>
> fonzibruno wrote:
>
>
>
> Powerflasher, the creators of FDT, the Flash/Flex IDE, is seriously
> considering investing to support the a Linux version of FDT, if interested
> let us
> know.
>
> Bruno Fonzi & the FDT Team
> http://fdt.powerflasher.com
>
>
>


Re: [Spam] [flexcoders] Re: how to dynamically change the icon of a Button?

2009-10-15 Thread Nick Middleweek
Thanks Steve! :)


you never fail :)



2009/10/15 valdhor 

>
>
> This should send you in the right direction...
>
> http://blog.benstucki.net/?p=42
>
>


[flexcoders] how to dynamically change the icon of a Button?

2009-10-15 Thread Nick Middleweek
Hello,

At the moment I've been doign this kind of thing for my buttons...




But I've been asked to change it so that the icon path can be changed using
a FlashVar, perhaps using CSS?...

I'm ok with FlashVars but I'm not sure how to assign the image icon
dynamically?

Has anyone done this before?


Thanks,
Nick


Re: [Spam] RE: [SPAM] Re: [Spam] Re: [flexcoders] Checkbox in Datagrid

2009-10-15 Thread Nick Middleweek
Ah ok... Thanks Tracy...

Is that a bit like Application.application ?




2009/10/15 Tracy Spratt 

>
>
>  An item renderer is a component and has its own scope.  “outerDocument”
> is a reference to the renderer’s parent document.  You use it to access
> public properties of the parent.
>
>
>
> Tracy Spratt,
>
> Lariat Services, development services available
>


Re: [Spam] [Spam] [flexcoders] Re: How do you understand the style properties and what values they need?

2009-10-15 Thread Nick Middleweek
Cheers Steve,

I didn't modify the default.css - I created a new one with the same name at
the top of the MXML file that contains the Adv DataGrid...


Thanks for the links...


Nick




2009/10/15 valdhor 

>
>
> I wouldn't modify any styles in the defaults.css file. I would create a new
> style and apply it to the headerDragProxyStyleName parameter.
>
> I learned what I know from documents like:
>
> http://livedocs.adobe.com/flex/3/html/help.html?content=styles_01.html
> http://livedocs.adobe.com/flex/3/langref/flash/text/StyleSheet.html
> http://www.loscavio.com/downloads/blog/flex3_css_list/flex3_css_list.htm
>
> HTH
>
> Steve
>
>


Re: [Spam] [flexcoders] Re: How do you understand the style properties and what values they need?

2009-10-15 Thread Nick Middleweek
Ahhh... :)

Sorry about this thread... I've just removed the backgroundColor, tried it
again and the black border has appeared.

I've tried adding a color: #FF;  but that seems to be ignored no matter
what I do?...


So I'm still stuck and confused :)


Cheers,
Nick




2009/10/15 Nick Middleweek 

> Hi again :)
>
> In fact, this didn't fully work... it only implemented a green
> backgroundColor...
>
> The border styles were completely ignored, Mmmm?...
>
>
> :)
>
>
>
>
> 2009/10/15 Nick Middleweek 
>
>>
>> e.g. By chance I just tried this and alas it worked but my question now is
>> is everything just guess work or is there a way to find out what else I have
>> in my armoury... :)
>>
>> .headerDragProxyStyle {
>>   borderColor: black;
>>   borderStyle: sold;
>>   borderThickness: 3;
>>   backgroundColor: green;
>> }
>>
>>
>


Re: [Spam] [flexcoders] Re: How do you understand the style properties and what values they need?

2009-10-15 Thread Nick Middleweek
 Hi again :)

In fact, this didn't fully work... it only implemented a green
backgroundColor...

The border styles were completely ignored, Mmmm?...


:)




2009/10/15 Nick Middleweek 

>
> e.g. By chance I just tried this and alas it worked but my question now is
> is everything just guess work or is there a way to find out what else I have
> in my armoury... :)
>
> .headerDragProxyStyle {
>   borderColor: black;
>   borderStyle: sold;
>   borderThickness: 3;
>   backgroundColor: green;
> }
>
>


Re: [Spam] Re: [flexcoders] Checkbox in Datagrid

2009-10-15 Thread Nick Middleweek
Hey Angleo,

Just curious here but what's the outerDocument. prefix for on the change
event for?


Cheers,
Nick




2009/10/15 Angelo Anolin 

>
>
> Agha,
>
> You need to use Itemrenderer to render your checkbox control inside your
> gridview:
>
> 
>   
> 
>/>
> 
>   
> 
>
> and then in your script section, declare a function (i.e.
> checkbox_changed())
>
> public function checkbox_changed() :void
> {
>   Alert.show('Test');
> }
> When you check/uncheck your checkbox on the datagrid, the alert message
> should show.
>
> I hope this helps.
>
> Angelo
>
>
>


Re: [Spam] Re: [flexcoders] Checkbox in Datagrid

2009-10-15 Thread Nick Middleweek
Hey Angleo,

Just curious here but what's the outerDocument. prefix for on the change



2009/10/15 Angelo Anolin 

>
>
> Agha,
>
> You need to use Itemrenderer to render your checkbox control inside your
> gridview:
>
> 
>   
> 
>/>
> 
>   
> 
>
> and then in your script section, declare a function (i.e.
> checkbox_changed())
>
> public function checkbox_changed() :void
> {
>   Alert.show('Test');
> }
> When you check/uncheck your checkbox on the datagrid, the alert message
> should show.
>
> I hope this helps.
>
> Angelo
>
>
>


Re: [Spam] [flexcoders] Re: How do you understand the style properties and what values they need?

2009-10-15 Thread Nick Middleweek
Hey Valdhor... Thanks for your reply, that's really helpfull...

I've looked up default.css and this is all it is...

.headerDragProxyStyle
{
fontWeight: "bold";
}

Do you how I can find out what CSS attributes can be used with the
.headerDragProxyStyle CSS style and against other Flex objects?... I'm sure
there's a few rules to follow where I can use the docs to lookup the answers
but I'm having trouble getting my head round it :-)

e.g. By chance I just tried this and alas it worked but my question now is
is everything just guess work or is there a way to find out what else I have
in my armoury... :)

.headerDragProxyStyle {
  borderColor: black;
  borderStyle: sold;
  borderThickness: 3;
  backgroundColor: green;
}


Thanks  :-)



2009/10/14 valdhor 

>
>
> In line...
>
>
> --- In flexcoders@yahoogroups.com , Nick
> Middleweek  wrote:
> >
> > Hello,
> >
> > I've found this Cheat sheet:
> > http://www.scribd.com/doc/2966310/Adobe-flex-3-cheat-sheet which looks
> > great...
> >
> > I'm trying to figure out how I can cheat with it as well :)
> >
> > e.g. Button > Styles > borderColor = "0xAAB3B3" - this is a hex color,
> easy!
> > :-)
> >
> > But what about this one...
> >
> > Button > Style > disabledSkin = "mx.skins.halo.ButtonSkin" - What does
> this
> > mean? Where is it? Can I change it?
>
> It is a skin. You can create your own and use it. If I were you I would
> copy the ButtonSkin.as file and modify it to what you need. BTW. The
> ButtonSkin.as file is found (At least, on my machine) at ...Flex Builder 3
> install
> directory\sdks\3.4.0\frameworks\project\framework\src\mx\skins\halo\ButtonSkin.as
>
> > Here's another... :)
> >
> > DataGrid > Styles > headerColors = "[#FF, #E6E6E6]" - I've used this
> one
> > and it's a gradient.
> >
> > but can someone help me with this please?...
> >
> > DataGrid > Styles > headerDragProxyStyleName = "headerDragProxyStyle".
>
> headerDragProxyStyle is a CSS style. It is defined in ...Flex Builder 3
> install directory\sdks\3.4.0\frameworks\project\framework\defaults.css.
>
> >
> >
> > Also, is "headerDragProxyStyle" affected if I use a headerRenderer?
>
> Now, that, I have no idea.
>
> > Thanks for any help or links so i can read up...
> >
> > Cheers,
> > Nick
> >
>
>  
>


[flexcoders] How do you understand the style properties and what values they need?

2009-10-14 Thread Nick Middleweek
Hello,

I've found this Cheat sheet:
http://www.scribd.com/doc/2966310/Adobe-flex-3-cheat-sheet  which looks
great...

I'm trying to figure out how I can cheat with it as well :)

e.g. Button > Styles > borderColor = "0xAAB3B3" - this is a hex color, easy!
:-)

But what about this one...

Button > Style > disabledSkin = "mx.skins.halo.ButtonSkin" - What does this
mean? Where is it? Can I change it?


Here's another... :)

DataGrid > Styles > headerColors = "[#FF, #E6E6E6]" - I've used this one
and it's a gradient.

but can someone help me with this please?...

DataGrid > Styles > headerDragProxyStyleName = "headerDragProxyStyle".


Also, is "headerDragProxyStyle" affected if I use a headerRenderer?


Thanks for any help or links so i can read up...

Cheers,
Nick


Re: [Spam] [flexcoders] Re: Can I fix the right hand column to the right side of the Adv Data Grid?

2009-10-14 Thread Nick Middleweek
Thanks for your reply on this, I'll check out those posts...

I'll try adjusting the width as well - thanks... In general, can I just set
measuredWidth of the column to a new value?

or is that a read only property?


Thanks,
nick



2009/10/14 valdhor 

>
>
> No. From my understanding, this is a restriction of the data grid. Once the
> datagrid is measured any remaining space is allocated to the last column.
>
> More info can be gleaned from one of Alex's posts at
> http://tech.groups.yahoo.com/group/flexcoders/message/141826
>
> Just thinking about it, one possible way to achieve this may be to check
> the measured width and then adjust it so there is only 31 pixels available
> to the last column. I haven't done this so don't know how to do it.
>
>


[flexcoders] headerDragProxyStyleName property on an Adv Data Grid?

2009-10-14 Thread Nick Middleweek
Hi,

When dragging to move columns on my Adv Data Grid, the user is saying it's
not visible enough.

I'm thinking I can make it easier to see byt changing the style property
called "headerDragProxyStyleName" - but I could be wrong.

I can't find anywhere that gives me a breakdown of what CSS properties makes
up the "headerDragProxyStyleName" property. if that makes sense? I'm
thinking it has a border, font, etc?


Or is there another way to make the dragging highlight more visible?


Thanks,
Nick


[flexcoders] data and listData

2009-10-14 Thread Nick Middleweek
Hi,

What is the difference between data and listData and why you use one over
the other?

In an Adv Data Grid, I've been told that .data may render incorrect
information and .listData with getters and setters are the way forward but I
seem to be using .data ok and can cast it to XML to reach into the other
column values...

I'm a bit lost :)


Cheers,
Nick


Re: [flexcoders] Catalyst with Flex Builder

2009-10-14 Thread Nick Collins
Technically, yes it is possible to open the code in Flex Builder 3. However,
code created in Catalyst is only compatible with the Flex 4.0.0 SDK, so you
will have to configure FB3 to use the Flex 4 SDK. The Adobe Open Source site
has instructions on how to do this, I believe.

On Wed, Oct 14, 2009 at 3:00 AM, Christophe
wrote:

>
>
> Hello,
>
> Is it possible to use Catalyst with Flex Builder 3 ?
>
> I have an image design for a web application, and I want to transform it
> into Flex code.
>
> I am searching for a freelance that can make this operation.
>
> Thnak you,
> Christophe,
>
>  
>


[flexcoders] Can I fix the right hand column to the right side of the Adv Data Grid?

2009-10-13 Thread Nick Middleweek
Hi,

I have an Adv Data Grid and I'd like to fix the last (right hand) column to
the far right hand side and so it only occupies 31 pixels.

I've got a load of columns in the grid and the 1st and 2nd are fixed width,
the ones in the middle are variable and the last column is set to 31 pixels
but I'm finding it is being as a variable width.

Is it possible to fix it to the far right side?


Thanks,
Nick


Re: [Spam] RE: [flexcoders] How to create a zoom UI object?

2009-10-12 Thread Nick Middleweek
Hello... I'm back...

I'm thinking I can use the PopUpButton object for this...

I'll let you know how I get on :)


Cheers,
Nick




2009/10/12 Nick Middleweek 

> Hi Alex,
>
> Loving the combox box - good work, I'll have to pinch that if that's OK :)
>
> Do you know if it's possible to attach a combox to a button?
>
> I want to replicate the Internet Explorer Zoom button in the bottom right
> of the browser. That has an icon in the button but you click to expand it,
> it doesn't show an icons, just different percentage values.
>
> If this was HTML/CSS, I'd just use a bunch of DIV tags to render a custom
> object but I'm not advanced with Flex yet...
>
>
> yet he says :)
>
>
> Cheers...
> Nick
>
>
>
>
>  2009/10/9 Alex Harui 
>
>>
>>
>>  There are iconcombobox examples out there. I have one on my blog
>>
>>
>>
>> Alex Harui
>>
>> Flex SDK Developer
>>
>> Adobe Systems Inc. <http://www.adobe.com/>
>>
>> Blog: http://blogs.adobe.com/aharui
>>
>>
>>
>> *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
>> Behalf Of *Nick Middleweek
>> *Sent:* Friday, October 09, 2009 7:39 AM
>> *To:* flexcoders@yahoogroups.com
>> *Subject:* [flexcoders] How to create a zoom UI object?
>>
>>
>>
>>
>>
>> Hi,
>>
>> I'm hoping to create a little zoom UI object - like the one you find at
>> the bottom-right of IE.
>>
>> I'm guessing I could use a ComboxBox? But I can't figure out how to drop
>> an icon on it...
>>
>> Or is there a better way of doing this? Perhaps a button that when clicked
>> just shows a popup?
>>
>>
>> I think I need a few pointers so any guidance would be great... :)
>>
>>
>> Thanks,
>> Nick
>>
>>   
>>
>
>


Re: [Spam] RE: [flexcoders] How to create a zoom UI object?

2009-10-12 Thread Nick Middleweek
Hi Alex,

Loving the combox box - good work, I'll have to pinch that if that's OK :)

Do you know if it's possible to attach a combox to a button?

I want to replicate the Internet Explorer Zoom button in the bottom right of
the browser. That has an icon in the button but you click to expand it, it
doesn't show an icons, just different percentage values.

If this was HTML/CSS, I'd just use a bunch of DIV tags to render a custom
object but I'm not advanced with Flex yet...


yet he says :)


Cheers...
Nick




2009/10/9 Alex Harui 

>
>
>  There are iconcombobox examples out there. I have one on my blog
>
>
>
> Alex Harui
>
> Flex SDK Developer
>
> Adobe Systems Inc. <http://www.adobe.com/>
>
> Blog: http://blogs.adobe.com/aharui
>
>
>
> *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
> Behalf Of *Nick Middleweek
> *Sent:* Friday, October 09, 2009 7:39 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] How to create a zoom UI object?
>
>
>
>
>
> Hi,
>
> I'm hoping to create a little zoom UI object - like the one you find at the
> bottom-right of IE.
>
> I'm guessing I could use a ComboxBox? But I can't figure out how to drop an
> icon on it...
>
> Or is there a better way of doing this? Perhaps a button that when clicked
> just shows a popup?
>
>
> I think I need a few pointers so any guidance would be great... :)
>
>
> Thanks,
> Nick
>
>   
>


Re: [Spam] [flexcoders] what is wrong with this code?

2009-10-12 Thread Nick Middleweek
Hi,

Try sticking inside your init function...


private function init():void
{
  var str:String = "Area = ";
  var area:Number = Math.PI * Math.pow(3, 2);
  str = str + area.toString();
  Alert.show(str);
}

And you probably need a toString() method after the area because it's a
Number and needs converting if you want to concat it to a String.


Nick


Re: [Spam] RE: [flexcoders] How to create a zoom UI object?

2009-10-09 Thread Nick Middleweek
Thanks Alex, I'll take a look on your blog...



2009/10/9 Alex Harui 

>
>
>  There are iconcombobox examples out there. I have one on my blog
>
>
>
> Alex Harui
>
> Flex SDK Developer
>
> Adobe Systems Inc. <http://www.adobe.com/>
>
> Blog: http://blogs.adobe.com/aharui
>
>
>
> *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
> Behalf Of *Nick Middleweek
> *Sent:* Friday, October 09, 2009 7:39 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] How to create a zoom UI object?
>
>
>
>
>
> Hi,
>
> I'm hoping to create a little zoom UI object - like the one you find at the
> bottom-right of IE.
>
> I'm guessing I could use a ComboxBox? But I can't figure out how to drop an
> icon on it...
>
> Or is there a better way of doing this? Perhaps a button that when clicked
> just shows a popup?
>
>
> I think I need a few pointers so any guidance would be great... :)
>
>
> Thanks,
> Nick
>
>   
>


[flexcoders] How to create a zoom UI object?

2009-10-09 Thread Nick Middleweek
Hi,

I'm hoping to create a little zoom UI object - like the one you find at the
bottom-right of IE.

I'm guessing I could use a ComboxBox? But I can't figure out how to drop an
icon on it...

Or is there a better way of doing this? Perhaps a button that when clicked
just shows a popup?


I think I need a few pointers so any guidance would be great... :)


Thanks,
Nick


[flexcoders] Relative font size to the browser?

2009-10-08 Thread Nick Middleweek
Hi,

I've tried searching for this one... Is it possible to set the font sizes of
Flex objects relative to the browser's font/ zoom setting?

In an ideal world, I'd like to let the font sizes increase and decrease if
the browsers font/ zoom setting is changed.

Has anyone needed to do anything similar?


Thanks in advance,
Nick


[flexcoders] Data Grid as itemRenderer not getting mouse events

2009-10-07 Thread Nick Middleweek
Hello,

I have an Adv Data Grid and Column 1's itemRenderer is set to an MXML
component that has a DataGrid in it.

This (sub) DataGrid is shown when a button is clicked in another column.
Works great, but...

I'm trying to resize the columns of the sub DataGrid but the mouse events
don't seem to be getting through... Except for in Column 1 of the main Adv
DataGrid and also column 3 which has a custom itemRenderer set for that
column.

The (sub) DataGrid has *resizableColumns="true"*.


I can see that where the columns of 1 and 3 start and finish, mouse events
are getting through and the (sub)DataGrid's rows are being highlighted on
mouseOver as well.

I guess I could create an itemRenderer for all the columns in the Adv
DataGrid but am wondering why this is happening. Is something else being set
on the AdvDataGrid to let the mouse events through when using a custom
itemRenderer? Is there a property I can set instead?


Thanks,
Nick


Re: [Spam] RE: [flexcoders] mx:ControlBar horizontalAlign="right" - doesn'twork?

2009-10-06 Thread Nick Middleweek
It just stays left aligned...

that's odd... Could there be anything that is over riding it?


Thanks,
Nick




2009/10/5 Alex Harui 

>
>
>  Works for me.  What did you see?
>
>
>
> Alex Harui
>
> Flex SDK Developer
>
> Adobe Systems Inc. <http://www.adobe.com/>
>
> Blog: http://blogs.adobe.com/aharui
>


[flexcoders] mx:ControlBar horizontalAlign="right" - doesn't work?

2009-10-05 Thread Nick Middleweek
Hi,

I've got this MXML...


  


... and I'm trying to get the button to be right aligned it doesn't work.

Am I missing something?


Thanks,
Nick


Re: [flexcoders] Re: Is Adobe Customer Support (or worse yet adobe) falling apart

2009-09-15 Thread Nick Collins
I'd probably try to contact Robert Christensen or Mike Chambers about the
AIR beta.

On Tue, Sep 15, 2009 at 10:47 AM, Jim Hayes  wrote:

>
>
>
> Mmmm, just taken me 3/4 hour to get though after a wait of 2 weeks odd for
> a reply on the "support portal" which asked me to ring.
> I've been told that "AIR is a free product" and outside their remit to
> provide support on my issue.
> The perfectly nice guy was unable to give me any help on where to take it
> from there, so I've just had to continue with the online thing.
>
> Well, I do support myself and appreciate the difficulties even for a small
> company, but just the same...
>
> In case any wonderful Flexcoders people have any experience of this one,
> I'll fling it out here - any ideas gratefully received!
> (for what it's worth, I think it's most likely something to do with me the
> SDK used for compilation (probably 3.2 but I'd need to check), but could be
> very wrong there)
>
> On a related point - anyone know who to speak to getting to be an AIR beta
> tester?
> I've requested it online specifically and each time I've done the AIR
> reditribution agreement - never heard anything.
> In this particular case AIR was updated pretty well right on our shipping
> date and I had no time to resolve it - I've I'd been testing before the
> release I might have caught and fixed it first.
> We normally release a disk every month or so, so it's an ongoing issue,
> however.
>
> --
>
> Friday, 7 August 2009 11:53:35 o'clock BST
> Following the recent update to AIR runtime 1.5.2 I'm experiencing some
> issues with the built in app updater on windows platforms tha
> t I've not seen prior to this release.
> I'm using flash.desktop.Updater.Updater.update() directly on a downloaded
> .air update package.
>
> on windows Vista and windows 7, the update runs , but suffers a GUI freeze
> and eventually needs to be forcibly stopped via task mana
> ger.
> The new update is actually installed, but it seems that there is some
> difficulty after that, I'm guessing with removing temp files c
> reated in that process.
> I've attached a copy of .airappinstall.log taken after force quitting the
> update installer (Which had run for twenty minutes - norma
> ly it would be complete in one or two)
>
> on WIndows XP, everything appears to be fine, but a temp file is left in
> [installDirectory]\META-INF\AIR.
> This is also the case in vista/7, upon inspection this temp file contains
> our publisherID.
> Unfortunately, if you uninstall the application then this temp file gets
> left behind, meaning a subsequent install of the applicatio
> n is unable to install to the same directory unless you manually delete
> this stray temp file.
>
> Unfortunately, when I create a very basic app to demonstrate the problem
> everything seems to work fine - I only seem to be getting t
> his on our somewhat larger commercial products.
>
> Any ideas? Where do I go from here?
>
> Let me know if there is any more information I can provide that would be
> helpful
>
> Many thanks,
> regards,
> Jim Hayes
>
>
> -Original Message-
> From: flexcoders@yahoogroups.com  on behalf
> of hank williams
> Sent: Fri 9/11/2009 7:43 PM
> To: flexcoders@yahoogroups.com 
> Subject: Re: [flexcoders] Re: Is Adobe Customer Support (or worse yet
> adobe) falling apart
>
> I have to go out now and so cant leave the phone off hook. But 1hr 15mins
> with no response. I am sure it would have been many more hours.
>
> On Fri, Sep 11, 2009 at 1:28 PM, hank williams 
> >
> wrote:
>
> > Starting now. I dont have 3 hours again but lets see how far we get...
> >
> >
> > On Fri, Sep 11, 2009 at 1:19 PM, turbo_vb 
> > >
> wrote:
> >
> >>
> >>
> >> US - 800-833-6687.
> >>
> >>
> >> -TH
> >>
> >> --- In flexcoders@yahoogroups.com 
> >>  40yahoogroups.com>, hank
> >> williams  wrote:
> >> >
> >> > By the way, adobe admits there is a problem, so if you got that kind
> of
> >> > response, I promise it is not normal.
> >> >
> >> > see: http://www.adobe.com/support/open_letter_to_adobe_customers/
> >> >
> >> > On Fri, Sep 11, 2009 at 1:09 PM, hank williams  wrote:
> >> >
> >> > > what country are you in... and if US, what number did you dial?
> >> > >
> >> > >
> >> > > On Fri, Sep 11, 2009 at 1:06 PM, turbo_vb  wrote:
> >> > >
> >> > >>
> >> > >>
> >> > >> Sounds like you're not having very good luck Hank. As an
> interesting
> >> > >> coincidence, I had to contact Adobe customer service today to
> resolve
> >> an
> >> > >> issue. I just switched from PC to Mac and at the same time upgraded
> >> from CS3
> >> > >> to CS4. My issue was that the upgrade wouldn't recognize my
> previous
> >> > >> product's serial number, because it was on a different platform. I
> >> went to
> >> > >> the Adobe site, clicked the support button, selected my country and
> >> called
> >> > >> the 800 number. They answered after 5 minutes. Pretty good compared
> >> to 3
> >> > >> hours. The initial rep took

Re: [flexcoders] Re: BlazeDS use secure channel when loaded over https.

2009-09-11 Thread Nick Collins
Depending on your environment that would be a great option. It doesn't work
for us because our Flex apps live within a federated portal environment.
Because of the way Adobe has implemented their support for WSRP, it
currently only supports a single channel.

On Fri, Sep 11, 2009 at 9:51 AM, Tom Chiverton  wrote:

>
>
> On Friday 11 Sep 2009, Nick Collins wrote:
> > You might put something like the following code in a preinitialize event
> > handler:
>
> You could just but both a secure and non-secure channel in the Channels
> list... it's what we do.
> The connection should 'fall down' the list.
>
> --
> Helping to assertively monetize proactive magnetic cross-media portals as
> part
> of the IT team of the year, '09 and '08
>
> 
>
> This email is sent for and on behalf of Halliwells LLP.
>
> Halliwells LLP is a limited liability partnership registered in England and
> Wales under registered number OC307980 whose registered office address is at
> Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list
> of members is available for inspection at the registered office together
> with a list of those non members who are referred to as partners. We use the
> word ?partner? to refer to a member of the LLP, or an employee or consultant
> with equivalent standing and qualifications. Regulated by the Solicitors
> Regulation Authority.
>
> CONFIDENTIALITY
>
> This email is intended only for the use of the addressee named above and
> may be confidential or legally privileged. If you are not the addressee you
> must not read it and must not use any information contained in nor copy it
> nor inform any person other than Halliwells LLP or the addressee of its
> existence or contents. If you have received this email in error please
> delete it and notify Halliwells LLP IT Department on 0870 365 2500.
>
> For more information about Halliwells LLP visit www.Halliwells.com.
>  
>


Re: [Spam] [flexcoders] Re: printing off the Adobe Flex References?

2009-09-11 Thread Nick Middleweek
OK, thanks... I guess readin through the others will take me so long we'll
be on v4 or 5 :)



2009/9/9 valdhor 

>
>
> Not that I've found.
>
> Although, it's a moving target (3.0 - 3.4 so far) so it's probably better
> left as HTML.
>
>
> --- In flexcoders@yahoogroups.com , Nick
> Middleweek  wrote:
> >
> > I've got these PDF's...
> http://www.adobe.com/support/documentation/en/flex/
> >
> > But is there a good way to print off the language reference?
> >
> >
> > Thanks,
> > Nick
> >
>
>  
>


Re: [flexcoders] Re: BlazeDS use secure channel when loaded over https.

2009-09-11 Thread Nick Collins
You might put something like the following code in a preinitialize event
handler:

const reUrl:RegExp =
/(http|https):\/\/(([^:]+)(:([...@]+))?@)?([^:\/]+)(:([0-9]{2,5}))?(\/([\w#!:.?+=&%...@!\-\/]+))?/;

const appUrl:String = Application.application.url;
const parts:Array = reUrl.exec(appUrl);
if (!parts) throw new Error("Invalid URL: " + appUrl);

if (parts[1] == "http" )
{
const channels:XMLList = ServerConfig.xml..channels.channel;
for (var channel:String in channels)
{
if
(channels[channe...@type=="mx.messaging.channels.SecureAMFChannel")
{
channels[channe...@type="mx.messaging.channels.AMFChannel";
   }
}
}

This will, on the preinitialize event, grab the url the app is being called
from, parse it with a regular expression, check to see if it's being called
from http rather than https, and modify the channels accordingly to operate
on a regular AMFChannel instead of a SecureAMFChannel.

Nick Collins

On Thu, Sep 10, 2009 at 4:27 PM, Wesley Acheson wrote:

>
>
> Does anyone else know where I can ask or point me somewhere I might find
> more information?
>
> Regards,
>
> Wesley Acheson
>
>
> On Wed, Sep 9, 2009 at 5:28 PM, Wesley Acheson 
> wrote:
>
>> Hi all,
>>
>> We are nearing the end of a development cycle. One thing that I just
>> noticed is that my application is talking over http instead of https when
>> the application is loaded from a https domain.
>>
>> In live we will not have any http element of the domain active, only
>> https. However locally there is no https component.  Is there any way of
>> loading off a secure channel when the flash file was loaded via https and a
>> non secure channel otherwise?
>>
>> Otherwise I'm going to have to change all the channels to secure for
>> deployment, and no longer run the application locally.
>>
>> Regards,
>> Wesley Acheson
>>
>
>  
>


[flexcoders] printing off the Adobe Flex References?

2009-09-09 Thread Nick Middleweek
I've got these PDF's... http://www.adobe.com/support/documentation/en/flex/

But is there a good way to print off the language reference?


Thanks,
Nick


[flexcoders] How to organise Flex projects and call one from another?

2009-09-07 Thread Nick Middleweek
Hi,

I'm working on some prototype Flex work and I've been given about seven
projects and I need to make some tweaks...

One of the tasks I've been asked to open a screen in one project when a
button is clicked in another project. I understand the concept of passing
FlashVars via QueryStrings and then set the viewstacks to show the right
screen but I'm stumped with how to load the other project?

What's the best way to achieve this without things getting messy?


Thanks,
Nick


[flexcoders] Flex Builder help system

2009-09-07 Thread Nick Middleweek
Hello,

Is there a way to change Flex Builder 3 so that when I press F1 over a
component, rather than the help page open within FB3, can it open up in a
web browser?


Thanks,
Nick


[flexcoders] Alert.show for debug mode only

2009-09-05 Thread Nick Middleweek
Hi,

When coding, I often use Alert.show to give me debug messages. I know there
is the trace() command but sometimes, quite often, having an dialog is just
easier.

I also have a a DEBUG_MODE const set to true/ false to get data and do
various other things in development mode, rather than when in production.

I'm sure it'll be quite easy to extend the Alert.show so that we can have
something like DebugAlert.show which take into account the DEBUG_MODE const,
or perhaps DEBUG_MODE could be a property of the DebugAlert class and I
could just use that instead...


Before I write this, has anyone else done something similar that I could use
:) or are there some other usefull tools out there already for this kind of
thing?


Thanks,
Nick


Re: [Spam] [flexcoders] Re: What does [Bindable("dataChange")] do?

2009-09-03 Thread Nick Middleweek
Hi, thanks for the reply...

I can see similarities in the example to the code I'm looking at but my
setter doesn't dispatch an event - does this mean the
[Bindable("dataChange")]  isn't needed?


Also, is [Bindable("dataChange")] specific to the data property or the
IDataRender Class?... I mean is it a coincidence that the property is called
"data" and the event is called "data"Change?

Or does the IDataRenderer dictate that there must be this
[Bindable("dataChange")] meta tag in order for the data getter and setter to
function correctly.

INterfaces are new to me as well :)


Cheers,
Nick





2009/9/3 valdhor 

>
>
> Check the documentation at
> http://livedocs.adobe.com/flex/3/langref/mx/core/IDataRenderer.html.
>
> --- In flexcoders@yahoogroups.com , Nick
> Middleweek  wrote:
> >
> > i'm still new to Flex... I'm going through someone's code and i'm
> wondering
> > what *[Bindable("dataChange")]* does.
> >
> > It's in an ItemRenderer MXML file for an Advanced DG. it's not inside any
> > function, it's near the top, underneath the import statements and
> variable
> > declarations and before the first function.
> >
> > Can anyone shed some light on it please?
> >
> >
> > Cheers,
> > Nick
> >
>
>  
>


[flexcoders] What does [Bindable("dataChange")] do?

2009-09-03 Thread Nick Middleweek
i'm still new to Flex... I'm going through someone's code and i'm wondering
what *[Bindable("dataChange")]* does.

It's in an ItemRenderer MXML file for an Advanced DG. it's not inside any
function, it's near the top, underneath the import statements and variable
declarations and before the first function.

Can anyone shed some light on it please?


Cheers,
Nick


Re: [Spam] [Spam] Re: [flexcoders] click and doubleClick on the same button?

2009-09-02 Thread Nick Middleweek
Hi George,

This post was part of research into fixing a problem with Event bubbling...
See thread: "Stopping double-click of a button 'bubble' to the datagrid
row".


Cheers,
Nick



2009/9/2 grg_blls 

>
>
> Hi!
>
> May I ask why you need a MouseEvent.CLICK and a MouseEvent.DOUBLE_CLICK
> event on the same button? Wouldn't that be possible to use a simple
> Mouse.CLICK event together with a ctrlKey (or a altKey or shiftKey) pressed?
> Just wondering..
>
> Thanks
> George
>
>
> --- In flexcoders@yahoogroups.com , Nick
> Middleweek  wrote:
> >
> > Beau,
> >
> > Thanks for this code... I've got another question though, I'll post it as
> > another thread...
> >
> >
> > Cheers,
> > Nick
> >
> >
> >
> >
> > 2009/9/1 Beau Scott 
>
> >
> > >
> > >
> > > The only way I've been able to accomplish this is to use a timer to
> filter
> > > out a double click, and then ferry the original click event to an
> eventual
> > > click handler. The downside to this is the hardcoded timer delay
> doesn't
> > > reflect the user's system's double-click delay, and I'm not sure how to
> read
> > > that in (I'm not even sure that Flex uses this anyway).
> > >
> > > Example:
> > >
> > > 
> > > http://www.adobe.com/2006/mxml";
> > > layout="horizontal" xmlns:local="*">
> > > 
> > > 
> > > 
> > >
> > >  > > click="button_clickHandler(event)"
> > > doubleClickEnabled="true"
> > > doubleClick="button_doubClickHandler(event)" />
> > >
> > > 
> > >
> > >
> > >
> > > Hope that helps,
> > >
> > > Beau
> > >
> > >
> > > On Tue, Sep 1, 2009 at 9:27 AM, Nick Middleweek wrote:
> > >
> > >>
> > >>
> > >> Hello,
> > >>
> > >> I'm having difficulty setting both a click and a doubleClick event on
> the
> > >> same button. Is it possible?
> > >>
> > >>
> > >> Thanks,
> > >> Nick
> > >>
> > >>
> > >
> > >
> > > --
> > > Beau D. Scott
> > > Software Engineer
> > >
> > >
> >
>
>  
>


[flexcoders] Re: Stopping double-click of a button 'bubble' to the datagrid row

2009-09-01 Thread Nick Middleweek
Beau + Alex!

Thank you!

I've used event.stopPropagation(); //This is exactly what I needed!


Chers,
Nick



2009/9/1 Nick Middleweek 

> Hello,
>
> I've got an advancedDataGrid (AvDG) and the first column has an item
> renderer which has a button on it. The button has a click handler.
>
> There is also a itemDoubleClick handler on the AvDG.
>
> Users are double-clicking the button so this is firing the click of the
> button handler but the doubleClick event is also being fired on the AvDG row
> item.
>
> I'm guessing this is related to event bubbling or capturing?
>
> I'm trying to stop the AvDG.row doubleClick event being fired if the user
> double clicks on the button.
>
> Anyone got any ideas? I've tried to put a doubleClick on the button in hope
> that it would handle it and therefore stop the row event from being fired
> but ti didn't work.
>
>
> Now I think i need to capture the doubleClick cancel event in the button
> object and prevent it from bubbling from the button to the AvDG. Where do I
> set event.cancelable = true?
>
>
> Thanks,
> Nick
>
>


[flexcoders] Stopping double-click of a button 'bubble' to the datagrid row

2009-09-01 Thread Nick Middleweek
Hello,

I've got an advancedDataGrid (AvDG) and the first column has an item
renderer which has a button on it. The button has a click handler.

There is also a itemDoubleClick handler on the AvDG.

Users are double-clicking the button so this is firing the click of the
button handler but the doubleClick event is also being fired on the AvDG row
item.

I'm guessing this is related to event bubbling or capturing?

I'm trying to stop the AvDG.row doubleClick event being fired if the user
double clicks on the button.

Anyone got any ideas? I've tried to put a doubleClick on the button in hope
that it would handle it and therefore stop the row event from being fired
but ti didn't work.


Now I think i need to capture the doubleClick cancel event in the button
object and prevent it from bubbling from the button to the AvDG. Where do I
set event.cancelable = true?


Thanks,
Nick


Re: [Spam] Re: [flexcoders] click and doubleClick on the same button?

2009-09-01 Thread Nick Middleweek
Beau,

Thanks for this code... I've got another question though, I'll post it as
another thread...


Cheers,
Nick




2009/9/1 Beau Scott 

>
>
> The only way I've been able to accomplish this is to use a timer to filter
> out a double click, and then ferry the original click event to an eventual
> click handler. The downside to this is the hardcoded timer delay doesn't
> reflect the user's system's double-click delay, and I'm not sure how to read
> that in (I'm not even sure that Flex uses this anyway).
>
> Example:
>
> 
> http://www.adobe.com/2006/mxml";
> layout="horizontal" xmlns:local="*">
> 
> 
> 
>
>  click="button_clickHandler(event)"
> doubleClickEnabled="true"
> doubleClick="button_doubClickHandler(event)" />
>
> 
>
>
>
> Hope that helps,
>
> Beau
>
>
> On Tue, Sep 1, 2009 at 9:27 AM, Nick Middleweek wrote:
>
>>
>>
>> Hello,
>>
>> I'm having difficulty setting both a click and a doubleClick event on the
>> same button. Is it possible?
>>
>>
>> Thanks,
>> Nick
>>
>>
>
>
> --
> Beau D. Scott
> Software Engineer
>  
>


[flexcoders] click and doubleClick on the same button?

2009-09-01 Thread Nick Middleweek
Hello,

I'm having difficulty setting both a click and a doubleClick event on the
same button. Is it possible?


Thanks,
Nick


Re: [Spam] Re: [flexcoders] Creating a flex library project that referencesa remote SVN path?

2009-08-28 Thread Nick Middleweek
Ah nice one Jeffry... Thanks for your reply...

Linked driectories... Ok, I'll look into those.

Some guy at work has just said download teh SVN, do an export to clean the
SVN files and use the SWC in my main flex projects lib folder... That sound
about right?


Cheers,
Nick



2009/8/28 Jeffry Houser 

>
>
>
>  Most likely you would check out code from the SVN repository so that it is
> local.  After that, you can add the source code to your project in multiple
> ways.  One of them is to add a linked directory pointing to the source
> code.  Another is to compile your own SWC with the source code and add that
> swc to the library path of your project.
>
> Nick Middleweek wrote:
>
>
>
> Hello,
>
> Is it even possible to create a flex library project that references a
> remote SVN path?? I'm trying to use the birdeye qavis graphing library and
> I've been told to create a flex library project and set the src to the
> remote SVN location...
>
> How do i do that? I'm stumped...
>
> I'm using FB3 with Subclipse installed if that helps.
>
>
> Cheers,
> Nick
>
>
> --
> Jeffry Houser, Technical Entrepreneur
> Adobe Community Expert: 
> http://tinyurl.com/684b5hhttp://www.twitter.com/reboog711  | Phone: 
> 203-379-0773
> --
> Easy to use Interface Components for Flex 
> Developershttp://www.flextras.com?c=104
> --http://www.theflexshow.comhttp://www.jeffryhouser.com
> --
> Part of the DotComIt Brain Trust
>
>  
>


[flexcoders] Creating a flex library project that references a remote SVN path?

2009-08-28 Thread Nick Middleweek
Hello,

Is it even possible to create a flex library project that references a
remote SVN path?? I'm trying to use the birdeye qavis graphing library and
I've been told to create a flex library project and set the src to the
remote SVN location...

How do i do that? I'm stumped...

I'm using FB3 with Subclipse installed if that helps.


Cheers,
Nick


Re: [Spam] RE: [Spam] RE: [Spam] [flexcoders] Question on Flex Script Execution + Alert.show

2009-08-27 Thread Nick Middleweek
Tracy/ Beau...

Thanks for your replies...That's helped me understand how things work a bit
more...

I'm going to try it though! haha :-)


Cheers,
Nick



2009/8/27 Tracy Spratt 

>
>
>  Flex procedural code is essentially single threaded.  The loop will stop
> all other processing, the handler will never get called, and the loop will
> never stop.
>
>
>
> There is NO sleep or delay or pause or anything like that in Flex.  You
> must use events.
>
>
>
> Tracy Spratt,
>
> Lariat Services, development services available
>   --
>
> *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
> Behalf Of *Nick Middleweek
> *Sent:* Thursday, August 27, 2009 6:43 AM
> *To:* flexcoders@yahoogroups.com
> *Subject:* Re: [Spam] RE: [Spam] [flexcoders] Question on Flex Script
> Execution + Alert.show
>
>
>
>
>
> Why won't it work? I can't see why it wouldn't... I'm still learning Flex
> so perhaps I've overlooked something.
>
> I do agree, it is bad coding but I can't see why it wouldn't work.
>
> The boolAlertContinue variable is in affect acting like semaphore...
>
>
> Cheers,
> Nick
>
>
>
>  2009/8/27 Tracy Spratt 
>
>
>
> No, no, no, this will not work.  You must use the event mechanism.
>
>
>
> Tracy Spratt,
>
> Lariat Services, development services available
>   --
>
> *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
> Behalf Of *Nick Middleweek
> *Sent:* Wednesday, August 26, 2009 7:33 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* Re: [Spam] [flexcoders] Question on Flex Script Execution +
> Alert.show
>
>
>
>
>
> I'm not sure if this technique is frowned upon but...
>
>
> You could have a new private var boolAlertContinue:Boolean = false;
>
> In your alertHandler function, you would set it to true... boolAlertContinue
> = true;
>
> And after the Alert.show and before the if(myAlert == 1) you need to do a
> do while loop...
>
> do {
>
>   //Not sure if there's a 'dummy' command to prevent CPU hog so we'll just 
> check the time...
>
>
>
>   var dtmNow:Date = new Date();
>
> }
>
> while (boolAlertContinue);
>
>
> or you could probably initialise your myAlert:int = null and in the do ...
> while loop check for (myAlert != null)
>
>
> Cheers,
> Nick
>
>
>  2009/8/26 Angelo Anolin 
>
>
>
> Hi FlexCoders,
>
> This has puzzled me a bit..
>
> I have the following scripts in my application:
>
> private var myAlert:int;
>
> private function testFunction(evt:Event):void
> {
>   Alert.show('do you want to proceed', 'Title', Alert.YES | Alert.NO, null,
> alertHandler, null, Alert.YES);
>
>   if(myAlert == 1)
>   {
> // Do Something here
>   }
>   else
>   {
> // Do other thing here
>   }
> }
>
> Private function alertHandler(evt:CloseEvent)
> {
>   if(evt.Detail == Alert.YES)
>   {
> myAlert = 1;
>   }
>   else
>   {
> myAlert = -1;
>   }
> }
>
> Now, what puzzles me is that the script after the Alert.show is triggered,
> the scripts following it are also triggered.
>
> Is there a way to ensure that the script following the Alert.show alert box
> would only be executed after the Yes or No buttons has been pressed?
>
> I won't be able to move the scripts after the Alert.show script to the
> alertHandler event since there are some objects being set / modified prior
> to the alert being called.
>
> Inputs highly appreciated.
>
> Thanks.
>
>
>
>
>   
>


Re: [Spam] RE: [Spam] [flexcoders] Question on Flex Script Execution + Alert.show

2009-08-27 Thread Nick Middleweek
Why won't it work? I can't see why it wouldn't... I'm still learning Flex so
perhaps I've overlooked something.

I do agree, it is bad coding but I can't see why it wouldn't work.

The boolAlertContinue variable is in affect acting like semaphore...


Cheers,
Nick




2009/8/27 Tracy Spratt 

>
>
>  No, no, no, this will not work.  You must use the event mechanism.
>
>
>
> Tracy Spratt,
>
> Lariat Services, development services available
>   --
>
> *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
> Behalf Of *Nick Middleweek
> *Sent:* Wednesday, August 26, 2009 7:33 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* Re: [Spam] [flexcoders] Question on Flex Script Execution +
> Alert.show
>
>
>
>
>
> I'm not sure if this technique is frowned upon but...
>
>
> You could have a new private var boolAlertContinue:Boolean = false;
>
> In your alertHandler function, you would set it to true... boolAlertContinue
> = true;
>
> And after the Alert.show and before the if(myAlert == 1) you need to do a
> do while loop...
>
> do {
>
>   //Not sure if there's a 'dummy' command to prevent CPU hog so we'll just 
> check the time...
>
>   var dtmNow:Date = new Date();
>
> }
>
> while (boolAlertContinue);
>
>
> or you could probably initialise your myAlert:int = null and in the do ...
> while loop check for (myAlert != null)
>
>
> Cheers,
> Nick
>
>
>
>  2009/8/26 Angelo Anolin 
>
>
>
> Hi FlexCoders,
>
> This has puzzled me a bit..
>
> I have the following scripts in my application:
>
> private var myAlert:int;
>
> private function testFunction(evt:Event):void
> {
>   Alert.show('do you want to proceed', 'Title', Alert.YES | Alert.NO, null,
> alertHandler, null, Alert.YES);
>
>   if(myAlert == 1)
>   {
> // Do Something here
>   }
>   else
>   {
> // Do other thing here
>   }
> }
>
> Private function alertHandler(evt:CloseEvent)
> {
>   if(evt.Detail == Alert.YES)
>   {
> myAlert = 1;
>   }
>   else
>   {
> myAlert = -1;
>   }
> }
>
> Now, what puzzles me is that the script after the Alert.show is triggered,
> the scripts following it are also triggered.
>
> Is there a way to ensure that the script following the Alert.show alert box
> would only be executed after the Yes or No buttons has been pressed?
>
> I won't be able to move the scripts after the Alert.show script to the
> alertHandler event since there are some objects being set / modified prior
> to the alert being called.
>
> Inputs highly appreciated.
>
> Thanks.
>
>
>   
>


Re: [Spam] [flexcoders] Question on Flex Script Execution + Alert.show

2009-08-26 Thread Nick Middleweek
I'm not sure if this technique is frowned upon but...


You could have a new private var boolAlertContinue:Boolean = false;

In your alertHandler function, you would set it to true... boolAlertContinue
= true;

And after the Alert.show and before the if(myAlert == 1) you need to do a do
while loop...

do {
  //Not sure if there's a 'dummy' command to prevent CPU hog so we'll
just check the time...
  var dtmNow:Date = new Date();
}
while (boolAlertContinue);


or you could probably initialise your myAlert:int = null and in the do ...
while loop check for (myAlert != null)


Cheers,
Nick




2009/8/26 Angelo Anolin 

>
>
> Hi FlexCoders,
>
> This has puzzled me a bit..
>
> I have the following scripts in my application:
>
> private var myAlert:int;
>
> private function testFunction(evt:Event):void
> {
>   Alert.show('do you want to proceed', 'Title', Alert.YES | Alert.NO, null,
> alertHandler, null, Alert.YES);
>
>   if(myAlert == 1)
>   {
> // Do Something here
>   }
>   else
>   {
> // Do other thing here
>   }
> }
>
> Private function alertHandler(evt:CloseEvent)
> {
>   if(evt.Detail == Alert.YES)
>   {
> myAlert = 1;
>   }
>   else
>   {
> myAlert = -1;
>   }
> }
>
> Now, what puzzles me is that the script after the Alert.show is triggered,
> the scripts following it are also triggered.
>
> Is there a way to ensure that the script following the Alert.show alert box
> would only be executed after the Yes or No buttons has been pressed?
>
> I won't be able to move the scripts after the Alert.show script to the
> alertHandler event since there are some objects being set / modified prior
> to the alert being called.
>
> Inputs highly appreciated.
>
> Thanks.
>
>


Re: [Spam] Re: [Spam] Re: [Spam] Re: [flexcoders] Will Flex Builder be updatedwith 3.4 SDK release?

2009-08-26 Thread Nick Middleweek
ok , thanks...


2009/8/26 Richard Rodseth 

>
>
> Nick
>
> He's using the command line and invoking the MXML compiler with the
> -version option. In FlexBuilder, you can right-click on a project, and
> choose Properties, then choose Flex Compiler.
>
>
> On Wed, Aug 26, 2009 at 7:44 AM, Nick Middleweek wrote:
>
>>
>>
>> Hi Tom,
>>
>> Thanks for your reply but what does this mean:* # /opt/flex/bin/mxmlc
>> -version*
>>
>>
>> Cheers,
>> Nick
>>
>>
>>
>> 2009/8/26 Tom Chiverton 
>>
>>>
>>>
>>> On Wednesday 26 Aug 2009, Nick Middleweek wrote:
>>> > How do I determine what version of the SDK I'm using?
>>>
>>> Surprised you couldn't guess this one:
>>> # /opt/flex/bin/mxmlc -version
>>> Version 3.3.0 build 4852
>>>
>>>
>>
>  
>


Re: [Spam] Re: [Spam] Re: [flexcoders] Will Flex Builder be updated with 3.4 SDK release?

2009-08-26 Thread Nick Middleweek
Hi Tom,

Thanks for your reply but what does this mean:* # /opt/flex/bin/mxmlc
-version*


Cheers,
Nick



2009/8/26 Tom Chiverton 

>
>
> On Wednesday 26 Aug 2009, Nick Middleweek wrote:
> > How do I determine what version of the SDK I'm using?
>
> Surprised you couldn't guess this one:
> # /opt/flex/bin/mxmlc -version
> Version 3.3.0 build 4852
>
>


Re: [Spam] Re: [flexcoders] Will Flex Builder be updated with 3.4 SDK release?

2009-08-26 Thread Nick Middleweek
Hi,

How do I determine what version of the SDK I'm using?


Thanks,
Nick




2009/8/26 Tom Chiverton 

>
>
>
> http://feedproxy.google.com/~r/flexteam/~3/N5sOTl8SLUE/flex_sdk_34_released_and_secur.html<http://feedproxy.google.com/%7Er/flexteam/%7E3/N5sOTl8SLUE/flex_sdk_34_released_and_secur.html>
>
> --
> Helping to heterogeneously deploy ubiquitous fifth-generation visionary
> e-business as part of the IT team of the year, '09 and '08
>
> 
>
> This email is sent for and on behalf of Halliwells LLP.
>
> Halliwells LLP is a limited liability partnership registered in England and
> Wales under registered number OC307980 whose registered office address is at
> Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list
> of members is available for inspection at the registered office together
> with a list of those non members who are referred to as partners. We use the
> word ?partner? to refer to a member of the LLP, or an employee or consultant
> with equivalent standing and qualifications. Regulated by the Solicitors
> Regulation Authority.
>
> CONFIDENTIALITY
>
> This email is intended only for the use of the addressee named above and
> may be confidential or legally privileged. If you are not the addressee you
> must not read it and must not use any information contained in nor copy it
> nor inform any person other than Halliwells LLP or the addressee of its
> existence or contents. If you have received this email in error please
> delete it and notify Halliwells LLP IT Department on 0870 365 2500.
>
> For more information about Halliwells LLP visit www.Halliwells.com.
>  
>


[flexcoders] Re: Grouping issue on Advanced DataGrid

2009-08-26 Thread Nick Middleweek
Answer = use GroupingField.groupingFunction :-)

Does anyone know what the groupingObjectFunction does? What is the returned
Object for?


Thanks,
Nick



2009/8/26 Nick Middleweek 

> Hello,
>
> I've got an advanced datagrid with 5 columns, The number_Group column has
> data like this...
>
> 1-10
> 1-10
> 11-20
> 11-20
> 11-20
> 21-30
> 21-30
> 21-30
> 41-50
> 101-110
>
>
> When I apply Grouping, it works as expected but the 101-110 group is
> displayed before the 11-20 group.
>
> I've tried to set groupingField.numeric = true but that screws it up even
> more... because 11-20 isn't a number I'm guessing.
>
> Does anyone know a way around this? I could change the number_Group column
> to this...
>
> 1
> 1
> 11
> 11
> 21
> 41
> 101
>
> and groupingField.numeric = true should work but I need the Grouping
> display to show 1-10, 11-20. Perhaps I can intercept this and modify it?
>
>
> Thanks,
> Nick
>
>


[flexcoders] Grouping issue on Advanced DataGrid

2009-08-26 Thread Nick Middleweek
Hello,

I've got an advanced datagrid with 5 columns, The number_Group column has
data like this...

1-10
1-10
11-20
11-20
11-20
21-30
21-30
21-30
41-50
101-110


When I apply Grouping, it works as expected but the 101-110 group is
displayed before the 11-20 group.

I've tried to set groupingField.numeric = true but that screws it up even
more... because 11-20 isn't a number I'm guessing.

Does anyone know a way around this? I could change the number_Group column
to this...

1
1
11
11
21
41
101

and groupingField.numeric = true should work but I need the Grouping display
to show 1-10, 11-20. Perhaps I can intercept this and modify it?


Thanks,
Nick


[flexcoders] Re: How to loop XML data and adding another attribute?

2009-08-25 Thread Nick Middleweek
I've done it :-)


for each(var address:XML in dataXML.children()){
  var buildingNumber =
address.attribute("Building_Number").toString().replace(/[^0-9]/g, "");
  addre...@building_numeric = buildingNumber;
}


Is there a better or quicker way to do this?


Thanks,
Nick



2009/8/25 Nick Middleweek 

> Hello,
>
> I've got some XML data in a variable called dataXML, it looks similar to
> this...
>
> 
>   
>   
>   
>   
>   
>   
>   
> /
>
>
> What I'd like to do is loop round the data and add another attribute called
> building_numeric which is the parseInt(building_number attribute).
>
> I'm sure this is really easy but can someone give me a pointer please...
> I'm getting a tad lost...
>
>
> Thank you,
> Nick
>
>


[flexcoders] How to loop XML data and adding another attribute?

2009-08-25 Thread Nick Middleweek
Hello,

I've got some XML data in a variable called dataXML, it looks similar to
this...


  
  
  
  
  
  
  
/


What I'd like to do is loop round the data and add another attribute called
building_numeric which is the parseInt(building_number attribute).

I'm sure this is really easy but can someone give me a pointer please... I'm
getting a tad lost...


Thank you,
Nick


Re: [Spam] RE: [flexcoders] Resizeble columns that don't shrink theneighbouring column

2009-08-25 Thread Nick Middleweek
Alex,

You star, that's sorted it, thank you! :)





2009/8/25 Alex Harui 

>
>
>  If horizontalScrollPolicy=”off” (default) all columns are packed onto the
> screen and some will be adjusted so they fit.  If you know which column you
> want to see shrink as the other grows, set that column’s size as well.
>
>
>
> For the other horizontalScrollPolicy values, you shouldn’t have this
> problem
>
>
>
> Alex Harui
>
> Flex SDK Developer
>
> Adobe Systems Inc. <http://www.adobe.com/>
>
> Blog: http://blogs.adobe.com/aharui
>
>
>
> *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
> Behalf Of *Nick Middleweek
> *Sent:* Tuesday, August 25, 2009 12:28 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] Resizeble columns that don't shrink the
> neighbouring column
>
>
>
>
>
> Hello,
>
> I'm working on someone elses code, it's an Advanced Data Grid that has
> resizeable columns.
>
> When column A is made bigger, this makes Column B smaller which is annoying
> the users. Is there a way to prevent this or do I have to write my code to
> support this feature?
>
>
> Thanks in advance,
> Nick
>
>   
>


[flexcoders] Resizeble columns that don't shrink the neighbouring column

2009-08-25 Thread Nick Middleweek
Hello,

I'm working on someone elses code, it's an Advanced Data Grid that has
resizeable columns.

When column A is made bigger, this makes Column B smaller which is annoying
the users. Is there a way to prevent this or do I have to write my code to
support this feature?


Thanks in advance,
Nick


Re: [Spam] [flexcoders] Pb with URLVariables

2009-08-21 Thread Nick Middleweek
Hey Christopher,

I've just pasted this code into a test flex app in it's init() function and
debugged it after the second variables property was assigned.

They both contain "EUR".



var variables:URLVariables = new URLVariables();
var cur:String;

cur = "EUR";
variables.currency_code = cur;

variables.currency_codes = "EUR";

//debugged here




What are you experiencing?

Nick




2009/8/21 christophe_jacquelin 

>
>
> Hello,
>
> The following code is not working:
>
> var variables:URLVariables = new URLVariables();
> var cur:String;
>
> cur = "EUR";
> variables.currency_code = cur;
>
> But this code is working :
>
> variables.currency_code = "EUR";
>
> What could be the problem ?
> Thank you,
> Christopher,
>
>  
>


Re: [Spam] RE: [flexcoders] 5 Datagrids ontop of each other, one resizes andthe ones below shift up or down?

2009-08-20 Thread Nick Middleweek
Alex... I've tested it out and it works nicely... Thanks again!

No I just need to learn about animated transistions so it's bounces between
the sizes... :-)


http://www.adobe.com/2006/mxml"; layout="absolute"
styleName="plain">




















    









2009/8/20 Nick Middleweek 

> Alex,
>
> Awesome, that makes total sense now! of course, the VBox will naturally
> flow the objects downwards...
>
> Thanks!!! :-)
>
>
>
>
>
>
> 2009/8/20 Alex Harui 
>
>
>>
>>  Should just be VBox with 5 DG’s in it.  Set rowCount to change its size.
>>
>>
>>
>> Alex Harui
>>
>> Flex SDK Developer
>>
>> Adobe Systems Inc. <http://www.adobe.com/>
>>
>> Blog: http://blogs.adobe.com/aharui
>>
>>
>>
>> *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
>> Behalf Of *Nick Middleweek
>> *Sent:* Wednesday, August 19, 2009 1:20 PM
>> *To:* flexcoders@yahoogroups.com
>> *Subject:* [flexcoders] 5 Datagrids ontop of each other, one resizes and
>> the ones below shift up or down?
>>
>>
>>
>>
>>
>> Hi guys,
>>
>> Excuse the subject of this post :-)  But it does sum up what I'm trying to
>> achieve.
>>
>> I want to have 5 DataGrids ontop of each other in a vertical arrangement
>> (A bit like the rows in Excel are ontop of each).
>>
>> In the bottom right of each DG, I want a little button that when clicked,
>> expands/ collapses it's DG.
>>
>> When e.g. DG_2 is expanded, I want DG_1 to remain where it is but DG_3,
>> DG_4 and DG_5 to shunt downwards and DG_2 will be expanded down to say ten
>> rows.
>>
>> What is the best way to achieve this? Or should I be looking into
>> DividedBox components? Or does the Tile Component help me?
>>
>> Or do I write it all myself using maths and do the resizing using top and
>> bottom properties of the DG's?
>>
>>
>> Thanks for any help...
>>
>>
>> Nick
>>
>>   
>>
>
>


[flexcoders] How do I test if the DG row is a grouping row?

2009-08-20 Thread Nick Middleweek
Hi,

I've been asked to fix a problem with an existing project that has some
icons rendered (using an ItemRenderer) in the 1st column.

I need to NOT display these icons when the grouping function is activated
and the row is a grouping tree.

The ItemRenderer component has a get and set override function for
"listData" and I've tried testing the .hasChildren inside the set function
but it's always false even when the grouping function is expanded - perhaps
I've misunderstood it.


What's the best approach to test this?


Thanks in advance!

Nick


Re: [Spam] Re: [Spam] [flexcoders] ImageSnapshot without scroll bars?

2009-08-20 Thread Nick Middleweek
OK, that's amazing...

Is there not a way to test if the scrollbars are actually visible? Different
from the scrollbar visible policy?...

You could always crop the image I guess? can you do that in Flex/ AS?

Or you could force scrollbars to be visible and then always crop the image
that's produced...



Nick



2009/8/20 flexjunker 

>
>
> Hey Nick, yeah ImageSnapShot is a class that basically takes a UI component
> and spits out the bitmapData, which you can encode as a jpg / png.
>
>
> http://www.cs.vu.nl/~eliens/im/assets/flex3/langref/mx/graphics/ImageSnapshot.html<http://www.cs.vu.nl/%7Eeliens/im/assets/flex3/langref/mx/graphics/ImageSnapshot.html>
>
> I just don't want the 'snap' of a container to have any scroll bars,
> although the container does (and needs at this point in time) to have them.
> I'm prolly just going to go with SWFObject and something like swiffit.
>
> Unless anyone can come up with a solution...
>
>  
>


Re: [Spam] RE: [flexcoders] 5 Datagrids ontop of each other, one resizes andthe ones below shift up or down?

2009-08-20 Thread Nick Middleweek
Alex,

Awesome, that makes total sense now! of course, the VBox will naturally flow
the objects downwards...

Thanks!!! :-)






2009/8/20 Alex Harui 

>
>
>  Should just be VBox with 5 DG’s in it.  Set rowCount to change its size.
>
>
>
> Alex Harui
>
> Flex SDK Developer
>
> Adobe Systems Inc. <http://www.adobe.com/>
>
> Blog: http://blogs.adobe.com/aharui
>
>
>
> *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
> Behalf Of *Nick Middleweek
> *Sent:* Wednesday, August 19, 2009 1:20 PM
> *To:* flexcoders@yahoogroups.com
> *Subject:* [flexcoders] 5 Datagrids ontop of each other, one resizes and
> the ones below shift up or down?
>
>
>
>
>
> Hi guys,
>
> Excuse the subject of this post :-)  But it does sum up what I'm trying to
> achieve.
>
> I want to have 5 DataGrids ontop of each other in a vertical arrangement (A
> bit like the rows in Excel are ontop of each).
>
> In the bottom right of each DG, I want a little button that when clicked,
> expands/ collapses it's DG.
>
> When e.g. DG_2 is expanded, I want DG_1 to remain where it is but DG_3,
> DG_4 and DG_5 to shunt downwards and DG_2 will be expanded down to say ten
> rows.
>
> What is the best way to achieve this? Or should I be looking into
> DividedBox components? Or does the Tile Component help me?
>
> Or do I write it all myself using maths and do the resizing using top and
> bottom properties of the DG's?
>
>
> Thanks for any help...
>
>
> Nick
>
>   
>


Re: [Spam] [flexcoders] ImageSnapshot without scroll bars?

2009-08-19 Thread Nick Middleweek
Sorry for the newbie question but what do you mean image snapshot?... Do you
mean take a screen shot of a certain area in flex and save it as a JPEG or
something?


Cheers,
Nick




2009/8/19 flexjunker 

>
>
> Anyone know of how to avoid the scroll bars in an imagesnapshot of a
> container?
>
> Thanks.
>
>  
>


[flexcoders] 5 Datagrids ontop of each other, one resizes and the ones below shift up or down?

2009-08-19 Thread Nick Middleweek
Hi guys,

Excuse the subject of this post :-)  But it does sum up what I'm trying to
achieve.

I want to have 5 DataGrids ontop of each other in a vertical arrangement (A
bit like the rows in Excel are ontop of each).

In the bottom right of each DG, I want a little button that when clicked,
expands/ collapses it's DG.

When e.g. DG_2 is expanded, I want DG_1 to remain where it is but DG_3, DG_4
and DG_5 to shunt downwards and DG_2 will be expanded down to say ten rows.

What is the best way to achieve this? Or should I be looking into DividedBox
components? Or does the Tile Component help me?

Or do I write it all myself using maths and do the resizing using top and
bottom properties of the DG's?


Thanks for any help...


Nick


Re: [Spam] Re: [flexcoders] Fields grouping?

2009-08-19 Thread Nick Middleweek
Tim and Wesley, thanks for your replies... really appreciate it. I've not
been flexing for long so that's for helping me out...

I treid using forms with a border and using a formheader but it didn't give
the look I was after. I guess i can change my UI designs if needed though
but I though the field grouping thing was a standard object in most
development environments... I think the Panel will give me the best
enclosure feel...

One thing I've noticed about Forms is that they're great for vertical
layouts but if I want to have fields side by side then I need to use two
forms and then second having a blank header to force the first field to be
lined up with the field in the first Form. A problem though is pressing tab
in the first form moves the cursor down it's elements and then moving onto
the second. I'm sure there's a way to sort this but will it be a 'hack' -
checking for TAB on keypress events and applying focus to the desired
field... bit messy I guess and prone to breakage.

Am I wrong? Hope so...


Also, where is the Shapes area in FB3? Are there drawing tools or do i have
to draw within a specific container?


Cheers for the help guys!


Nick





2009/8/18 Wesley Acheson 

>
>
>
>
> On Tue, Aug 18, 2009 at 7:07 PM, Nick Middleweek wrote:
>
>>
>>
>> hi guys,
>>
>> Is there a component that allows us to group fields/ objects together? I
>> can't find a built in object, I'm after something visual that i can use to
>> group fields, such as all the address fields together and another group to
>> collate the numerous emails and phone numbers...
>>
> You can use a container with a border I.
>
> I'd personally use Panel.
>
> however there are several ways to do this. Please note this was to be quick
> not pretty.
>
> See below
>
> 
> http://www.adobe.com/2006/mxml";
> layout="absolute" backgroundGradientAlphas="[1.0, 1.0]"
> backgroundGradientColors="[#FF, #FF]">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> 
>
> Or if you want it dynamic you can use something like an accordian.
>
>>
>>
>> Can I draw it? Is there a line tool?
>>
>>
> I think theres lines in the shape area
>
>>
>> Thanks! :)
>>
>> Nick
>>
>>
>>
>>
>  
>


[flexcoders] Fields grouping?

2009-08-18 Thread Nick Middleweek
hi guys,

Is there a component that allows us to group fields/ objects together? I
can't find a built in object, I'm after something visual that i can use to
group fields, such as all the address fields together and another group to
collate the numerous emails and phone numbers...

Can I draw it? Is there a line tool?


Thanks! :)

Nick


Re: [flexcoders] Foaming at the mouth for Flex4... or Flashbuilder4

2009-05-19 Thread Nick Collins
Hey if you're using the Flex SDK, you still ARE a Flex developer.

On Tue, May 19, 2009 at 10:21 AM, djhatrick  wrote:

>
>
> BTW, I am going to keep calling myself a flex developer (pays better)...
>
> When's the beta coming out? June when?
>
> thanks,
> Patrick
>
>  
>


Re: [flexcoders] Pure MVC vs Cairgorm

2009-05-19 Thread Nick Collins
Depends on your requirements. Personally between those two, I lean more
toward PureMVC, although the ideal would be to simply roll your own
"framework" based on only the design patterns you need.

On Tue, May 19, 2009 at 12:44 PM, mhbmarcos  wrote:

>
>
> Hi!!!, which is the best option?
>
>  
>


[flexcoders] Re: Flex to excel sheet report

2009-05-18 Thread Nick
Hi Vikram,

I have been using  a class to convert Datagrid data into html and then
sending to the a small script that will output the Excel data. I used
alot of the code I found here
<http://www.cflex.net/showFileDetails.cfm?ObjectID=298&Object=File&Chann\
elID=1>   but modified it into a class for reuse.

Shoot me an email and I will send you the files if you would like.

Good luck!

Nick



--- In flexcoders@yahoogroups.com, Vikram Singh 
wrote:
>
> I need to create excel report from flex data.
> When clicked on "Excel Button", particular data fetched from database
using amfphp. And put that data in Excel (.csv is preferable) file and
ask to save it on system.
> Is it possible with actionscript?
> any other idea to implement this functionality.
>
> Regards,
> Vikram
>
>
>   Own a website.Get an unlimited package.Pay next to nothing.*Go
to http://in.business.yahoo.com/
>



[flexcoders] Re: Autofilter Datagrid

2009-04-29 Thread Nick
Thanks! 

I had a feeling that was the case. I can paginate no problem BUT I want to 
ensure the filter does iterate over the entire collection. Being that each page 
would essentially have to go back to the server I am not sure the "real time as 
the user types" functionality is going to be feasible beyond the users current 
page. I may have to implement this as a web service call.

Then again I could use a combination of both. Load a manageable amount of 
records per page, enable as you type filtering, and then add a "search entire 
database" option to the filter controls.

Does anyone have any good examples of this filter as you type functionality? 

Thanks again. 

Nick  


--- In flexcoders@yahoogroups.com, Pedro Sena  wrote:
>
> I would not recommend to the things this way.
> 
> I'm thinking that you want to filter the data as user types, like:
> 
> Pe (typed)
> 
> Results:
> 
> Pedro
> Peterson
> ...
> 
> If you want to do this, think twice, each typed letter will trigger an event
> that will iterate over a collection containing 'thousands'(like you said) of
> records. This is a VERY bad idea.
> 
> I would recomend you to implement some pagination mechanism AND the filter
> mechanism, that way your first load will be faster and your filter will not
> iterate over the entire collection.
> 
> Just my 2 cents,
> 
> On Wed, Apr 29, 2009 at 5:51 PM, Nick  wrote:
> 
> >
> >
> > Hello all.
> >
> > I have a DataGrid that is loading thousands of records. I would like to be
> > able to add some filter controls to the top of the screen enabling users to
> > filter the data. I would like the filtering to happen in real time as the
> > user types their query.
> >
> > I know this has been accomplished before I just can't seem to find the best
> > solution.
> >
> > Any thoughts on the best way to approach this?
> >
> > Thanks.
> >
> > Nick
> >
> >  
> >
> 
> 
> 
> -- 
> /**
> * Pedro Sena
> * Systems Architect
> * Sun Certified Java Programmer
> * Sun Certified Web Component Developer
> */
>




[flexcoders] Autofilter Datagrid

2009-04-29 Thread Nick
Hello all. 

I have a DataGrid that is loading thousands of records. I would like to be able 
to add some filter controls to the top of the screen enabling users to filter 
the data. I would like the filtering to happen in real time as the user types 
their query. 

I know this has been accomplished before I just can't seem to find the best 
solution. 

Any thoughts on the best way to approach this? 

Thanks. 

Nick 



[flexcoders] Re: Flex with IBM Websphere / DB2

2009-04-29 Thread Nick
Do you have to communicate directly to the DB2 server AND/OR the application 
server? I would image you have a bunch of options. 

My initial thought is to install unixODBC with the proper driver for connecting 
to DB2. This way you can develop scripts on the Linux server to expose an 
interface to Flex and access the DB2 data. My experience with unixODBC for 
connections to DB2 have been successful when the datasets are small. If you are 
just going to be talking to the Websphere server and the server is already 
exposing web services you can consume them on the Linux server and expose them 
to Flex. 

I am assuming here that the Linux server does have access to DB2 and Websphere. 
At the very least you will probably want to get a LAMP stack running on the 
Linux machine. 

Just some thoughts. 

Nick 


--- In flexcoders@yahoogroups.com, "byte.sensei"  wrote:
>
> I've been working with Flex using .NET HTTP/SOAP web services and MS SQL 
> Server for a while. Recently I started a new project using IBM Websphere 
> Application Server (6.1) and DB2. The environment is setup with a simple 
> Apache/Linux web server (no Websphere or other app server components), then a 
> Webspere App Server 6.1 behind a firewall, and finally a DB2 server (also 
> behind the firewall). The only server that is accessible externally is the 
> Apache/Linux web server.
> 
> My Flex app requires data from the DB2 database, and I'm used to getting it 
> via HTTP/SOAP web service calls. However, with nothing but a bare 
> Apache/Linux web server that is accessible externally, I'm trying to figure 
> out how to best create a simple server-side HTTP listener that will take data 
> requests, communicate with the WAS/DB2 servers, then send the data back to 
> the Flex client.
> 
> What choices/options are there for this scenario? I do have the capability of 
> installing some server-side components to the Apache/Linux web server.
>




Re: [flexcoders] Flex Builder on Linux been scrapped ?

2009-04-28 Thread Nick Collins
Well, if you really want to develop Flex on Linux, you could always check
out IntelliJ IDEA 8.1, which I'm told has pretty nice Flex development
features. Just missing the design view and profiler, really...

On Tue, Apr 28, 2009 at 10:55 AM, Johannes Nel wrote:

>
>
> :(
>
>
> On Tue, Apr 28, 2009 at 4:43 PM, Tom Chiverton <
> tom.chiver...@halliwells.com> wrote:
>
>>
>>
>>
>>
>> It looks like Builder on Linux might be a gonner
>> (http://gruchalski.com/2009/04/22/flex-builder-3-for-linux-on-hold/) -
>> register your support for the product by voting for
>> http://bugs.adobe.com/jira/browse/FB-19053
>>
>>
>>   Tom Chiverton
>>  Developer
>>  Tel: +44 0161 618 5032
>> Fax: +44 0161 618 5099
>>  tom.chiver...@halliwells.com
>>  3 Hardman Square, Manchester, M3 3EB
>>  www.Halliwells.com
>>
>>  
>>
>> This email is sent for and on behalf of Halliwells LLP.
>>
>> Halliwells LLP is a limited liability partnership registered in England
>> and Wales under registered number OC307980 whose registered office address
>> is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.
>> A list of members is available for inspection at the registered office
>> together with a list of those non members who are referred to as partners.
>> We use the word “partner” to refer to a member of the LLP, or an employee or
>> consultant with equivalent standing and qualifications. Regulated by the
>> Solicitors Regulation Authority.
>>
>> CONFIDENTIALITY
>>
>> This email is intended only for the use of the addressee named above and
>> may be confidential or legally privileged. If you are not the addressee you
>> must not read it and must not use any information contained in nor copy it
>> nor inform any person other than Halliwells LLP or the addressee of its
>> existence or contents. If you have received this email in error please
>> delete it and notify Halliwells LLP IT Department on 0870 365 2500.
>>
>> For more information about Halliwells LLP visit www.Halliwells.com.
>>
>>
>>
>
>
> --
> j:pn
> \\no comment
>  
>


Re: [flexcoders] Re: Flex Developer Needed (Fulltime)

2009-04-15 Thread Nick Collins
Hehe, well, everything costs more in Chicago... we do have a 10.25% sales tax

On Wed, Apr 15, 2009 at 2:06 PM, flexaustin  wrote:
>
>
> Senior guys in Austin are 90k.
>
> --- In flexcoders@yahoogroups.com, Nick Collins  wrote:
>>
>> Good luck getting a senior level Flex dev for that pay range. Most
>> senior level guys I know are getting between 100-120k. Granted, that's
>> in Chicago, not the middle of Utah.
>>
>> On Tue, Apr 14, 2009 at 2:37 PM, joshbuhler  wrote:
>> >
>> >
>> > Rain in American Fork, Utah is currently looking for a (preferably
>> > senior
>> > level) Flex developer. This is a full-time position, with great
>> > benefits.
>> >
>> > Details can be found at:
>> > http://mediarain.com/us/employment/flexdeveloper
>> >
>> >
>>
>
> 


Re: [flexcoders] Flex Developer Needed (Fulltime)

2009-04-15 Thread Nick Collins
Good luck getting a senior level Flex dev for that pay range. Most
senior level guys I know are getting between 100-120k. Granted, that's
in Chicago, not the middle of Utah.

On Tue, Apr 14, 2009 at 2:37 PM, joshbuhler  wrote:
>
>
> Rain in American Fork, Utah is currently looking for a (preferably senior
> level) Flex developer. This is a full-time position, with great benefits.
>
> Details can be found at: http://mediarain.com/us/employment/flexdeveloper
>
> 


Re: [flexcoders] SDK 3.3 and flash.* imports

2009-04-03 Thread Nick Collins
I had something similar happen where I could no longer access the
Graphics class. I couldn't use code completion with it, and in fact I
couldn't even compile anything that was using it. Reinstalling Flex
Builder then adding in the newer SDK did fix the problem though.

On Fri, Apr 3, 2009 at 2:13 PM, shanedosch  wrote:
> I am having a problem with the Eclipse IDE since upgrading to SDK 3.3. Not
> only does code complete no longer work for any flash.* packages, but when I
> compile, it periodically removes all flash.* import statements in my .as
> files, meaning I have to go back and manually add those to get the project
> to compile. Its killing my productivity. Anyone got ideas on how to resolve
> this?
>
> Thanks,
> Shane
>
> 


[flexcoders] Re: RemoteObject in AS3 Project

2009-04-01 Thread Nick
Thanks everyone! I really learned alot from your posts!! 

I think I found the solution to my problem. I am using the NetConnection object 
described in this post: 

http://www.oscartrelles.com/archives/as3_flash_remoting_example

It seems to be giving me the same results as I was looking for with the 
RemoteObject path I was going down. 

Any draw back to this approach that I may be missing? 

Thanks! 

Nick


--- In flexcoders@yahoogroups.com, "Nick"  wrote:
>
> Hello all! 
> 
> I am trying to use the RemoteObject class along with ResultEvent etc in an 
> AS3 project in FB3. Ideally I would like to remote out using these objects 
> and not have to load the entire Flex framework within an Application 
> container. Is this possible? I have done some searching and my results 
> suggests it is not BUT I could of sworn I have seen some people doing this a 
> while back. Am I mistaken? 
> 
> I appreciate it!! 
> 
> Thanks. 
> 
> Nick
>




[flexcoders] RemoteObject in AS3 Project

2009-04-01 Thread Nick
Hello all! 

I am trying to use the RemoteObject class along with ResultEvent etc in an AS3 
project in FB3. Ideally I would like to remote out using these objects and not 
have to load the entire Flex framework within an Application container. Is this 
possible? I have done some searching and my results suggests it is not BUT I 
could of sworn I have seen some people doing this a while back. Am I mistaken? 

I appreciate it!! 

Thanks. 

Nick 



Re: [flexcoders] Here's a Flash plugin for iPhone

2009-03-26 Thread Nick Collins
It does required a jailbroken iPhone, as it says you need to use Cydia
or the Installer app to install it. Also of note is it is not a Flash
Player for the iPhone, but rather allows the iPhone to play FLVs.

On Thu, Mar 26, 2009 at 8:24 AM, Tom Chiverton
 wrote:
> On Thursday 26 Mar 2009, oneworld95 wrote:
>> Came across this and wondered what everyone thought of it:
>> http://imobilecinema.com/
>> It's a plugin for the iPhone Safari to run Flash.
>
> That's not via app store, so does it require a hacked iPhone ?
>
> --
> Tom Chiverton
> Helping to ambassadorially improve cross-media global value-added models as
> part of the IT team of the year, '09 and '08
>
> 
>
> This email is sent for and on behalf of Halliwells LLP.
>
> Halliwells LLP is a limited liability partnership registered in England and
> Wales under registered number OC307980 whose registered office address is at
> Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list
> of members is available for inspection at the registered office together
> with a list of those non members who are referred to as partners. We use the
> word ?partner? to refer to a member of the LLP, or an employee or consultant
> with equivalent standing and qualifications. Regulated by the Solicitors
> Regulation Authority.
>
> CONFIDENTIALITY
>
> This email is intended only for the use of the addressee named above and may
> be confidential or legally privileged. If you are not the addressee you must
> not read it and must not use any information contained in nor copy it nor
> inform any person other than Halliwells LLP or the addressee of its
> existence or contents. If you have received this email in error please
> delete it and notify Halliwells LLP IT Department on 0870 365 2500.
>
> For more information about Halliwells LLP visit www.halliwells.com.
> 


Re: [flexcoders] Where I can download Flex 4 Builder trial version?

2009-03-24 Thread Nick Collins
You can't. They did distribute an early preview release at MAX on the
DVD, but it's not available for download yet.

http://labs.adobe.com/technologies/gumbo/

On Tue, Mar 24, 2009 at 11:02 AM, markflex2007  wrote:
> Thanks
>
> Mark
>
> 


Re: [flexcoders] Smallest filesize of a swf in Flex 3 is larger then Flex 2?

2009-03-17 Thread Nick Collins
A big part of that reason is that when you attach any library, be it
the SDK or an external SWC, as a RSL, it is going to increase the size
of a singular app. The reason is that when a library is specified as
an RSL, the ENTIRE library gets loaded, not just the parts that are
"needed", since it doesn't know what classes will be needed.
Additionally, RSLs are all loaded at Frame 1, and are mandatory
(meaning all RSLs are required to be loaded), increasing the load time
if they haven't been downloaded previously.

Where you see the major gains with RSLs is when you are using them
across multiple applications, because rather than re-download the RSL,
it will pull the RSL from the browser cache, speeding the load time,
although it is still loading more classes than otherwise. For this
reason RSLs are usually a bad idea for a single application, because
it will actually have a smaller size all compiled into a single SWF,
and loading bits of the application via modules, which are only loaded
as needed.

Nick

On Mon, Mar 16, 2009 at 8:55 PM, Dan  wrote:
> Hi Flexcoders,
>
> It is always claimed that by caching framework.swz of Flex 3, the swf size
> is always the smaller. However. from the generated linked-report. in Flex 3,
> some classes like RSLloader and some ResourceBundle classes are being added,
> which actually increase the swf size.
>
> Since my application is making up of first loading a shared library, and
> then upon runtime, it loaded other very small modules. These modules are
> making up of very small file size (a few k byte), the overhead added by
> these Flex3 loaders and bundles has largly increase the TOTAL application
> size by a huge amount (cause there are hundreds of this kind of small
> modules when summing up the little increase of this overhead, it becomes M
> byte). The start up time is down a bit (loading the smaller library and
> smaller init app), but the overall brandwidth consumpt much more now.
>
> So is there any way to trim off those overhead? Or I need to compile those
> smaller modules by a Flex 2 compiler?
>
> Anyone have any idea?
>
> Dan
>
> 


Re: [flexcoders] Re: Gumbo / Flex 4 release date estimate?

2009-02-21 Thread Nick Collins
I'm pretty sure that was more of an Alpha, or very, very early beta...
from the information on the opensource.adobe.com it seems they're
still hashing out core features such as the FX namespace for Gumbo
components, etc. so it's nowhere near production ready.

On Sat, Feb 21, 2009 at 1:10 PM, Vivian Richard  wrote:
> But I guess they already have the beta version of Flex builder 4 ready!
> As I understood Flex Builder 4 beta version was distributed among
> the participant of MAX last year at SF. Am I right?
>
> On Sat, Feb 21, 2009 at 10:35 AM, Jeffry Houser  wrote:
>>
>> You can get nightly builds of the Flex SDK from here:
>> http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4
>>
>> As to when they'll slap a "Beta" name on it or release a lex Builder 4
>> beta
>> is anyone's guess. Sometimes that occurs 4-6 months before release, so I'd
>> expect to see something like that before the end of next quarter.
>>
>> Vivian Richard wrote:
>>
>> When the beta version of Flex Builder 4 will be released?
>>
>>
>>
>>
>> On Sat, Feb 21, 2009 at 1:26 AM, Cato Paus  wrote:
>>
>>
>> How to handle the bugeting, we have the Upgrade Plan and Maintenance on
>> Flex builder and LCDS it works greeat each year we pay Adobe a sum, and
>> we always have the last software :)
>> http://www.adobe.com/support/programs/customer/platinum.html
>>
>> --- In flexcoders@yahoogroups.com, "Jason"  wrote:
>>
>>
>> I know there is never an official announcement about release dates
>>
>>
>> from
>>
>>
>> Adobe until right before it happens... I have searched the archives
>> because I know it was mentioned before, but anyone have a good
>> idea/guess when Flexbuilder 4 will be released? Even just your best
>> (somewhat informed) idea of what quarter of 2009 it will be?
>>
>> Budgeting for software for the year is always tough when it comes to
>> stuff like this - we just want to know when to put money aside for
>> this. Thanks!
>>
>> Jason Merrill
>>
>>
>>
>>
>>
>> 
>>
>> --
>> Flexcoders Mailing List
>> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>> Alternative FAQ location:
>>
>> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
>> Search Archives:
>> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
>> Links
>>
>>
>>
>>
>>
>>
>> --
>> Jeffry Houser, Technical Entrepreneur
>> Adobe Community Expert: http://tinyurl.com/684b5h
>> http://www.twitter.com/reboog711 | Phone: 203-379-0773
>> --
>> Easy to use Interface Components for Flex Developers
>> http://www.flextras.com?c=104
>> --
>> http://www.theflexshow.com
>> http://www.jeffryhouser.com
>> --
>> Part of the DotComIt Brain Trust
>>
>>
> 


Re: [flexcoders] Code Generator for Flex/Java/Hibernate/Spring/Maven/BlazeDS

2009-01-17 Thread Nick Collins
I believe much of this functionality is already available for free in
Clear Data Builder from Farata Systems.

On Fri, Jan 16, 2009 at 11:16 PM, Kelly  wrote:
> Hi
>
> I am building a code generator for building enterprise Java/Flex apps.
>
> It is model driven and can generate more then 50% of a Flex/Java project
> front to back.
>
> It currently generates Java and Flex value objects, hibernate layer,
> database schema, DAO's, DAO unit tests, stubs for the functional layer,
> stubs for services layer, config files for all layers, Maven poms,
> deployment scripts for Glassfish, Flex services layer, Flex forms,
> BlazeDS mappings and configs, and more.
>
> I started building it to use for my own projects but I have since
> realized that it might be useful to others as well.
>
> Now I am trying to raise funding to finish developing it and put it online.
>
> In order to raise funds I need to do a little market research.
>
> If anyone who is interested would please answer any of the following
> questions I would appreciate it:
>
> 1. How interested are you in using a Code Generation Service (Software
> Factory) that has the functionality listed above?
>
> 2. How interested in the service would you be if it supported more
> technologies and platforms?
>
> 3. Which other technologies, platforms, languages, or frameworks would
> you like to see it support? It currently supports the technologies that
> I use and a lot of the companies I have worked for use but I can easily
> and quickly add support for other things.
>
> 4. How much would this service be worth to you or your company?
>
> Thank you much and feel free to ask any questions. I will try to have a
> demo online as soon as I can.
>
> --Kelly
>
> 


<    1   2   3   4   5   6   >