Re: [flexcoders] flex library project debug?

2012-06-15 Thread Kenneth Sutherland
It may be that your files are not included in the build path. Right click the library project, go to ‘Flex library build path’, then select the tab ‘Classes’. You will probably find that your classes are being included. If they are included then make sure that the project is being built (just

Re: [flexcoders] Adobe AIR/FlashBuilder 4.6: Create reminder in Android App

2012-06-07 Thread Kenneth Sutherland
check out http://www.jampot.ie/ane/ for some good ANE’s From: sdl1326 Sent: Friday, May 25, 2012 6:57 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Adobe AIR/FlashBuilder 4.6: Create reminder in Android App I am using Flash Builder 4.6 along with Adobe AIR to create an Android App

RE: [flexcoders] How to play a wav audio file in flex

2009-06-16 Thread Kenneth Sutherland
Having just looked at your emails (this plus previous one), this list is for questions and not for just getting someone else to do your code. Try looking at the livedocs or Google for flex examples. In respect to the wav file, why would you wi

RE: [flexcoders] Need help writing alorithm

2009-05-29 Thread Kenneth Sutherland
Not sure I'm getting 100% what you're doing but hopefully this will help you. For page X you would do: Min index = ( X - 1 ) * number of records per page Max index = Min + (number of records per page - 1) So page 1 gives you: Min index is ->(1 - 1) * 4 = 0; Max index is -> 0 + (4 - 1 ) = 3;

RE: [flexcoders] String To Date Conversion

2009-05-26 Thread Kenneth Sutherland
First thing you need to do is to convert the timezone IST into whatever its difference is from GMT. (I have no idea what timezone IST is, so this is not accurate). So your string Tue May 26 18:12:55 IST 2009" would turn into Tue May 26 18:12:55 GMT -0200 2009" once you've done this then you can p

RE: [flexcoders] Zoom on an Image

2009-05-25 Thread Kenneth Sutherland
I've done a basic example of zooming. Check out http://kennethsutherland.com/2009/05/01/zooming-example/ It's not a component but you can look at the source code and then make your own component to fit your own needs. HTH Kenneth. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroup

RE: [flexcoders] Pb With Falsh Player 10

2009-05-20 Thread Kenneth Sutherland
Maybe just a little bit of extra info may be handy here. Like what exactly is going wrong??? From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of christophe_jacquelin Sent: 20 May 2009 09:55 To: flexcoders@yahoogroups.com Subject: [flexcoders] Pb With Falsh Player 1

RE: [flexcoders] LangRef == FAIL

2009-05-19 Thread Kenneth Sutherland
Use this URL to download the zip file http://livedocs.adobe.com/flex/3/flex3_documentation.zip This still works. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of djhatrick Sent: 19 May 2009 16:36 To: flexcoders@yahoogroups.com Subject: [flexcoders] LangRef

RE: [flexcoders] Flash Player 10 and Alchemy

2009-05-18 Thread Kenneth Sutherland
You should find that if you right click your project properties (if you use flexbuilder) then under flex compiler you have a required flash player version. Update this then the html that gets produced will check the users flash player version for you. Kenneth. From: flexcoders@yahoogroups.c

RE: [flexcoders] HyperThreading...

2009-05-18 Thread Kenneth Sutherland
If code is written just using actionscript then yes it is single threaded but if you are doing something that is fairly intensive then you can use the new pixelbender technology to make the flash player use more than one core. Instead of getting pixelbender to manipulate actual pixels you can get

RE: [flexcoders] Sending textinput id

2009-05-15 Thread Kenneth Sutherland
Sorry should have said you should use the 'event.target.id' (in virtually all cases you can get away with using currentTarget, but if you want to be guaranteed to be getting the info from whatever dispatched the event, use target). It all depends on where you are doing the listening. K. The e

RE: [flexcoders] Sending textinput id

2009-05-15 Thread Kenneth Sutherland
The event that gets triggered from a change will contain the textInput and as such it will have the id. All you need to do is get 'event.currentTarget.id' in the change handler function. The currentTarget will be the textInput that triggered the event. (I think that's what your meaning?) HTH

RE: [flexcoders] Dictionary class?

2009-05-12 Thread Kenneth Sutherland
I've used it in the past to get all the unique values from an array or array collection. See http://kennethsutherland.com/2009/04/02/find-all-unique-values-from-arra y-or-collection/ Kenneth. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of luvfotography Sen

[flexcoders] adding to a sprite.

2009-05-06 Thread Kenneth Sutherland
ge doesn't appear. Cheers. realise . Kenneth Sutherland Technical Developer Realise Ltd Quay House, 142 Commercial Street, Leith, Edinburgh EH6 6LB Tel 0131 476 7432 www.realise.com <http://www.realise.com/> Check out some of

RE: [flexcoders] Re: Choppy Move effect..

2009-05-06 Thread Kenneth Sutherland
Have you tried giving it an easing. It's going from static to instant jump straight away and it may not really be jumpy but to the eye it looks like it is a bit. An easing will smooth of the acceleration/deceleration at the start/end of the movement. Easings always make movement look more realist

RE: [flexcoders] Choppy Move effect..

2009-05-06 Thread Kenneth Sutherland
You could try increasing the frame rate (say 50) e.g. Or add a blur (depending on its speed) to make the jumps appear less jumpy. Kenneth. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of vinayakvijay_v Sent: 06 May 2009 10:41 To: flexcoders@yahoogro

RE: [flexcoders] 100,000 buttons

2009-05-05 Thread Kenneth Sutherland
Apart from the obvious question which Paul puts nicely 'For goodness sake, why would you even try and do that?' you could think what do you need to do with that number of buttons. Perhaps try include just the functionality that you require and build your own button from the Sprite class or UICompo

RE: [flexcoders] set camera position for 3d content

2009-05-04 Thread Kenneth Sutherland
It's the perspectiveProjection. When dealing with any 3D objects in flash 10 you really need to set this or it will not behave as you'd expect. Add the following line to your startup function var persp : PerspectiveProjection = new PerspectiveProjection(); persp.projectionCenter

RE: [flexcoders] Draw rectangle to Zoom.

2009-05-01 Thread Kenneth Sutherland
Check out http://kennethsutherland.com/2009/05/01/zooming-example/ for an example. HTH. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of flexaustin Sent: 30 April 2009 14:51 To: flexcoders@yahoogroups.com Subject: [flexcoders] Draw rectangle to Zoom.

RE: [flexcoders] Adding text to Cursor: Dilemma

2009-05-01 Thread Kenneth Sutherland
Have you checked out the SystemManager, it keeps track of all the various layers such as tooltips, cursors, popup windows. If I remember correctly the topmost level is the tooltips and although the docs suggest that you can only have 1 tooltip, this is incorrect. If you made your hovering object

RE: [flexcoders] Re: Very confused with Builder

2009-04-29 Thread Kenneth Sutherland
Subject: [flexcoders] Re: Very confused with Builder I see. Should I manually check a class there every time I am creating one? --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Kenneth Sutherland" wrote: > > Have you made sure that the added &q

RE: [flexcoders] Very confused with Builder

2009-04-29 Thread Kenneth Sutherland
Have you made sure that the added "checkBoxStopPropagation" class is actually getting built into the swc. When you put in new classes to your library project in FB it doesn't automatically include them to get built into the SWC. Right click your library project -> properties -> flex lib build p

RE: [flexcoders] Re: Extend Array

2009-04-29 Thread Kenneth Sutherland
You need to make your FB project flash 10 enabled. See below http://opensource.adobe.com/wiki/display/flexsdk/Targeting+Flash+Player+ 10?rootCommentId=20480208 http://www.communitymx.com/content/article.cfm?page=2&cid=5AC26 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups

RE: [flexcoders] best ftp client

2009-04-29 Thread Kenneth Sutherland
If you're only doing a small amount of uploading and you don't need all the features of a ftp client program (such as all those fancy graphs saying what % has uploaded etc), then windows gives you the ability to use ftp using its explorer (not IE just the usual file manager explorer). Check out

RE: [flexcoders] Re: Signed RSL penetration

2009-04-27 Thread Kenneth Sutherland
, it's really up to them. On 4/24/09 12:51 AM, "Kenneth Sutherland" wrote: Does that mean that any swf you create that uses the flex framework RSLs are not going to get indexed by Google. I've created

RE: [flexcoders] Re: Signed RSL penetration

2009-04-24 Thread Kenneth Sutherland
Does that mean that any swf you create that uses the flex framework RSLs are not going to get indexed by Google. I've created a very simple placeholder page (single front page with just a few text boxes and a link) and as usual I make the framework into a RSL(total overkill in this situation, but

RE: [flexcoders] Polygon Flex Component

2009-04-23 Thread Kenneth Sutherland
http://www.flexibleexperiments.com/Flex/PrimitiveExplorer/Flex2Primitive Explorer.html From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of sbaush09 Sent: 22 April 2009 14:01 To: flexcoders@yahoogroups.com Subject: [flexcoders] Polygon Flex Component Hi

RE: [flexcoders] Expiration date

2009-04-22 Thread Kenneth Sutherland
Depending on what your app does, restricting its use, for example disable saving/loading/copying of text and similar are quite common features to make users upgrade. Or what you could do is put in some code on startup that sent a request to your server to accept a response. Only if the respons

RE: [flexcoders] loading swf's dynamically

2009-04-20 Thread Kenneth Sutherland
Why don't you listen for the complete event. The swfloader will fire of the 'complete' event when its loaded. So you don't try to display it until it has fully loaded. At the same time you can listen to the 'progress' event to see how much has loaded and maybe inform the user that your app is loa

[flexcoders] SWC's with CS4

2009-04-09 Thread Kenneth Sutherland
ing when I create a new var of the type my swc contains. Any ideas (is there a similar flash coders list somewhere that this question might be more appropriate?) Cheers. realise . Kenneth Sutherland Technical Developer Realise Ltd Quay House, 142

RE: [flexcoders] Re: Adobe's stimulus package!!!! FREE FLEX BUILDER!!!!

2009-04-09 Thread Kenneth Sutherland
Try learning how to create and write mxml and as3 code. If you're a beginner to mxml and as3 then you'll find flexbuilder great for learning. Then once you've created a fantastic app/site that will make you money, pay for the software and deploy it. I don't have the free version, but I'm pretty s

RE: [flexcoders] RE: mouse events

2009-03-24 Thread Kenneth Sutherland
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 Kenneth Sutherland Sent: Monday, March 23, 2009 4:07 AM To: flexcoders@yahoogroups.com S

RE: [flexcoders] Negative Mask

2009-03-23 Thread Kenneth Sutherland
You could always try out some of the new pixel bender effects. http://labs.adobe.com/technologies/pixelbender/ they have a invert filter that you can use without having to create your own one, plus others can be found here http://www.adobe.com/cfusion/exchange/index.cfm?event=productHome&exc=2

RE: [flexcoders] How to add more context menu???

2009-03-23 Thread Kenneth Sutherland
Try something like private function getyourMenu () : ContextMenu { var paste:ContextMenuItem = new ContextMenuItem("paste"); paste.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, pasteHandler); var cm:ContextMenu = new ContextMenu(); cm.hideBuiltInItems

[flexcoders] mouse events

2009-03-23 Thread Kenneth Sutherland
vas 1 will not get mouse/roll events. Any ideas how to change this? (canvas 1 has a button that needs mouse events and canvas 2 must listen for the roll events). Thanks. realise . Kenneth Sutherland Technical Developer Realise Ltd Quay House

RE: [flexcoders] flash 10 3D - bug or feature

2009-03-11 Thread Kenneth Sutherland
just one splits the transformations into separate functions and the other does not. Bug or feature?? Cheers. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Kenneth Sutherland Sent: 10 March 2009 14:21 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] flas

RE: [flexcoders] flash 10 3D

2009-03-10 Thread Kenneth Sutherland
still didn't work. I tried changing the translation to translate the box's width/2 and what its x coord was but again no joy. Anyone any ideas. Cheers Kenneth. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Kenneth Sutherland Sent: 09

[flexcoders] flash 10 3D

2009-03-09 Thread Kenneth Sutherland
uctions.be/experiments/the-new-drawing-api-rocks/ http://blog.dcholth.com/ If you know of any other good ones, let me know. Cheers. ____ realise . Kenneth Sutherland Technical Developer Realise Ltd Quay House, 142 Commercial Street, Leith,

RE: [flexcoders] adobe TV - QR code reader

2009-03-05 Thread Kenneth Sutherland
m] On Behalf Of Kenneth Sutherland Sent: 05 March 2009 16:20 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] adobe TV - QR code reader Thanks that one step closer but the search on Adobe TV is quite rubbish. Don't suppose you have a link. I found the guys blog site but searching t

