[flexcoders] Re: Image contentWidth

2010-01-28 Thread myflexdownloads
Use the updateComplete event instead of createComplete and attach a listener and do the needful. RT --- In flexcoders@yahoogroups.com, criptopus sd_br...@... wrote: Tried the CREATION event it didn't work, but I managed to get round the problem. I just set a boolean flag when it changes.

[flexcoders] Re: Image not loading

2010-01-28 Thread myflexdownloads
Try invalidating the tile list. Also see if calling validateNow() on the tile list helps...it is usually required when you change item renderers but it does not seem like you are changing renderers. FlexDownloads.com Web Admin --- In flexcoders@yahoogroups.com, venkat eswar cooler...@...

[flexcoders] Re: Image not loading [1 Attachment]

2010-01-27 Thread venkat eswar
Hi , I am newbie in Flex.In my application when i click gallery1 button image s are loading in the tilelist container.But when i click the back button and then click the gallery2 button, previously loaded images are displaying. What i am missing. Please help me to solve this issue.. Thanks,

[flexcoders] Re: Image contentWidth

2010-01-27 Thread criptopus
Tried the CREATION event it didn't work, but I managed to get round the problem. I just set a boolean flag when it changes. And when I need to deal with the change i check the flag. No what I was looking for but gets around the EVENT problem. - Stephen --- In flexcoders@yahoogroups.com,

Re: [flexcoders] Re: Image contentWidth

2010-01-27 Thread Fotis Chatzinikos
You do not need a variable thought... the complete event (and not creationComplete) gets fired correctly whenever an image is loaded... On Wed, Jan 27, 2010 at 1:29 PM, criptopus sd_br...@ntlworld.com wrote: Tried the CREATION event it didn't work, but I managed to get round the problem. I

[flexcoders] Re: Image not loading

2010-01-27 Thread valdhor
Again, this was simple to track down. You need to hone your debugging skills. The problem is that you have your loadGallery method invoked on the initialize event. This only happens once so the next time that component loads, the method is not invoked. This can be seen easily by placing a

[flexcoders] Re: Image not loading

2010-01-22 Thread valdhor
The problem is in your Main.mxml file. You have two LoadImage components but only one is displayed (The MXML one). You need to remove the MXML component altogether and add the ActionScript component to the display list. So, Change these lines: mx:VBox width=100% height=100%

[flexcoders] Re: Image Size

2010-01-19 Thread Amy
--- In flexcoders@yahoogroups.com, criptopus sd_br...@... wrote: Is it possible to find out the dimensions of an image without actually loading the image? I am going to use an image inline with a Text() object using the normal img src='xyz.png' etc and I have discovered it you state the

[flexcoders] Re: Image Bounding Box

2010-01-17 Thread criptopus
mx:Image id=img width=80 source=Image.png complete=img.height = img.content.height / img.content.width * 80/ Got it working, here is the solution in case anybody else has the problem. - Stephen

[flexcoders] Re: Image Loader COMPLETE event wont fire for some images

2009-07-11 Thread toofah_gm
But why do images with transparency in them differ from this rule...they seem to exceed the maximum size earlier than those images that do not have transparency. I understand that they are bigger because of the alpha channel, but would like to know the exact rule about their max size if there

[flexcoders] Re: Image Loader COMPLETE event wont fire for some images

2009-07-10 Thread toofah_gm
Tim, Thanks for your help on this. I feel like I am getting a little closer, but would like to get full understanding so that I can make a good decision on how to proceed. The 2880 limit seems to be related to the problem, however it is interesting that this limit only seems to affect

[flexcoders] Re: Image Loader COMPLETE event wont fire for some images

2009-07-10 Thread quattos
I think this explains it - From http://livedocs.adobe.com/flex/gumbo/langref/flash/display/BitmapData.html: In AIR 1.5 and Flash Player 10, the maximum size for a BitmapData object is 8,191 pixels in width or height, and the total number of pixels cannot exceed 16,777,215 pixels. (So, if a

[flexcoders] Re: Image Loader COMPLETE event wont fire for some images

