RE: [flexcoders] Chart question

2006-10-06 Thread Pekka Kola
I have don a kind of solution to draw a box "shadowing" a future time in chart (draws a box above the chart area presenting the future). Here you have a part of the code doing the effect. showTime() is called in my case by timer. public function showTime(t:Date):void {

[flexcoders] Variable Initialization Problem

2006-10-06 Thread akash
Hi all,     This is my action script file. Here I am initializing the variable with some value..but I find it outside that particular code block it is showing undefined even tthough the variable is global. Can anybody suggest me how to resolve this problem?   import mx.cor

[flexcoders] Still erro Error #2032r

2006-10-06 Thread Giorgio Natili
Hi All,   I have made a wide search in the list, but I didn't find the solution to the Error #2032. I get this message when I try to load an xml file from an AS3 class also if I set correctly the compiler in order to work locally.   Any suggestion is welcome...   Giorgio __._,_.___ --

[flexcoders] Re: Global keyboard event listener

2006-10-06 Thread krxtopher
Drew, What you want to do is of course very common, but surprisingly, the way to pull it off isn't very obvious. In fact, even the documentation is a little inaccurate on this topic (at the time of this writing). Here's a solution. In order to listen globally for keyboard events you need to r

[flexcoders] Re: Crash bug in Canvas.measure

2006-10-06 Thread pinkmongrel
um, that should be: if( newThing.parent ){ newThing.parent .removeChild( newThing ); } this.addChild(newThing); --- In flexcoders@yahoogroups.com, "pinkmongrel" <[EMAIL PROTECTED]> wrote: > > > Here is a bug that's been biting me for a couple weeks. Here's a > screenshot of Flex when it errors

[flexcoders] Re: RangeError in mx.containers.utilityClasses::CanvasLayout/measureContentArea

2006-10-06 Thread pinkmongrel
I found the bug. I was addChilding a DisplayObject that already had a parent. I had to release it from it's previous parent first. Is there a cleaner way of doing it than: if( newThing.parent ){ CWRoom( newThing.parent )._numKids--; } this.addChild(newThin

[flexcoders] Re: Crash bug in Canvas.measure

2006-10-06 Thread pinkmongrel
I found the bug. I was addChilding a DisplayObject that already had a parent. I had to release it from its previous parent first. Is there a cleaner way of doing it than: if( newThing.parent ){ CWRoom( newThing.parent )._numKids--; } this.addChild(newThing

[flexcoders] recieve RTMP Stream in flex? This can't be this hard?

2006-10-06 Thread eccentricwade
I am trying to connect to an RTMP stream from the Flash Media server in Flex 2. I have yet to be able to pull this off. Following the api I have the following class in the components directory and below that the mxml. This is the error that I receive. Any ideas on how to make this work would be gre

Re: [flexcoders] Re: image display, display certain portion of a image

2006-10-06 Thread Willy Ci
thanks, I will try your way over the long weekend!WillyOn 10/6/06, Tim Hoff <[EMAIL PROTECTED]> wrote: Hi Willy, If this was Flash, you would just place a mask over the image. In Flex, you can emulate this by placing the image inside a container that uses a

RE: [flexcoders] Send Http Service

2006-10-06 Thread Tracy Spratt
Without FDS, using setInterval to invoke send() periodically is the only to keep app data current.   Tracy   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Prakaz Sent: Friday, October 06, 2006 1:41 PM To: flexcoders@yahoogroups.com Subject

RE: [flexcoders] Sorting Functionality in FlexStore 2

2006-10-06 Thread Matt Chotin
In FlexStore I believe there is a filtered list which is the list of data displayed, then there is the real data.  You should just sort the filtered list and have everything redraw, I would imagine that’d work fine.   Matt   From: flexcoders@yahoogroups.com [mailto:[EMAIL PR

Re: [flexcoders] Best AMF debugger for Flex2

2006-10-06 Thread Marcelo de Moraes Serpa
Ahuuu! Charles is the best! Very flexible, a must have tool indeed. The only downside is the graphics interface, however, it's gradually getting better!On 10/6/06, Paul Spitzer <[EMAIL PROTECTED]> wrote: I'll second that. Charles is a must have tool! I'm using

RE: [flexcoders] Re: Confusion about 'Security error accessing url'

2006-10-06 Thread Matt Chotin
Browsers shouldn’t make a difference.  Are you running from the same location?   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joe Sent: Wednesday, October 04, 2006 4:33 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Confusion about 'Secu

[flexcoders] Adobe Flex Certification Document

2006-10-06 Thread Clint Modien
Details on my blog…   http://clintmodien.wordpress.com/2006/10/06/adobe-flex-certification-coming/   from the post: “So before anyone gets upset with me for posting this… I’ve cleared it with Adobe first. I was booking my MAX ticket the other day when I saw something about certifica

RE: [flexcoders] monitoring dataservice fills on lookup tables prior to createItem

2006-10-06 Thread Jeff Vroom
Sorry for the late reply.   I guess my first thought is to combine the values on the server and send over a single “contact” object which contains all of the values from those three tables.  But if you’ve already got the client/server stuff implemented to use separate records, you can u

RE: [flexcoders] generating a size report

2006-10-06 Thread Matt Chotin
Add -link-report outputfile.xml to your compile arguments.   Matt   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Bourne Sent: Wednesday, October 04, 2006 12:59 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] generating a size report

RE: [flexcoders] Flex 2 Calendar Component

2006-10-06 Thread Matt Chotin
They’re trying to get it out in the next few weeks I think.  No commitment…   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Shannon Hicks Sent: Wednesday, October 04, 2006 11:32 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex 2 Calend

RE: [flexcoders] Possible DataService BUG, can anyone help me out?

2006-10-06 Thread Jeff Vroom
Let me first give you a quick overview on how this works, then I’ll discuss how to diagnose it further.   When the fill call is sent to the server, it serializes the fill parameters from client to server.  The server then stores the fill parameters in a java representation.  When that

RE: [flexcoders] Google Code Search

2006-10-06 Thread Matt Chotin
Looks like folks have started requesting via their discussion group: http://groups.google.com/group/Google-Code-Search/browse_thread/thread/6c42af4d795f1508/896e1281f141f729?lnk=raot#896e1281f141f729   From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pra

Re: [flexcoders] Best AMF debugger for Flex2

2006-10-06 Thread Paul Spitzer
I'll second that. Charles is a must have tool! I'm using it right now to throttle my bandwidth and figure out why my ProgressBar is not doing what I'm telling it to :). Daniel Wabyick wrote: > This is my favorite ... http://www.xk72.com/charles. > > > Julian Sander wrote: > >> Hi All, >> >>

[flexcoders] Re: AS to Java Translation Problems

2006-10-06 Thread Geoffrey
No ideas? Is this something no one has tried before? --- In flexcoders@yahoogroups.com, "Geoffrey" <[EMAIL PROTECTED]> wrote: > > ENV: Flex 1.5 served from WebSphere6.1 > > All of our Java objects used to use java.util.Date for date > properties, but we had to convert them to java.util.Calendar

Re: [flexcoders] Best AMF debugger for Flex2

2006-10-06 Thread Daniel Wabyick
This is my favorite ... http://www.xk72.com/charles. Julian Sander wrote: > Hi All, > > I was wonder what the best debugger for Flex2 and Remoting is. I use > AMFPHP for my connections. > > thanx, Julian > > * > * > *Julian Sander* > Burbacherstraße 58 > 53129 Bonn > > t/f +49 228 21 27 1

[flexcoders] Best AMF debugger for Flex2

2006-10-06 Thread Julian Sander
Hi All,I was wonder what the best debugger for Flex2 and Remoting is.  I use AMFPHP for my connections.thanx, Julian Julian SanderBurbacherstraße 5853129 Bonnt/f     +49 228 21 27 15m      +49 172 250 6524

[flexcoders] Where is FlexTagLib in Flex 2.0

2006-10-06 Thread jfournet
When I run my jsp using the FlexTagLib I get the following error: org.apache.jasper.JasperException: Unable to read TLD "META- INF/taglib.tld" from JAR file "file:/P:/p4client/environment/jboss/4.0.3SP1/server/txm_presentati on/./deploy/trex.war/WEB-INF/lib/flex-bootstrap.jar": java.lang.NullPo

[flexcoders] Re: Format a datatip.

2006-10-06 Thread jnewport
Ok, I have the revenue part working and formatting it. Thank you. But, I cannot get the MONTH to show. Month is my categoryField. categoryField="month:" Below is what I have for my formatDataTip, but I cannot seem to find the MONTH. I have tried useing hitData.element and hitData.item. I thou

[flexcoders] UDP support in Socket

2006-10-06 Thread zenwarden
Does the socket class support UDP? I have tried to get it to work with a connect call and cannot do it. There does not seem to be anything equivalent to DatagramSocket.bind(SocketAddress addr); Any info would help, including future plans. Chris Warden -- Flexcoders Mailing List FAQ: http:

[flexcoders] Re: Cannot view swf on server (jsp jboss) DetectFlashVer is not defined - Solved

2006-10-06 Thread dorkie dork from dorktown
Solved. Javascript is correct but stupid in its error message. It said the function was not defined. It did not say it could not find the file that it was defined in. In the setup at the company I am at they have, something like virtual paths setup. So even though all the files were in the same p

[flexcoders] Re: Effects for background of TextInput

2006-10-06 Thread Tim Hoff
Hi, Have you tried using mx.effects.TweenEffect? If you wanted to only use mxml, this could be done by making a component that has two states; TextInput backgoundColor 1 & 2. Inside of the component, add a transition effect (Tween) that occurs when the component changes state. -TH --- In f

[flexcoders] Cannot view swf on server (jsp jboss) DetectFlashVer is not defined

2006-10-06 Thread dorkie dork from dorktown
I have been trying for a few hours now and I still cannot see my swf file on the page I am accessing. I have copied in the code from an html page and I keep getting an error: Error: DetectFlashVer is not defined Source File: http://localhost:8080/ybmain/menu/menuList.do?tabId=3 Line: 1123 Line 1

[flexcoders] Re: image display, display certain portion of a image

2006-10-06 Thread Tim Hoff
Hi Willy, If this was Flash, you would just place a mask over the image. In Flex, you can emulate this by placing the image inside a container that uses absolute positioning. -TH --- In flexcoders@yahoogroups.com, "Willy Ci" <[EMAIL PROTECTED]> wrote: > > hi > > is there a way to dis

[flexcoders] Chart question

2006-10-06 Thread christopherjdunn
I'm working on a chart that spans multiple days. What I would like to do is put a vertical line in at a particular time, like midnight. I've looked through the docs and I'm not seeing a way to add this. Is there an easy way to add something like this to a chart? Any help would be great. -- Fle

RE: [flexcoders] Re: Flex 2 limitations vs. raw Flash 8 Prof?

2006-10-06 Thread Kirk Marple
ah, very interesting... i heard "drag/drop" and assumed you were talking about user actions within the application.   thanks for the TT reference - that looks like it might be money well-spent.  if i don't get to Max, then that looks like a good bet.   from everybody's valuable replies, i

Re: [flexcoders] Background behind the background is flashes grey. Want it white and nerdy

2006-10-06 Thread dorkie dork from dorktown
Thanks guys. Setting backgroundColor to white and then removing backgroundGradientColors I got rid of the issue. sincerely, white and nerdy (formerly grey and nerdy) On 10/6/06, Michael Schmalle <[EMAIL PROTECTED]> wrote: > > > > > > > Peter, > > > backgroundGradientColors to [0xFF, 0xFF]

[flexcoders] Effects for background of TextInput

2006-10-06 Thread joshuajnoble
I'm trying to create an effect that changes the background color of my TextInput. I've tried using AnimateProperties with isStyle and 'backgroundColor' but that produced a psychedelic freakout, probably because the effect is trying to take hex values and turn them to ints. I can write something tha

[flexcoders] Re: WebOrb for Rails

2006-10-06 Thread ben.clinkinbeard
> should they push their version or Midnights version? Its not the same technology! Different environments, different target audiences. The only thing they share is that they both promote and help Flex. When I say promote, that's pretty much what I mean; offer tutorials and such on their site. And

[flexcoders] Icons formerly included in Flex SDK (Beta)

2006-10-06 Thread dougmccune
An older version of the Flex SDK had a folder called Icons that contained a series of various UI icons. I think I read in some readme that the idea was to provide some basic GUI elements to help standardize the look and feel of Flex apps. So a few questions for someone from Adobe: 1. I have the i

[flexcoders] How to set vars in a loaded app using SWFLoader

2006-10-06 Thread greenfishinwater
I am using mx:SWFLoader to load a standalone application. I have the load working and the app runs. But now I want to pass some data into the loaded app. I have seen the examples in the documentation, these use a simple case of setting data when a button on the outsid app is used. What I want is f

[flexcoders] Crash bug in Canvas.measure

2006-10-06 Thread pinkmongrel
Here is a bug that's been biting me for a couple weeks. Here's a screenshot of Flex when it errors.Screenshot of maddening errorThe program croaks when measureContentArea (in package mx.containers.utilityClasses, file CanvasLayout.as ) loops through the target's children from 0 to target.numChil

Re: [flexcoders] Re: WebOrb for Rails

2006-10-06 Thread John C. Bland II
I agree, they should push FDS. The question is, should they push their version or Midnights version?   This is the same issue with AMFPHP. MM didn't push it but the acknowledged it and even had some tutorials on how to use it.   To ask a company to push someone else's product that does the same

[flexcoders] Re: Time Validating

2006-10-06 Thread qnotemedia
Thanks Tom - very nice stuff. Just goes to show that there's so many different ways to do the same darn thing. I really need to learn Reg Exp's! - Chris --- In flexcoders@yahoogroups.com, Tom Chiverton <[EMAIL PROTECTED]> wrote: > In the same spirit, here's an untested regexp: > /(\d){1,2}:

[flexcoders] Re: WebOrb for Rails

2006-10-06 Thread ben.clinkinbeard
> why the heck should they push it?!? Because it makes Flex more attractive/a legitimate possibility to a MUCH larger audience. > Adobe (and Macromedia before) are (IMHO) doing a lousy job in > promoting ColdFusion to other than the already converted. How so? Pretty much every tutorial out there f

Re: [flexcoders] Re: WebOrb for Rails

2006-10-06 Thread Impudent1
my $0.02 I personally dig that we aren't locked into CF etc. Esp when it comes to creating flex intranet apps that will be deployed to multiple small companies. For them, being able to leverage php/mysql/weborb is the difference between creating a solution, or getting buy as is. Impudent1 Leap

Re: [flexcoders] Google Code Search

2006-10-06 Thread Prakaz
Is ActionScript, MXML under-rated?? *Sigh*   On the positive note, hope google engineers are working on this and it will be available soon.. :-)   -P  On 10/6/06, Brendan Meutzner <[EMAIL PROTECTED]> wrote: http://www.google.com/codesearchSo at first I was like "wow, cool..." Th

Re: [flexcoders] Re: Dynamically adding components to a panel?

2006-10-06 Thread Anatole Tartakovsky
As a matter of fact, I do. You would be best served by DataGrid with custom collection that would transform your original array/list into rows-columns collection Regards,Anatole  On 10/6/06, Steve Kellogg @ Project SOC <[EMAIL PROTECTED]> wrote: Anatole,   It looks like I chose the wrong

Re: [flexcoders] New Javascript Window

2006-10-06 Thread Prakaz
hi jf.sal,   Strangly your code works without a glitch! I just copied and pasted your code in Flex and HTML and it works without any problem. The only modification i made was in you _javascript_ code. I'm not sure on what basis you have written your _javascript_ code but try this one:  
var

Re: [flexcoders] Re: WebOrb for Rails

2006-10-06 Thread Marcelo de Moraes Serpa
WebOrb seems indeed very powerful and promising. I would love to see some integration between the php version and CakePHP :) On 10/6/06, barry.beattie <[EMAIL PROTECTED]> wrote: > > Why isn't WebOrb all over the dev center? Why isn't Adobe pushing it? > > why the heck should they push it?!? In m

[flexcoders] Re: WebOrb for Rails

2006-10-06 Thread barry.beattie
> Why isn't WebOrb all over the dev center? Why isn't Adobe pushing it? why the heck should they push it?!? In my eyes they're doing bugger-all to help the CFEclipse IDE which also supports an Adobe product. midnight coders has their own revenue stream. they stand or fall by the products they

Re: [flexcoders] Creating a dynamic XML Variable

2006-10-06 Thread Prakaz
Try out some examples given in Flex docs. There are pretty good examples of how you can dynamically generate XMLs.   Assembling and transforming XML objects: http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/js/html/wwhelp.htm?href=""   There is an example where an XML is created dynamic

[flexcoders] Re: Get Attribute of FlexSession in Flex

2006-10-06 Thread jonathan_merey
Because I need it after; I need the role (Administrator/User)too but I think I will put these information in a Singleton ActionScript class. Do you think it s better ? --- In flexcoders@yahoogroups.com, "Dimitrios Gianninas" <[EMAIL PROTECTED]> wrote: > > Question is why are you putting in the ses

[flexcoders] New Javascript Window

2006-10-06 Thread jf.saldanha
Hi all I need some help on this: Open a new java window in Flex like we do in Flash I have a html page with this javascript code var javascript_version = 1.0; javascript_version = 1.1;

Re: [flexcoders] Send Http Service

2006-10-06 Thread Prakaz
You could probably bind the result directly to the columns of your datagrid. So whenever you make a new request and the result changes, it is automatically reflected in the datagrid without you having to worry about a thing.   Something similar can be found in Flex docs where the result of a HT

[flexcoders] Google Code Search

2006-10-06 Thread Brendan Meutzner
http://www.google.com/codesearchSo at first I was like "wow, cool..."Then I did a search for:lang:ActionScript - results 0lang:Flex - results 0 lang:MXML - results 0sighBrendan __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt S

[flexcoders] Creating a dynamic XML Variable

2006-10-06 Thread perezd324
Hey everyone, I did some searching around and didn't find a correct solution to my problem...so I thought I'd try it here. Basically, I am creating a program that generates an XML request that will be passed onto a webservice. the request will look like this: value I have an array

[flexcoders] Re: Tree Custom Image Renderer

2006-10-06 Thread aerospc04
Thanks for the posts, I modified the script at the given link, here's the [working] results... Note that the "rowHeight" property of the Tree also needed to be set to a larger value (60 in this case). package MyTreeRenderer { import mx.controls.treeClasses.TreeItemRenderer; impo

[flexcoders] Re: Validating XML with XSD Schema in Flex?

2006-10-06 Thread wayneposner
The XML is generated on the client and resides on the client. There is no server for this app. It is a desktop application wrapped in Zinc. Think of this as kind of like Microsoft Word--no server involved. You open a text doc, but for some reason it's corrupt. Word tells you that it can't

[flexcoders] Problem with video display and xml

2006-10-06 Thread tonyx_788
hi, i have a little problem, what i want to do is set the visible propertie to true only if there is a video file (flv) in my xml but since there has to be a video tag in the xml even if there is no video, my code always sets the videoD visible propertie to true //**AS CODE ... private func

Re: [flexcoders] Re: CF & Flex

2006-10-06 Thread Brendan Meutzner
Paul,What kind of apps are you referring to when porting CF/HTML to flex?BrendanOn 10/6/06, Paul Hastings < [EMAIL PROTECTED]> wrote: On 10/6/06, Simeon Bateman <[EMAIL PROTECTED]> wrote: > >Man I just cant win with that site. I think that might be enough r

[flexcoders] Databinding will not be able to detect assignments to ....

2006-10-06 Thread boy_trike
I am not sure why I am getting this error [Bindable] public class ModelLocator extends EventDispatcher{ public function ModelLocator(){ // }

[flexcoders] Re: Flex 2 limitations vs. raw Flash 8 Prof?

2006-10-06 Thread fuad_kamal
In the F9 preview, if you open the components window, whatever is ther e is grayed out - so there is no way to utilize prebuilt components in F9 except via code. The help window/documentation window is completely empty. Basically the F9 preview is the F8 shell, with support for AS3 code. On the

RE: [flexcoders] Validating XML with XSD Schema in Flex?

2006-10-06 Thread Samuel R. Neff
Where is the XML coming from? Can you use server-side code to validate the XML before sending it to Flex? That's probably the simpler solution. Sam -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of wayneposner Sent: Friday, October 06, 2006 9:2

[flexcoders] Accessing Embeded Assets from Super Class

2006-10-06 Thread Daniel Freiman
I don't think this is possible but I wanted to double check.  Basically I have a super and sub class.  I want a icon variable to be declared in the super class and the image to be embeded in the subclass.  The code would look something like this: public class SuperClass extends UIComponent {   

Re: [flexcoders] Using Remoting on Flex 2.0

2006-10-06 Thread Daniel Wabyick
Here is a link to another article describing how to connect Flex 2 to an AMF0 back-end implementation. I found it particularly helpful. You can ignore the back-end AMFPHP part of the article, and just use your OpenAMF backend, which I have used succesfully as well. http://www.adobe.com/devnet/

[flexcoders] Re: Missing the ControlBar on my panel...

2006-10-06 Thread Mark
Thanks Dan. mark --- In flexcoders@yahoogroups.com, "Daniel Freiman" <[EMAIL PROTECTED]> wrote: > > controlBar does not seem to be automatically added as a child within the > Panel class. You need to do it explicitly at the end of createChildren(). > And as a preemptive reminded, make sure cont

Re: [flexcoders] Popup

2006-10-06 Thread Clint Tredway
I just had to do the same thing with the transparency layer.. look at modalTransparency and modalTransparencyColor.. On 10/6/06, Valy Sivec < [EMAIL PROTECTED]> wrote: Hello,I open a popup modal window and I'd like to remove the transparency layer underneath. An

[flexcoders] Popup

2006-10-06 Thread Valy Sivec
Hello,I open a popup modal window and I'd like to remove the transparency layer underneath. Another question I have is: How can I display a menu bar item as selected in a MenuBar?Thanks,Valy Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min. __._,_

Re: [flexcoders] Missing the ControlBar on my panel...

2006-10-06 Thread Daniel Freiman
controlBar does not seem to be automatically added as a child within the Panel class.  You need to do it explicitly at the end of createChildren().  And as a preemptive reminded, make sure controlBar is the last child added if you want it docked. - DanOn 10/6/06, Mark <[EMAIL PROTECTED]> wrote:

[flexcoders] Send Http Service

2006-10-06 Thread KP
Well let me first tell you what I am doing.   I have a httprequest (RSS) news and I am displaying that news in datagrid.   The problem is if on a server news gets changed it should reflect in datagrid also I mean to say that latest news should display on to datagrid.   For this I am

[flexcoders] Re: Missing the ControlBar on my panel...

2006-10-06 Thread Mark
Okay, I worked with it for several hours before posting, but of course 20 minutes after I ask the question I get the answer from collegue. Even though I had set the protected property equal to an instance of ControlBar I still need to add the control bar as a child: addChild(DisplayObject(control

[flexcoders] Re: Tree Custom Image Renderer

2006-10-06 Thread wayneposner
Take a look at the zip file at the following URL: http://macmartine.com/blog/flexsource/2.0/beta2/2006_04_04/ It's got a custom tree item renderer to display images instead of folders. You will have to port some if it to AS3 though. Wayne --- In flexcoders@yahoogroups.com, "aerospc04" <[EMAIL

[flexcoders] Re: Validating XML with XSD Schema in Flex?

2006-10-06 Thread wayneposner
Unfortunately, for the app I'm writing, there is no server side logic. It's all client based and being wrapped by Zinc. Wayne --- In flexcoders@yahoogroups.com, "Bela Hajzer" <[EMAIL PROTECTED]> wrote: > > > > --- In flexcoders@yahoogroups.com, "wayneposner" > wrote: > > > > I've been scour

[flexcoders] image display, display certain portion of a image

2006-10-06 Thread Willy Ci
hi is there a way to display certain portion of a image using the image controllet;s say my large_image.jpg is 400x400, but my image box is only 100x100, is there a way to display part of the image from 200 to 300?thanks ahead-- Willy--

[flexcoders] Re: Validating XML with XSD Schema in Flex?

2006-10-06 Thread Bela Hajzer
--- In flexcoders@yahoogroups.com, "wayneposner" <[EMAIL PROTECTED]> wrote:>> I've been scouring the web tyring to find information on XML > validation using an XSD file, but the only results I keep finding > relate to the MXML schema which is not what I'm looking for.> > Has anyone written any

Re: [flexcoders] Background behind the background is flashes grey. Want it white and nerdy

2006-10-06 Thread Michael Schmalle
Peter,> backgroundGradientColors to [0xFF, 0xFF].That is what I was trying to think of. That is why he is getting the default gradient when the application is loading. Peace, MikeOn 10/6/06, Peter Baird <[EMAIL PROTECTED]> wrote: What you need to do

[flexcoders] Re: Tree Custom Image Renderer

2006-10-06 Thread davcavs
Subclass TreeItemRenderer and override the commitProperties(), measure(), and updateDisplayList() methods to add your jpg instead of the default document/folder icon. Set your new class as the itemRenderer property of the Tree. See the TreeItemRenderer class and documentation for details. -David

Re: [flexcoders] Reverse Geocoding

2006-10-06 Thread John Kirby
Title: quote And I found another free one :-) Igor Costa said the following: John good link I've added here to favorites. Really good to point this one, and really sure that it's good for GPS locations. maps for flash lite for example. thanks man On 10/3/06, Joh

[flexcoders] Missing the ControlBar on my panel...

2006-10-06 Thread Mark
I've extended Panel and based on numerous post here on FlexCoders I believe I've added the ControlBar correctly, but it just doesn't appear. Here is my very simple example: package com.mh.controls { import mx.containers.Panel; import mx.containers.ControlBar; import mx.con

RE: [flexcoders] Re: Dynamically adding components to a panel?

2006-10-06 Thread Steve Kellogg @ Project SOC
Anatole,   It looks like I chose the wrong base class.  OH, well.  I thought I saw in the docs that TileList DID support variableRowHeight.   Do you happen to know which classes DO actually support variable Row Height? All I need is a list type class that I can put a customer itemrend

[flexcoders] Moving Panel's titleIcon programmatically

2006-10-06 Thread Ralph Hauwert
Hi All, We're kind of looking at the best practices in moving the titleIcon outside of the boundaries of a panel, to the left. titleIconObject in the Panel class is marked mx_internal. Currently we are extending the panel object using the code behind practice, and we think we'd move it there; this

[flexcoders] Validating XML with XSD Schema in Flex?

2006-10-06 Thread wayneposner
I've been scouring the web tyring to find information on XML validation using an XSD file, but the only results I keep finding relate to the MXML schema which is not what I'm looking for. Has anyone written any code that validates an XML file against it's schema? Or is this of of the coding pr

Re: [flexcoders] Background behind the background is flashes grey. Want it white and nerdy

2006-10-06 Thread Peter Baird
Title: Re: [flexcoders] Background behind the background is flashes grey. Want it white and nerdy What you need to do is make sure and set the backgroundColor style directly in the application tag in your MXML in order to set the background color during loading and initialization. Just settin

[flexcoders] Re: Error when a Transition is interrupt

2006-10-06 Thread pinkmongrel
Has there been any resolution to this? I am getting the same error during phased instantion. Here's a screenshot of the debug info: http://zogax.com/getChildAt_RangeError.gif The program croaks when measureContentArea (in package mx.containers.utilityClasses, file CanvasLayout.as ) loops through

RE: [flexcoders] Get Attribute of FlexSession in Flex

2006-10-06 Thread Dimitrios Gianninas
Question is why are you putting in the session? For the simple answer, just create a method on a java class that will retrieve that object and call it from Flex, like so:   public getLogin() {   return FlexContext.getFlexSession().getAttribute("user"); }   Dimitrios Gianninas RIA Develope

[flexcoders] Flex 1.5 Error: '...actions.ConstantPool...'

2006-10-06 Thread andi_kaltseis
Hi! My Flex 1.5 Application (Framework: cairngorm) throws after adding two new comments in the 'en'-resource-file (my application includes two language-xml-files de/en) the following error: -- 1 Error found. Error macromedia.swf.actions.ConstantPool: 65677 was read.

[flexcoders] Re: css

2006-10-06 Thread gdoucen
Loading the css at runtime works as i thought but this does not remove all my questions. Found that the textArea have some bugs with stylesheet and take a solution, i have not tested yet. The best way to correct the components errors are still to extend them... I will appreciate some help or if u

Re: [flexcoders] Using Remoting on Flex 2.0

2006-10-06 Thread Julian Sander
I Know it has been written before, but here is a link to using AMF0 with Flex:http://renaun.com/blog/code-examples/the article is near the bottom.cheers, Julian On 05.10.2006, at 23:49, hank williams wrote:I dont think the referenced article here is really on point to the question for a variety o

[flexcoders] Tree Custom Image Renderer

2006-10-06 Thread aerospc04
Okay, I've not found a clean way to get this to work... I have a tree who's "leafs" and "nodes" represent people. I'd like to display a 100x100 jpeg headshot of each person instead of the folder/page default icon that comes with flex. Does anyone know how to do this? I've tried creating a cu

Re: [flexcoders] Re: Dynamically adding components to a panel?

2006-10-06 Thread Anatole Tartakovsky
Steve, You are out of luck - here is snippet from TileBase code (line 50): /** *  The TileBase class is the base class for controls *  that display data items in a sequence of rows and columns. *  TileBase-derived classes ignore the variableRowHeight  *  and wordWrap properties inherited from th

Re: [flexcoders] Problem with Action Script

2006-10-06 Thread Michael Schmalle
Hi,simply Peace, MikeOn 10/6/06, akash <[EMAIL PROTECTED] > wrote: Hi,   Can anybody tell me how to include two actionScript files in an application?    Actually I am using the following methodology.       .   Can I call 2 fi

Re: [flexcoders] Using Remoting on Flex 2.0

2006-10-06 Thread hank williams
I found the link to renaun's website with the remoteObjectAMF0 tool: http://renaun.com/blog/?p=31 Hope this helps, Regards Hank On 10/6/06, Varun Shetty <[EMAIL PROTECTED]> wrote: > Thank you Hank, > > The link provided by greg was too confusing and didn't see it solving my > concern. > > I wi

Re: [flexcoders] Logical place for data?

2006-10-06 Thread Samúel Jónasson
Hi, Thank you very much for this. This is cool. Sammi Michael Schmalle wrote: > > Hi, > > You don't neccessarily 'have' to use 'C' ;-) > > All you need to do is understand what a 'singleton' pattern means and > what bindable means. > > The principle of a model locator is simple. Create one obj

Re: [flexcoders] Logical place for data?

2006-10-06 Thread Michael Schmalle
Hi,You don't neccessarily 'have' to use 'C' ;-)All you need to do is understand what a 'singleton' pattern means and what bindable means.The principle of a model locator is simple. Create one object, create a public API for the one instance and store your data in the one instance while using dat

Re: [flexcoders] Background behind the background is flashes grey. Want it white and nerdy

2006-10-06 Thread Michael Schmalle
Hi,I have had the same problem, I think it has something to do with how you are initializing the Application tag.Judah, why don't you post the top part of your app's code so we can see.Peace, Mike On 10/6/06, Tom Chiverton <[EMAIL PROTECTED]> wrote: On Thursday 05 October 2006 22:27, dorkie dork

Re: [flexcoders] Logical place for data?

2006-10-06 Thread Samúel Jónasson
Tom Chiverton wrote: On Friday 06 October 2006 10:05, Samúel Jónasson wrote: What is the recommended way? It is rather clumsy binding to Application.application and I also think it makes sense to store all the data in one place - not divide it in to multiple places. H

Re: [flexcoders] Background behind the background is flashes grey. Want it white and nerdy

2006-10-06 Thread Tom Chiverton
On Thursday 05 October 2006 22:27, dorkie dork from dorktown wrote: > I set the background color of my app to white. But when the app first Is this the HTML background colour showing through, by any chance (change it to purple or something to see) ? -- Tom Chiverton Helping to appropriately gro

[flexcoders] Problem with Action Script

2006-10-06 Thread akash
Hi,   Can anybody tell me how to include two actionScript files in an application?    Actually I am using the following methodology.       .   Can I call 2 files using this tag? What is the syntax?   Regards, Akash Chander, 9886036863.   __._,_.___

Re: [flexcoders] Unusual Behavior of a text Area with HTML & Spanish Characters

2006-10-06 Thread Tom Chiverton
On Thursday 05 October 2006 20:14, [EMAIL PROTECTED] wrote: > Before I assume it's a bug, I'm probably doing something wrong, but > I'm trying to display Spanish language characters in html in a > textArea. However, characters with accents work like an escape > sequence and makes the formatting sk

RE: [flexcoders] Re: Dynamically adding components to a panel?

2006-10-06 Thread Steve Kellogg @ Project SOC
Anatole,   THANKS VERY MUCH!  I had a feeling that the answer was related to ItemRenderer, but I couldn’t seem to get my first steps to work.   May I ask one follow up question?  I need to insert the item renders in such a way that my list (inthis case, a TileList) can support differe

[flexcoders] Drag and Drop from HTML to Flex

2006-10-06 Thread khelonium
Hi, I am trying to drag and drop items from a html page to a flex application. When I release the dragged object I send a command via the external interface to flex to create what I need. Everything works fine except positioning. It seems flex doesn't always get the corect mouse coordonates when I

Re: [flexcoders] [Flex2] Binding an image using @Embed...

2006-10-06 Thread Thomas Rühl
thanks a lot for that :) this actually might become an issue... cheers, thomas Thomas Rühl Design, Programming & Concepts akitogo OHG Hanauer Landstrasse 188 60314 Frankfurt Telefon +49 (0) 69 800 69 445 Fax +49 (0) 69 800 69 449

Re: [flexcoders] Make It full screen

2006-10-06 Thread Tom Chiverton
On Friday 06 October 2006 09:37, KP wrote: > In Flex2.0 Have you seen the new version of the Flash player that just went up on labs, that adds full screen support ? Unfortunetly, it kills all mouse and keyboard interaction when in full screen mode, so it may well be useless to you. -- Tom Chiv

  1   2   >