RE: [flexcoders] adobe TV - QR code reader

2009-03-05 Thread Kenneth Sutherland
Thanks that one step closer but the search on Adobe TV is quite rubbish. Don't suppose you have a link. I found the guys blog site but searching that didn't turn up a URL. Cheers. -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Weyert d

[flexcoders] adobe TV - QR code reader

2009-03-05 Thread Kenneth Sutherland
e got a link to the tutorial. Cheers. realise . Kenneth Sutherland Technical Developer Realise Ltd Quay House, 142 Commercial Street, Leith, Edinburgh EH6 6LB Tel 0131 476 7432 www.realise.com <http://www.realise.com/> Check out some of

[flexcoders] server side swf compilation

2009-03-05 Thread Kenneth Sutherland
enerate problem, user solves it and their request is accepted). Anyone else done something similar, ideas, pointers? Any docs on the performance of the web-tier compiler? Thanks in advance Kenneth. ____ realise . Kenneth Sutherland Technical Dev

RE: [flexcoders] Flex 3.3 and Flash Player 10.0.22 coming?

2009-03-03 Thread Kenneth Sutherland
Do you mean the livedocs URL for version 3.2? if so you can download it from here. This hasn't been updated yet as its still 3.2. This will no doubt be updated soon. http://livedocs.adobe.com/flex/3/flex3_documentation.zip Kenneth. From: flexcoders@yahoogroups.com [mailto:flexcod...@yah