2009-07-09 Thread Tim Hoff
Hi Gary, There is a 2880 pixel limit for images. Your image is too wide. -TH --- In flexcoders@yahoogroups.com, toofah_gm ga...@... wrote: I am seeing cases when the image loader COMPLETE event will not fire. Does anyone know why this is the case? I wonder if there is something wrong with

[flexcoders] Re: Image Loader COMPLETE event wont fire for some images

2009-07-09 Thread toofah_gm
TH, Thanks for the quick response. If the image is too wide, why does http://www.mangumfamily.org/bar3.jpg; work? It has the same dimensions, just no transparency. Gary --- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote: Hi Gary, There is a 2880 pixel limit for images.

[flexcoders] Re: Image Loader COMPLETE event wont fire for some images

2009-07-09 Thread Tim Hoff
What happens if you convert the jpg to a png with transparency? I seem to remember a problem with the alphas for a jpg. -TH --- In flexcoders@yahoogroups.com, toofah_gm ga...@... wrote: TH, Thanks for the quick response. If the image is too wide, why does

[flexcoders] Re: Image Loader COMPLETE event wont fire for some images

2009-07-09 Thread toofah_gm
I tried this as well...I think that the original file is actually a PNG and not a JPG...unfortunately, this does not make a difference either. Gary --- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote: What happens if you convert the jpg to a png with transparency? I seem to

[flexcoders] Re: Image Loader COMPLETE event wont fire for some images

2009-07-09 Thread Tim Hoff
Well, probably a question better answered by Alex. I suspect that the transparency is adding to the file size and hitting the size limit. But, at this point, it's just a guess. Try cropping the image down to see if you get to a point that it works. -TH --- In flexcoders@yahoogroups.com,

[flexcoders] Re: Image Control - BitmapData - Resize - JPEG Encoder...changes image coloring?

2009-04-08 Thread xitij2000
I don't know about your color issues... however do give the following a try.. http://clevrlib.riaforge.org/ http://clevrlib.riaforge.org/ It is a nice library which has some extensions for Flex Bitmaps, allowing for bilinear and bicubic interpolation, for better quality resizing... --- In

Re: [flexcoders] Re: image snapshot in flex

2009-03-02 Thread Rob Kunkle
Err...sorry that was a typo. I've had trouble sending jpeg images to the server UNLESS they are base64 encoded. I'd like to send the data from the bytearray directly to the server, but for some reason it seems that flash is only allowing the first four bytes that identify the binary as a

[flexcoders] Re: Image scaleContent=false causes Security Sandbox Violation in AIR 1.5.x

2009-03-02 Thread Shigeru Nakagaki
Thanks, Alex :)

[flexcoders] Re: Image scaleContent=false causes Security Sandbox Violation in AIR 1.5.x

2009-03-01 Thread Shigeru Nakagaki
I'm a freelance and some of my customers use FlexBuilder to customize app which I made :( When they see Security Sandbox Violation in console, it's so hard to explain. # Especially the Japanese really minds about these tiny things.

RE: [flexcoders] Re: Image scaleContent=false causes Security Sandbox Violation in AIR 1.5.x

2009-03-01 Thread Alex Harui
To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Image scaleContent=false causes Security Sandbox Violation in AIR 1.5.x I'm a freelance and some of my customers use FlexBuilder to customize app which I made :( When they see Security Sandbox Violation in console, it's so hard to explain

[flexcoders] Re: Image scaleContent=false causes Security Sandbox Violation in AIR 1.5.x

2009-02-28 Thread Shigeru Nakagaki
Thank you, Alex. # I don't want to see any ignorable warnings in console. # Do not FlexBuilder output the warning that developer can ignore?

RE: [flexcoders] Re: Image scaleContent=false causes Security Sandbox Violation in AIR 1.5.x

2009-02-28 Thread Alex Harui
[mailto:flexcod...@yahoogroups.com] On Behalf Of Shigeru Nakagaki Sent: Saturday, February 28, 2009 12:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Image scaleContent=false causes Security Sandbox Violation in AIR 1.5.x Thank you, Alex. # I don't want to see any ignorable warnings

[flexcoders] Re: image snapshot in flex

2009-02-27 Thread Rob Kunkle
i've had a lot of trouble trying to send jpeg to a server with base64 encoding. It seems that flash only allows the first four bytes of the byte array to be sent when it is a jpeg. Anyone else come across this issue? I'd like to not base64 encoded/decode if possible. --- In