RE: [flexcoders] HandCursor (pointing version)

2009-03-03 Thread Kenneth Sutherland
If you can target flash player 10, then look at this example. http://blog.flexexamples.com/2008/11/03/setting-mouse-cursors-in-flash-p layer-10/ flash 10 lets you to easily change the mouse cursor and it contains the correct cursors so no need to create your own. the example uses gumbo compon

RE: [flexcoders] Passing parameter to swf

2009-03-02 Thread Kenneth Sutherland
You should check out this video tutorial http://www.webkitchen.be/2008/12/12/video-tutorial-make-flex-components- with-flash-cs4/ . Note I've tried doing this sort of stuff in CS3 and the exact same code can sometimes work and other times fail in CS3, and I do mean the exact same code. But since

[flexcoders] tiling a container

2009-02-20 Thread Kenneth Sutherland
imal and I was wondering if anyone has done this or knows of a resource I could look at to figure out the best way. Cheers Kenneth. realise . Kenneth Sutherland Technical Developer Realise Ltd Quay House, 142 Commercial Street, Leith, Edinburgh E

RE: [flexcoders] Slice / Scale 9 Flex Skins don't scale

2009-02-20 Thread Kenneth Sutherland
Read the below link, it may give an insight as to why your scaling isn't working. http://opensource.adobe.com/wiki/display/flexsdk/Scale9+in+FXG also you could try the below http://www.adobe.com/devnet/fireworks/articles/9-slice_scaling.html http://kb.adobe.com/selfservice/viewCo

RE: [flexcoders] how to use a preloader?

2009-02-19 Thread Kenneth Sutherland
This one is a good one to look at. http://jessewarden.com/2007/07/making-a-cooler-preloader-in-flex-part-1- of-3.html This one is helpful but will give a much bigger preloader, but useful for reference. http://www.onflex.org/ted/2006/07/flex-2-preloaders-swf-png-gif-examples .php Also

RE: [flexcoders] pie chart question

2009-02-13 Thread Kenneth Sutherland
Yes, if you listen for the itemClick event on the PieChart. Then inside the event you'll find that the event.hitData.id will be the element number from your dataprovider. So depending on how your data is set up you'll be able to take it from there. Kenneth. From: flexcoders@yahoogroups.com

RE: [flexcoders] Custom Flex Components in AI come out warped...

2009-02-12 Thread Kenneth Sutherland
Visit http://www.scalenine.com/ this contains loads of themes which you can look at the source to see how they've done it. Also this is a article using CS3 http://www.adobe.com/devnet/flex/articles/skins_styles.html Kenneth. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogrou

[flexcoders] legend and legenditems

2009-02-12 Thread Kenneth Sutherland
clude this area as it fires of the itemMouseOut as soon as it goes between the marker and the text. Any ideas, I've not seen any examples with source of custom legends out there. Cheers. realise . Kenneth Sutherland Technical Developer R