Re: [flexcoders] Re: image snapshot in flex

2009-02-27 Thread Anggie Bratadinata
I've never had any problems sending base64-encoded images to a server (PHP). Could it be a server issue that you had? -- Anggie Bratadinata | www.masputih.com | Indonesia On Fri, Feb 27, 2009 at 6:44 PM, Rob Kunkle mon...@goodlux.com wrote: i've had a lot of trouble trying to send jpeg to a

[flexcoders] Re: image in tilelist not showing

2008-12-31 Thread johndoematrix
still confused why the images cant show. i have tested the path to my images folder and it is correct. is there something am missing?

Re: [flexcoders] Re: image in tilelist not showing

2008-12-31 Thread claudiu ursica
in here and see that the path is indeed the right one } Claudiu From: johndoematrix johndoemat...@yahoo.com To: flexcoders@yahoogroups.com Sent: Wednesday, December 31, 2008 10:33:40 AM Subject: [flexcoders] Re: image in tilelist not showing still

[flexcoders] Re: Image over a panel title?

2008-08-30 Thread rachelmaxim
You're going to need to extend the Panel class to add the icon to the header. It's not as difficult as it sounds, check out this example as a starting point: http://dougr.net/?p=160 hth -Rachel --- In flexcoders@yahoogroups.com, David Pariente [EMAIL PROTECTED] wrote: Hi all, I wanna put

[flexcoders] Re: image snapshot in flex

2008-06-26 Thread netdeep
Can the data not be passed simply as a ByteArray instead of a base64 string? This is from the Adobe documentation for URLRequest: - dataproperty An object containing data to be transmitted with the URL request. This property is used with the method property.

Re: [flexcoders] Re: Image