RE: [flexcoders] Re: Stop Key press

2009-02-11 Thread Kenneth Sutherland
Subject: [flexcoders] Re: Stop Key press Sorry Kenneth i should have said, i also have buttons that don't have popups. I just want to disable this 'feature'. Do you know how i can do this? --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Kennet

RE: [flexcoders] Stop Key press

2009-02-11 Thread Kenneth Sutherland
I remember coming across this issue quite a while back and it's because your new modal window hasn't taken the focus away from the button which opens the popup. When you create and show the popup use the focusmanager to give a button or whatever you have in your popup focus. That way when the user

RE: [flexcoders] n00b question :)

2009-01-19 Thread Kenneth Sutherland
It's essentially/simply used for your folder structure and then used to import in your various classes. So inside your src folder if you had a folder structure of src->com->mywebname -> view, then any classes inside the folder 'view' would have a package name of com.mywebname.view and the import w

RE: [flexcoders] Re: Can Flex allow image downloads?

2009-01-16 Thread Kenneth Sutherland
Check out the FileReference at http://livedocs.adobe.com/flex/3/langref/index.html Brief overview below. _fileRef : FileReference; //set a filename _filename : String = 'jptest.jpg'; //set a URL var urlReq:URLRequest = new URLRequest(); urlReq.url = whatever your URL is + _filename

RE: [flexcoders] AIR and flex together

2009-01-16 Thread Kenneth Sutherland
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tom Chiverton Sent: 16 January 2009 10:48 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] AIR and flex together On Thursday 15 Jan 2009, Kenneth Sutherland wrote: > 1) Create an AIR app that can load a live flex a

[flexcoders] AIR and flex together

2009-01-15 Thread Kenneth Sutherland
flex app and it would refresh and we could see whether it works or not. Cheers Kenneth. realise . Kenneth Sutherland Technical Developer Realise Ltd Quay House, 142 Commercial Street, Leith, Edinburgh EH6 6LB Tel 0131 476 7432 www.re

RE: [flexcoders] flex playerProductInstall.swf

2009-01-14 Thread Kenneth Sutherland
7; after seeing the auto update choice. The playerProductInstall includes a install callback that take the statusValue for the installer and you can then do what you want with that response. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Kenneth Suth

[flexcoders] flex playerProductInstall.swf

2009-01-14 Thread Kenneth Sutherland
t back from the player install swf so inside the javascript it can display some alternative content. How does anybody else handle it if the user declines the update which means that they can't view the greatness of your latest app J Cheers. realise

RE: [flexcoders] Loading images using binary data

2009-01-13 Thread Kenneth Sutherland
Check out Ted's examples with code. http://www.onflex.org/ted/2007/12/progressive-image-loading-with.php this shows how to get binary data and turn it into an image. Kenneth. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Dan Vega Sent: 13 January 200

RE: [flexcoders] regex

2009-01-13 Thread Kenneth Sutherland
You should check out http://www.regular-expressions.info/regexbuddy.html. this is a great tool for learning how to do regex. The site and tool also contains many common expressions to start from. Kenneth. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of fle

RE: [flexcoders] Timer Solution

2009-01-13 Thread Kenneth Sutherland
You can listen for the enterFrame event but also make sure you have set the frameRate inside the application tag (default isn’t 15). Although I wouldn’t recommend setting the framerate to 15, an easier/quicker method would be to set it to 30 and only do something on every 2nd frame. Should yo

RE: [flexcoders] Re: tilelist itemrender problem

2009-01-09 Thread Kenneth Sutherland
What is the event.result? you need to stick a breakpoint when your displayResult function is called and see what is being returned and change that into an arraycollection. You're line of code is effectively saying that event.result is an arraycollection which I doubt (but I do not know what CF can

RE: [flexcoders] tilelist itemrender problem

2009-01-09 Thread Kenneth Sutherland
I do not know CF but there is 2 things I'd check first. 1 - use an absolute path first and not the relative one just in case its wrong. I'm presuming you'd have checked an absolute path when testing the image in a browser. So when testing change your image line to something like http://newsimg.bb

RE: [flexcoders] Image Manipulation

2009-01-09 Thread Kenneth Sutherland
You could try various filters on the image. Check out http://merhl.com/flex2_samples/filterExplorer/ and try something like the glowFilter. This would be a quick and easy way to do it. Kenneth. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of vinod kumar

RE: [flexcoders] Custom Shape Canvas

2008-12-23 Thread Kenneth Sutherland
You should check out degrafa. It’s good for custom shapes etc http://degrafa.org/samples/ Kenneth. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of shardul bartwal Sent: 23 December 2008 09:55 To: flexcoders@yahoogroups.com Subject: [flexcoders] Custom Sha

RE: [flexcoders] Spell checker.

2008-12-19 Thread Kenneth Sutherland
That's the point of a SWC, its meant to be closed. You'd need to contact the person that created it a see if they'd be willing to open it up, but I doubt it (unless you pay them). If they didn't mind having it being opened up then they wouldn't have made it into a SWC, or they'd have given the so

RE: [flexcoders] Re: Get Children function

2008-12-18 Thread Kenneth Sutherland
...@yahoogroups.com] On Behalf Of lorenzo.boaro Sent: 18 December 2008 09:43 To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Get Children function ok but to reach this from as3? thanks Lorenzo --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , &q

RE: [flexcoders] Get Children function

2008-12-18 Thread Kenneth Sutherland
Presuming you've given your custom viewstack an ID inside the custom panel you'd call that then get the selectedChild or getChildAt for that viewstack. So to get panel1 you could do the following myStack.getChildAt

RE: [flexcoders] Rounding error

2008-12-17 Thread Kenneth Sutherland
What you could do is look into fixed point maths. This is how you do maths when you don't want to (can't) use floating point numbers. That way you control the precision, it's used in games as its generally quicker than using decimals and as it uses integers there isn't any rounding, but you have

[flexcoders] sort XMLListcollection in dp

2008-12-17 Thread Kenneth Sutherland
t;, true, true)]; or new SortField("ro", true, true)];) then they work fine so I'm presuming it's because the node 'di' is another level below the main children. Any ideas? Cheers. realise . Kenneth Sutherland Te

RE: [flexcoders] SWF Security - how to prevent browsers - FireFox / IE cache swf file

2008-12-10 Thread Kenneth Sutherland
You should view the following from flex 360 conference on adobe media player. http://www.adobe.com/products/mediaplayer/ - get media player from here Feed URL is http://sessions.onflex.org/1733261879.xml presentation is called Encrypting flex & protecting revenue by Andrew Westberg.

RE: [flexcoders] Re: framework issues

2008-11-28 Thread Kenneth Sutherland
smatch. Compare the digests fields generated by the two machines. If the digests are different then it means you are compiling against different versions of framework.swc. On the topic of RSL information, I may be biased but I think this is one of the better sources of information: http://www.adob

RE: [flexcoders] framework issues