2008-05-21 Thread Laith Juwaidah
But it should show on top of them :( On Wed, May 21, 2008 at 12:08 AM, Tim Hoff [EMAIL PROTECTED] wrote: So, make sure that the Image is on the lowest layer (added to a Canvas first); so that all of the other controls are on top of it. -TH --- In flexcoders@yahoogroups.com

[flexcoders] Re: image factory threaded application

2008-05-21 Thread netdeep
Actually I am using BlazeDS with messaging. The problem is getting multiple images to snapshot. In practice when I send multiple charts to the client one after the other, only the last one gets drawn and the other messages seem to get overwritten before ever completing the snapshot

[flexcoders] Re: Image

2008-05-20 Thread Tim Hoff
Hi Laith, Take a look at the backgroundImage property. You can also add an Image control to your application and set mouseEnabled=false. -TH --- In flexcoders@yahoogroups.com, Laith Juwaidah [EMAIL PROTECTED] wrote: Hi, I'm having a problem, I want to put an image on the application

Re: [flexcoders] Re: Image

2008-05-20 Thread Laith Juwaidah
The first method won't work because there'll be a lot of pictures, and they'll be moved and resized quite often. I tried the second one already, it shows the menu of the container but if there's a component under it and I hover the mouse on it the component won't change its style like it should.

[flexcoders] Re: Image

2008-05-20 Thread Tim Hoff
So, make sure that the Image is on the lowest layer (added to a Canvas first); so that all of the other controls are on top of it. -TH --- In flexcoders@yahoogroups.com, Laith Juwaidah [EMAIL PROTECTED] wrote: The first method won't work because there'll be a lot of pictures, and they'll be

[flexcoders] Re: Image Resampling

2008-05-02 Thread Ezekiel48
Dude you rock! Thanks! Once the image complete loading I create a scale matrix, maintaining the aspect ratio and then draw it to a new bitmap, then dispose of the old data. Saves a ton of memory! /** CODE / //When image loaded, create scaled bitmap private function

[flexcoders] Re: Image upload error

2008-03-28 Thread sk_acura
Hi All, We are also getting the same Error ( The same Upload feature worked fine when we used the Flex2, Flex3 Beta 1 and 2 versions..) [ERROR] Error #2044: Unhandled IOErrorEvent:. text=Error #2038: File I/O Error. at MyUpload/browseAndUpload() at MyUpload/___Button1_click()

[flexcoders] Re: Image cache behind the scenes

2008-01-31 Thread Kevin
I have noticed what I think may be a bug in the SuperImage component. When I load a large collection of images that need to be resized before they are displayed, the component first shows the image at full size and then shrinks it down. In some cases the image actually gets stuck at full size.

[flexcoders] Re: Image cache behind the scenes

2008-01-30 Thread Kevin
Thank you. This is exactly what I need. I put the following method in my objects and can now get the DisplayObject if it exists: public function getImageFromCache():DisplayObject{ //check to see if this image is loaded in the cache if(

[flexcoders] Re: Image with rounded corners

2007-11-15 Thread brian.raymes
, 2007 12:12 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Image with rounded corners I try to display a image with a corner radius like here : http://gallery.mac.com/emily_parker http://gallery.mac.com/emily_parker Maybe to apply a mask ?? But i don't know do

[flexcoders] Re: Image with rounded corners

2007-10-05 Thread brice.gervais
I try to display a image with a corner radius like here : http://gallery.mac.com/emily_parker Maybe to apply a mask ?? But i don't know do this Thanks Brice --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: what did you try? What does the image look like?

RE: [flexcoders] Re: Image with rounded corners

2007-10-05 Thread Alex Harui
To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Image with rounded corners I try to display a image with a corner radius like here : http://gallery.mac.com/emily_parker http://gallery.mac.com/emily_parker Maybe to apply a mask ?? But i don't know do this Thanks Brice --- In flexcoders

[flexcoders] Re: image embed and scaling question

2007-09-01 Thread Tony
I handled it this way: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical mx:Script ![CDATA[ import mx.events.ResizeEvent; [Bindable] [Embed(source=assets/someimage.png)] private var stretchy:Class;

[flexcoders] Re: Image -shrinking and resizing

2007-08-30 Thread bithroop
I think you'll want to set the scaleX and scaleY of the image based on the difference between the VBox's base size and its current size. Image has a facility to scale images down to fit, but not up, so this might be your best bet. --- In flexcoders@yahoogroups.com, Charu [EMAIL PROTECTED]

[flexcoders] Re: Image scaling problem

2007-06-09 Thread esaltelli
You hitting the max defaults of 1? --- In flexcoders@yahoogroups.com, Charles Galpin [EMAIL PROTECTED] wrote: I have found that at some point while zooming in on an image (scaling), the image mysteriously no longer displays portions of the image, almost like it's getting truncated at

Re: [flexcoders] Re: Image scaling problem

2007-06-09 Thread Charles Galpin
On Jun 9, 2007, at 11:40 AM, esaltelli wrote: You hitting the max defaults of 1? It appears to be lower than that. What max default are you referring to, and can it be increased? I made a similar test in which I scaled the image directly and the image displays ok at 7680x4969 but then

[flexcoders] Re: image out of frame

2007-05-11 Thread helix206
Set horizontalScrollPolicy=off verticalScrollPolicy=off on your component.

Re: [flexcoders] Re: image out of frame

2007-05-11 Thread li.wen
Hello, Em.. this works fine for me .. problem solved. Thank you. Regards, Joe - Original Message - From: helix206 To: flexcoders@yahoogroups.com Sent: Friday, May 11, 2007 6:18 PM Subject: [flexcoders] Re: image out of frame Set horizontalScrollPolicy=off

RE: [flexcoders] Re: Image Component Nightmare

2007-05-09 Thread Ely Greenfield
the explicit width/height, _and_ set the scaleX/scaleY of the image. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of vitcheff Sent: Tuesday, May 08, 2007 7:06 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Image Component Nightmare Thanks

[flexcoders] Re: Image Component Nightmare

2007-05-08 Thread vitcheff
Thanks for your replay. Had a look on it, maybe will take another one, but as I was trying to do the same with a Loader component, issues were the same. Event.INIT event is fired by the Loader and it's width and height remain 0, and I have to use loader.content too. That's just something I don't

Re: [flexcoders] Re: Image Component Nightmare

2007-05-08 Thread Pat Buchanan
I think this will help you in your quest. It may not be perfect, but it's what I've been using. http://www.tricedesigns.com/tricedesigns_home/blog/2007/03/free-imagezoomer-flex-component.html I've had the same problems as you of dealing with the width and height = 0. I really have no idea why,

[flexcoders] Re: image hotspots

2007-03-07 Thread Paul DeCoursey
Rectangle has contains(x:Number, y:Number):Boolean All you need to do is create an array of Rectangles and iterate through them until one matches. Here is an example of where I do this kind of thing: private function whereMouse(x:int, y:int):void {

Re: [flexcoders] Re: Image source doesn't affect Image size?

2007-01-19 Thread Russell Sprague
Great that works, any suggestions on how to get the scalled size of the image if I place it in the top frame of a VDividedBox, and set the image w and h to 100% So the image will scale to fit into the pane when the dividerBar is dragged. lar.drolet wrote: Try this: trace(iw

[flexcoders] Re: Image source doesn't affect Image size?

2007-01-19 Thread lar.drolet
Not sure if this will work but what if you placed your image inside of a Canvas (100% x 100%), which is inside if your VDividedBox. Create a listener on the Canvas for a ResizeEvent.RESIZE and call a new function on the event. This call out may be able to stretch your image to the proper size.

Re: [flexcoders] Re: Image source doesn't affect Image size?

2007-01-19 Thread Russell Sprague
thanks for the tip LD. here is the function I set up for resize private function onResize(evt:ResizeEvent):void{ var scaleF:Number = this.height/bImage.contentHeight; if(this.heightbImage.contentHeight){ bImage.scaleY = bImage.scaleX = scaleF;

Re: [flexcoders] Re: Image source doesn't affect Image size?

2007-01-19 Thread Doug McCune
I've had a little experience trying to do this, ie zooming into a specific point of an image. My only piece of advice is to be aware of using validateNow() and possibly callLater(). When you change scaleX or scaleY, it updates the width and height, which you then use for positioning. It's

[flexcoders] Re: Image source doesn't affect Image size?

2007-01-18 Thread lar.drolet
Try this: trace(iw +bImage.contentWidth); trace(ih +bImage.contentHeight); LD --- In flexcoders@yahoogroups.com, Russell Sprague [EMAIL PROTECTED] wrote: It seems that if an image is loaded into an Image tag at runtime, the size is w=0 h=0, ex. private var imgsrc:String; public

[flexcoders] Re: image flickers when not found

2007-01-03 Thread amigo_fd
No the image does not exist in some cases. So I would nee some kind of http-return-status to check what's happening. And replace the image source to notfound.jpg for instance. --- In flexcoders@yahoogroups.com, Jim Robson [EMAIL PROTECTED] wrote: Hey, Do the images exist in your file

[flexcoders] Re: image flickers when not found

2007-01-02 Thread Jim Robson
Hey, Do the images exist in your file system? In other words, is Flex failing to find images that actually exist? If so, could the problem be that LoadImage() is sometimes invoked before the data is loaded? -Jim --- In flexcoders@yahoogroups.com, amigo_fd [EMAIL PROTECTED] wrote: Hello,

[flexcoders] Re: Image in tab

2006-11-08 Thread bhaq1972
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Tuesday, November 07, 2006 9:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Image in tab check out the archives. Jeremy Lu did something special. I was unable to find

[flexcoders] Re: Image in tab

2006-11-07 Thread bhaq1972
check out the archives. Jeremy Lu did something special. --- In flexcoders@yahoogroups.com, k4rth4l [EMAIL PROTECTED] wrote: I want to put an image on the left of the title in each tab of a tab naviguator. Anybody know how I can do that ? This is what I try to do : [Tab Navigator]

[flexcoders] Re: Image in tab

2006-11-07 Thread jamesdustinmercer
Have you tried setting the icon field on the children of the tabNavigator? This should do what you want. --- In flexcoders@yahoogroups.com, k4rth4l [EMAIL PROTECTED] wrote: I want to put an image on the left of the title in each tab of a tab naviguator. Anybody know how I can do that ?

RE: [flexcoders] Re: Image in tab

2006-11-07 Thread KP
I was unable to find that can u please reply here only It will be help fi\ul for others also.. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bhaq1972 Sent: Tuesday, November 07, 2006 9:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re

[flexcoders] Re: Image in tab

2006-11-07 Thread k4rth4l
Yeah ! I did it with the icone field for now. But, I have to find a way to remove an element in a database when the user click the icone. Do you think this would work if I my icone is an SWF with to appropriate code inside to remove an element in a database ? -- Flexcoders Mailing List

[flexcoders] Re: Image in tab

2006-11-07 Thread Doug Lowder
Have a look here, maybe the source code is still available: http://tech.groups.yahoo.com/group/flexcoders/message/45795 --- In flexcoders@yahoogroups.com, "k4rth4l" [EMAIL PROTECTED] wrote: Yeah ! I did it with the "icone" field for now. But, I have to find a way to remove an element in a

[flexcoders] Re: Image in tab

2006-11-07 Thread k4rth4l
Thank you ! This is right what i'm looking for ! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to:

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

2006-10-08 Thread Harish Sivaramakrishnan
Did you try using the scaleContent property of the image? I guess that should solve your problem directlyThanksHarishOn 10/7/06, Willy Ci [EMAIL PROTECTED] wrote: thanks, I will try your way over the long weekend!WillyOn 10/6/06, Tim Hoff [EMAIL PROTECTED]

[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. mx:Canvas width=100 height=100 verticalScrollPolicy=off horizontalScrollPolicy=off mx:Image x=-200 y=-300

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

[flexcoders] Re: Image reading from Oracle Intermedia

2006-08-10 Thread Dave Wolf
That is exactly how we have done it. Writing a Servlet to return the stream of the image is dead simple and then as you said you set it as the source URL. Its also very handy when you want one static URL in the MXML but variable images based on some setting or environment. -- Dave Wolf Cynergy

Re: [flexcoders] Re: image in text within Alert.show()

2006-08-08 Thread Doug Arthur
Awesome, thanks... Now how would I embed an image in htmlText? - Doug On 8/7/06, Tim Hoff [EMAIL PROTECTED] wrote: Hi Doug,To do this, you are probably going to have to create your own component that extends the Alert class. Instead of text, use htmlText.-TH--- In

Re: [flexcoders] Re: image in text within Alert.show()

2006-08-08 Thread Doug Arthur
can anyone point me in the right direction on this? Thanks! On 8/7/06, Doug Arthur [EMAIL PROTECTED] wrote: I'm also realizing I'm not to sure on how I'd do that? The show does a lot more than just text... On 8/7/06, Tim Hoff [EMAIL PROTECTED] wrote: Hi Doug,To do this, you are

Re: [flexcoders] Re: image in text within Alert.show()

2006-08-08 Thread Daniel Freiman
I wanted to extend the Alert Class to create a prompt class few weeks ago. It wasn't worth it. Too many things were marked private or mx_internal. If you really want to try you can, but I would just make your own using a Panel or TitleWindow and some layout containers (Forms or Vbox). On

Re: [flexcoders] Re: image in text within Alert.show()

2006-08-08 Thread michael . corbridge
[EMAIL PROTECTED]cc: Sent by: Subject: Re: [flexcoders] Re: image in text within flexcoders@yahoogroups.com Alert.show

Re: [flexcoders] Re: image in text within Alert.show()

2006-08-08 Thread Doug Arthur
alertSymbol:Class;Alert.show(Text entered in the comments box will be lost! Do you want tocontinue?,Alert, Alert.YES|Alert.NO,null,alertListener,alertSymbol,Alert.NO);Doug Arthur To: flexcoders@yahoogroups.com [EMAIL PROTECTED] cc: Sent by: Subject: Re: [flexcoders] Re: image in text within flexcoders

[flexcoders] Re: image in text within Alert.show()

2006-08-08 Thread Tim Hoff
Hi Doug, After looking at the Alert.as and AlertForm.as classes, I agree with Daniel. Subclassing this component, just to get html bullets, is probably not worth it. You would first have to extend AlertForm.as and override the createChildren function. Instead of textField.text =

[flexcoders] Re: Image Loading causes Flash slowness and high cpu utilization

2006-08-01 Thread Eric Raymond
Short answer is it doesn't matter how we load the images as long as they are remote. We can bind to the image's source property or do an explicit load. If the images are embedded, the problem goes away (presumably because there is no load required). We don't currently have a small test case ...

[flexcoders] Re: Image Pan - Step 1

2006-07-27 Thread richmcgillicuddy
OK, I have the slider demo working in flex2. I do still have one problem with that. The image only loads part of the image and sizes wierd inside of the Canvas. I can't really zoom, if I do, it just moves the image and makes it bigger inside of the canvas, the part I started with. I can never

[flexcoders] Re: Image Pan - Step 1

2006-07-27 Thread richmcgillicuddy
Figured out the partial image thing. If the Image component is inside of anything but a canvas and I set the height and width of the component to 100% it resizes the image and crops the rest of it. Rich --- In flexcoders@yahoogroups.com, richmcgillicuddy [EMAIL PROTECTED] wrote: Hello,

[flexcoders] Re: Image Pan - Step 1

2006-07-26 Thread richmcgillicuddy
Subject: [flexcoders] Re: Image Pan - Step 1 OK, just needed the right terms to search on. Found this in the help: import flash.display.Sprite; import flash.events.MouseEvent; var container:Sprite = new Sprite(); container.name = container; var circle:Sprite = new Sprite

Re: [flexcoders] Re: Image Pan - Step 1

2006-07-26 Thread JesterXL
(myContainer); myMap.x += 100; Don't know 3. - Original Message - From: richmcgillicuddy [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, July 26, 2006 9:13 AM Subject: [flexcoders] Re: Image Pan - Step 1 Last night, I was able to find a demo called SpriteArranger

[flexcoders] Re: Image Pan - Step 1

2006-07-26 Thread richmcgillicuddy
. - Original Message - From: richmcgillicuddy [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, July 26, 2006 9:13 AM Subject: [flexcoders] Re: Image Pan - Step 1 Last night, I was able to find a demo called SpriteArranger that showed addng different types of objects

Re: [flexcoders] Re: Image Pan - Step 1

2006-07-26 Thread JesterXL
, but there isn't a point, and Sprite MovieClip have most of the same required properties methods you need. - Original Message - From: richmcgillicuddy [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, July 26, 2006 10:55 AM Subject: [flexcoders] Re: Image Pan - Step 1 Thanks

[flexcoders] Re: Image Pan - Step 1

2006-07-25 Thread richmcgillicuddy
Thanks for the pointers. I replaced myMap.scrollRect.Top with myMap.X and myMap.scrollRect.X, both had no effect. What should be my base container object? Right now I just have an image as the base container, is there a better choice. In our Flash 8 code, we have 3 different movie clips. On the

[flexcoders] Re: Image Pan - Step 1

2006-07-25 Thread richmcgillicuddy
OK, just needed the right terms to search on. Found this in the help: import flash.display.Sprite; import flash.events.MouseEvent; var container:Sprite = new Sprite(); container.name = container; var circle:Sprite = new Sprite(); circle.name = circle; circle.graphics.beginFill(0xFFCC00);

Re: [flexcoders] Re: Image Pan - Step 1

2006-07-25 Thread JesterXL
and the DisplayObject really nice, so. - Original Message - From: richmcgillicuddy [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, July 25, 2006 8:29 PM Subject: [flexcoders] Re: Image Pan - Step 1 OK, just needed the right terms to search on. Found this in the help: import

[flexcoders] Re: Image source to a repeaterItem

2006-06-17 Thread Doug Lowder
The value for myData.poste.icon is just a string, not the reference to the image. I believe you'd need to do something like the following: mx:Image id=iconImg source={rep.currentItem.icon=='poste1'? poste1 : poste2} / A function returning the proper icon class reference would probably be

[flexcoders] Re: Image Icon Button in Panel Header

2006-06-15 Thread Tim Hoff
How would you suggest positioning the button in the header? --- In flexcoders@yahoogroups.com, Daniel Cascais [EMAIL PROTECTED] wrote: Hi, I'm not Michael, but I can still give it a try ;) In a class where you extend the Panel, you could add something like this rough example: Blah blah

[flexcoders] Re: Image Icon Button in Panel Header

2006-06-15 Thread Doug Lowder
Hi Tim, Jeff Tapper's MaxRestorePanel could probably be easily modified for this. http://jeff.mxdj.com/flex_2_maxrestorepanel_class.htm Doug --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: How would you suggest positioning the button in the header? --- In

Re: [flexcoders] Re: Image Icon Button in Panel Header

2006-06-15 Thread Daniel Cascais
I sen't my reply to early... It would be something like this: private function resizeHandler( event : ResizeEvent ) : void { myButton.x = this.width - myButton - 6; myButton.y = 6; } On 6/15/06, Tim Hoff [EMAIL PROTECTED] wrote: How would you suggest positioning the button in the header?

Re: [flexcoders] Re: Image Icon Button in Panel Header

2006-06-15 Thread Jeremy Lu
add the button to the titlebar would be a good choice (better than rawChildren, since you don't have to worry about positioning it). On 6/16/06, Daniel Cascais [EMAIL PROTECTED] wrote: I sen't my reply to early...It would be something like this:private function resizeHandler( event :

[flexcoders] Re: Image Icon Button in Panel Header

2006-06-15 Thread Tim Hoff
Thanks guys, That gives me enough to start with. Best Regards, Tim --- In flexcoders@yahoogroups.com, Jeremy Lu [EMAIL PROTECTED] wrote: add the button to the titlebar would be a good choice (better than rawChildren, since you don't have to worry about positioning it). On 6/16/06,

Re: [flexcoders] Re: Image Icon Button in Panel Header

2006-06-15 Thread Michael Schmalle
Hi, I get shoots fired at me every day ;-) Jeremy is right put it in the title bar. I know I posted this last week or so but, here goes again. I made my own widow but, if I remember correctly the 'titleBar' is a UIComponent. 1) In creatChildre() override if (!minimizeButton ) {

[flexcoders] Re: Image Icon Button in Panel Header

2006-06-15 Thread Tim Hoff
Cool, thanks man. And really, no shots. :) -TH --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, I get shoots fired at me every day ;-) Jeremy is right put it in the title bar. I know I posted this last week or so but, here goes again. I made my

Re: [flexcoders] Re: Image Icon Button in Panel Header

2006-06-15 Thread Daniel Cascais
Yep, that looks better ;) On 6/15/06, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, I get shoots fired at me every day ;-) Jeremy is right put it in the title bar. I know I posted this last week or so but, here goes again. I made my own widow but, if I remember correctly the

Re: [flexcoders] Re: Image Icon Button in Panel Header

2006-06-15 Thread Jeremy Lu
hey Michael,Please don't take it personally, don't mean to shoot anyone :-)Btw, what's the adobe component developer summit all about ? never heard it anywhere.Is it for designers or for developer ? focuing on Flex 2 or Flash 8 ? thanks.Jeremy.On 6/16/06, Daniel Cascais [EMAIL PROTECTED] wrote:

[flexcoders] Re: Image problems

2006-06-05 Thread Peter Blazejewicz
Hi Michael, to embed images in custom mxml component in: {PROJECT}/com/ peterblazejewicz/youtube/view/renderers/ i've used: [Embed(source=/assets/images/star_sm_bg.gif)] private var backgroundIcon:Class; [Embed(source=/assets/images/star_sm_half.gif)] private var halfIcon:Class;

[flexcoders] Re: Image scale 9 having fun

2006-05-25 Thread Doug Lowder
I think you'll need to add maintainAspectRatio=false to your mx:Image tag. --- In flexcoders@yahoogroups.com, Stacey Mulcahy [EMAIL PROTECTED] wrote: Alrighty, I'll take one for the team and post the stupidest question of the day, in fact its Stacey++ since I accidentally posted this to

RE: [flexcoders] Re: Image scale 9 having fun

2006-05-25 Thread Stacey Mulcahy
Love you. Dont take it personally ;) But that did it. Damn. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doug Lowder Sent: Thursday, May 25, 2006 6:26 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Image scale 9 having fun I think

[flexcoders] RE: Image or mouse event changes from Beta 2 - Beta 3?

2006-05-16 Thread Jim Robson
I sort of found the cause, but the solution is not satisfactory. I tried swapping a PNG for the SWF, and the code worked. So I decided to see if I could make the SWF work. The original file consisted of a button with nice rollover and down effects (i.e. a typical Flash button). I

  1   2   >