2008-11-26 Thread Kenneth Sutherland
[mailto:[EMAIL PROTECTED] On Behalf Of gabriel Sent: 26 November 2008 16:28 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] framework issues On Wed, Nov 26, 2008 at 3:25 AM, Kenneth Sutherland <[EMAIL PROTECTED] ><mailto:kenneth.sutherland%40realise.com> > wrote: > [.

[flexcoders] framework issues

2008-11-26 Thread Kenneth Sutherland
already has a (built from either machine) swz file then its fine. If the app is run from a PC that has had the swz file deleted it must find a swz file that was built on the same computer as the app. Am I missing some settings? Cheers. Kenneth Sutherland Technical Developer Realise Ltd

RE: [flexcoders] embed font combo box

2008-11-24 Thread Kenneth Sutherland
com Subject: Re: [flexcoders] embed font combo box The only issue I know of with the combo box is that the control shows the bold version of the font. So if the bold style is not explicitly embeded, the font won't show up correctly in the control. - Daniel Freiman On Fri, Nov 21, 2008 at 6:14 AM

[flexcoders] embed font combo box

2008-11-21 Thread Kenneth Sutherland
must have been getting pulled out of the flex app. It's all very odd! The embedded font is used in other components inside the app and they work, it's just in the combobox that it does not work. Cheers for any info. Kenneth Sutherland Technical Developer Realise Ltd 0131

[flexcoders] best practice XML & hyphens

2008-10-28 Thread Kenneth Sutherland
ndard way of just doing xml.language-block.(@ln == _language). It may not be best practice, but I'd like it if it was J. Cheers. Kenneth Sutherland Technical Developer Realise Ltd 0131 476 7432 w

RE: [flexcoders] Re: my boss wants the impossible.. or is it?

2008-10-22 Thread Kenneth Sutherland
I'd recommend reading this one as well. If you use teds examples you'll end up with a fairly large swf file. Use the following at it will cut it right down to the basic elements. http://jessewarden.com/2007/07/making-a-cooler-preloader-in-flex-part-1- of-3.html I've also pasted in a furthe

RE: [flexcoders] WTF? When pasting into a textarea (on mac), all my newlines disappear!

2008-10-22 Thread Kenneth Sutherland
ct 22, 2008 at 6:54 PM, Kenneth Sutherland <[EMAIL PROTECTED]> wrote: How are you doing the code to copy and paste? Setting up a sting in MXML can look different than if you set it in actionscript. This may well be the issue. Eg. http://www.adobe.com/200

RE: [flexcoders] WTF? When pasting into a textarea (on mac), all my newlines disappear!

2008-10-22 Thread Kenneth Sutherland
How are you doing the code to copy and paste? Setting up a sting in MXML can look different than if you set it in actionscript. This may well be the issue. Eg. http://www.adobe.com/2006/mxml"; layout="vertical"> This

RE: [flexcoders] Re: How can I set focus to a field in a programatically created popup?

2008-09-15 Thread Kenneth Sutherland
so I could create an initApp() function and call it from creationComplete. Also is there a better way of posting code so that it doesn't lose its formatting? Paul --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Kenneth Sutherland" <[EMAIL PROTEC

RE: [flexcoders] How can I set focus to a field in a programatically created popup?

2008-09-15 Thread Kenneth Sutherland
On Friday 05 September 2008 12:45:34 Ben Steele wrote: > I'm pretty sure it is scheduled for release in an > upcoming update, I know there was lots of "hmmm's" when I > saw the list of current unsupported technologies during > our companies presentation, but I seem to recall most of > them set for

[flexcoders] flex/AIR book reviews

2008-09-12 Thread Kenneth Sutherland
olk that are actual flex coders. So if you can recommend anything or pass on a link to a reliable review site that would be great. I think I've asked for this kind of info 1-2 years ago, but can't find anything in the archives. Cheers. Kenneth Sutherland Technical Dev

RE: [flexcoders] ClassReference in StyleManager loaded SWFs

2008-09-11 Thread Kenneth Sutherland
1) Create a library project, place your foo.bar.baz.ButtonSkin class inside the library project. 2) Take the then created SWC file and place inside your libs folder. 3) Hey presto error has now disappeared J HTH Kenneth. From: flexcoders@yahoogroups.com [mailto:[EM

RE: [flexcoders] focus rectangle

2008-09-11 Thread Kenneth Sutherland
ase contact [EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Sutherland Sent: 11 September 2008 11:28 To: flexcoders@yahoogroups.com Subject: [flexcoders] focus rectangle What's the best way to change the focu

[flexcoders] focus rectangle

2008-09-11 Thread Kenneth Sutherland
e focus, again any suggestions otherwise. Cheers. Kenneth Sutherland Technical Developer Realise Ltd 0131 476 7432 www.realise.com "enlightened e-business solutions" Disclaimer --- This el

RE: [flexcoders] xml contains list with sometimes only one element

2008-08-26 Thread Kenneth Sutherland
I'd do it like this. Not tested the below code, but it's the same as stuff I've used before that works fine. Just pass the XML that you get returned to the function. Slightly different approach but should be good for any number of XML entries private function populatePerson(xml : XML) : void {

[flexcoders] flex SDK 3.1 & flexbuilder 3.0.1 - deployment issues

2008-08-26 Thread Kenneth Sutherland
even on the next flexbuilder/SDK update Adobe could look at this? Kenneth Sutherland Technical Developer Realise Ltd 0131 476 7432 www.realise.com "enlightened e-business solutions" Disclaimer

RE: [flexcoders] Binding problem - not refreshing after Array.push

2008-08-22 Thread Kenneth Sutherland
binding instead array? BTW, is there any other type not available to bind? TIA _ Claudio M. E. Bastos Iorio From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Sutherland Sent: Friday, August 22, 2008 5:17 AM To

RE: [flexcoders] Binding problem - not refreshing after Array.push

2008-08-22 Thread Kenneth Sutherland
You need to be using an arraycollection for bindable data, not the array class. Kenneth. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of piotrchruscielewski Sent: 22 August 2008 09:07 To: flexcoders@yahoogroups.com Subject: [flexcoders] Binding problem - not refreshing

RE: [flexcoders] XML Data - getting unique attributes

2008-08-21 Thread Kenneth Sutherland
You could do something like the following. Use a dictionary to store you're unique values. So iterate through your data and use the data as the key for the dictionary Var myDictionary : Dictionary = new Dictionary(); myDictionary[value] = value; //value would be whatever you are wishing to st

[flexcoders] streaming audio

2008-07-24 Thread Kenneth Sutherland
quest. Kenneth Sutherland Technical Developer Realise Ltd 0131 476 7432 www.realise.com "enlightened e-business solutions" Disclaimer --- This electronic message contains information which ma

RE: [flexcoders] Drag and drop steals all mouse events

2008-07-24 Thread Kenneth Sutherland
J I had this issue a few days ago and spent a few hours trying lots of weird and wonderful ways of trying to figure out where the mouse was, then within 5 mins of posting to flexcoders (typical really) I remembered that I could just listen to the drag event (enter / over should do). From:

RE: [flexcoders] draging + mouseevents

2008-07-17 Thread Kenneth Sutherland
Bangs head on monitor! Simple really, just need to listen for the drag enter or drag over event. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kenneth Sutherland Sent: 17 July 2008 11:02 To: flexcoders@yahoogroups.com Subject: [flexcoders] draging + mouseevents

[flexcoders] draging + mouseevents

2008-07-17 Thread Kenneth Sutherland
I've created a window with several objects inside it and each one can be dragged around. What I can't get to work at the minute is when I'm dragging one of the objects over another object, the item under the one being dragged isn't receiving mouse events such as mouse_over or roll_over (this happe

RE: [flexcoders] flex php login

2008-07-15 Thread Kenneth Sutherland
I'd do something like the following, I've added in a time parameter, it will make sure that your request is unique and it should help stop IE from not sending your request. {new Date().getTime()} {emailaddress.text} {password.text}

RE: [flexcoders] Re: Retrieving XML data

2008-07-08 Thread Kenneth Sutherland
Try the following where xml is the XML that you've loaded into your function var myList : XMLList = xml..image; for each (var image : XML in myList) { trace(image); } This will output the value of each of the image nodes inside the XML. HTH Kenneth. From: flexcoders@yahoogroups.

RE: [flexcoders] WebService Issue

2008-07-04 Thread Kenneth Sutherland
I'd also recommend installing a tool like Fiddler (free) or service capture (not free) and that will show you where you're crossdomain policy should be as it will show up as a 404 if you've not placed it where it should be. It will also let you inspect everything that gets passed to and from th

[flexcoders] swfobject

2008-06-10 Thread Kenneth Sutherland
t, I noticed someone else had this issue with flash video swf - but no solution). Any ideas? I do all of this inside an XSL file (not that it should make any difference). Thanks Kenneth. Kenneth Sutherland Technical Developer Realise Ltd 0131 476 7432 www.realise.com

  1   2   >