Hey Ryan,
Thanks for the thought; however, this doesn't solve my problem. The
problem is this: The children of the canvas that I want to scale up
are all vector (swf files). If I use a matrix or any other method to
scale up the graphics after they are in raster format (bitmapdata)
then the
Alex,
Thanks a bunch. Days of frustrated work make you overlook whats
staring you in the face sometimes. In searching for answers I've
noticed your work and responses across the flex world. You do
excellent work in you blog and responses helping us 'beginners' out.
Thanks for the tip Alex. I'm googling now, but I'm curious how this
could be of benefit to me for a MovieClip on stage.
Content designers build the SWF's that my application loads in, which
consists of simple MovieClips, images, vector graphics and some
interactions (like drag/drops or a
Oh, I see... This seems like a bit of a hack, and could probably be
coded a bit cleaner, but maybe do the drawing from a parent container
and just set a clipping rectangle equal to the location and size of the
scaled object? If it works, I'd be curious to know. Here, the stage was
used:
Do you have an answer for this yet? I am running into the same problem.
Regards,
Tung Chau
--- In flexcoders@yahoogroups.com, Jason [EMAIL PROTECTED] wrote:
Does anyone know how to set the default 'check' icon of a CheckBox to
a different image? I would like to use an 'x' instead of the
Check this out:
http://www.adobe.com/devnet/flex/articles/icon_checkbox.html
-Alex
--- In flexcoders@yahoogroups.com, tungchau81 [EMAIL PROTECTED] wrote:
Do you have an answer for this yet? I am running into the same problem.
Regards,
Tung Chau
--- In flexcoders@yahoogroups.com, Jason
Hey Ryan,
That was a great idea, something I definately had not tried yet.
Unfortunately, referencing the child from a parent did not seem to
produce any better results. The issue still stands that the
getBitmapData method (as well as bitmapdata produced by using the
ImageSnapshot class) do not
Pretty much what I asked in the subject line. I need Flash to submit to a
database before the window closes and the flash instance dies.
Don't think that a pop up (alert) is an option for our sites.
Using JS and ExternalInterface to communicate with flash (AS) to push to a
HTTPRequest data
That's weird - the code I posted below looks like it produced the 400 x
400 PNG at near identical quality to the original. In theory, drawing
the 400 x 400 pixel area of the stage that the child has been drawn at
should produce the correct result. You sure you drew the
application.stage object,
Use javascript and XMLHTTP to update the database instead of Flex?
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of wkolcz
Sent: Tuesday, December 09, 2008 5:34 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Anything
Ryan I could kiss you right now (thankfully for my sake of my
masculinity the internet will prevent this from happening)! I kep
thinking on what you posted about grabbing the data by referencing the
parent, and then it hit me.. I placed the entire canvas inside of
another container, then called
And for anyone that may be running into a similar issue here is a
basic (and somewhat messy) example of how to accomplish what has been
discussed in this thread. I've posted the entire app, so you should be
able to simply copy and paste..
?xml version=1.0 encoding=utf-8?
mx:Application
Ah, good deal. Glad it worked out!
-Ryan
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Kyle
Sent: Tuesday, December 09, 2008 3:43 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: getBitmapData from a scaled display object
Ryan I could kiss you
If you don't own the content, the FCK won't help you. You'll need to wrap the
content and implement your own tabbing scheme. Difficulty Rating 8 out of 10.
You'd need a SWFLoader subclass that implements IFocusManagerComponent. It
would need a keyFocusChange handler that calls
Read the Security WhitePaper. Looks like a SWF is trying to access the host
server. Might be an bad assumption in that SWF.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
luvfotography
Sent: Tuesday, December 09, 2008 1:09 PM
To: flexcoders@yahoogroups.com
Subject:
--- In flexcoders@yahoogroups.com, Ralf Bokelberg
[EMAIL PROTECTED] wrote:
Hi Amy
Afaik this is not possible in Flashplayer. A block of code is always
running through without any interuption. Colin Moock has a good
chapter of how all this works in his nice AS3 book.
Apparently the code in
Interesting. I decided to actually try my test above, and on 100
items, the for-each version takes ~50 milliseconds, versus ~25
milliseconds for the explicitly indexed loop. When doing some actual
work in the loop (a trace), the numbers are 41.9 seconds for the
for-each and 41.1 seconds for
*nods*
I find that it's often much easier to read when you use for..in and for
each..in rather than regular for. And since you need to have a var current
= list[i] or similar as the first line, If you only need an index to
display, or it's 1-based as opposed to 0-based, using a for [each]..in and
They are different animals. Scenarios where you could choose between
index-based or property-based iteration don't come to mind.
Also note property-based iteration can perform much more slowly iterating
proxy-based objects, and do not work on sealed non-dynamic classes.
-Alex
From:
Hi All
Guys This is regarding the problem I had few days back. I made
filtering of the List partially working for my app after taking some
help from this group, but I realize a bug in my program. I am making
rest calls to load data in form of XML in List. I need to apply filter
on this list.
Sorry forgot to add text box code
mx:TextInput id=txtSearch x=17 y=75 change=doChange()/
doChange is called the moment user starts entering text in the text input
Thanks for all of your time
Anuj
On Tue, Dec 9, 2008 at 4:10 PM, anuj181 [EMAIL PROTECTED] wrote:
Hi All
Guys This is regarding
I added the local dev server to the trusted sites in IE7 and enabled
basically all JavaScript settings for trusted sites. Then I went on to
disable all installed add-ons, to no avail.
So I reset IE7 (Tools Ineternet Options Advanced Reset Reset),
then reinstalled the ActiveX Flash player
Is there anyway to stop binding warnings (or all warnings from being
logged to the console)? I've tried to turn off warnings with compiler
arguments like:
-compiler.show-binding-warnings=false
-warnings=false
I also tried unchecking enable warnings checkbox in flex builder.
It looks like none
Sorry Guys
I posted another mail in the group. I thought it was working but it is not
going through each node, it is just comparing with the id of the first node
of my XML , Below is the code , I apologize for jumping to the conclusion
that it is working as initially it seems like. I am doing
Those warnings are correctable.
Wrap the node expression, which is probably currentItem or data, or
selectedItem which are objects, in the XML() function.
text={XML(myDG.selectedItem).myNode.text()}
Tracy
From: flexcoders@yahoogroups.com
Hi Guys,
I would like to know if there is any way to dynamically change the
timezone in flex.
Say suppose we have local time and few check boxes to see time in
other timezones. When you check and uncheck the check box the time
changes according to the selected timezone. This would not depend
Trying out the SocketMonitor and what I'm experiencing is not what I'm
expecting to happen. Here's a code snippet:
__sm = new SocketMonitor(HOSTNAME, PORT_NUMBER);
__sm.addEventListener(StatusEvent.STATUS, onNetworkStatusChange);
__sm.start();
The onNetworkStatusChange() method gets called
--- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote:
- Original Message -
From: Ralf Bokelberg [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, December 09, 2008 3:00 PM
Subject: Re: [flexcoders] Re: Parsley MVC :: some thoughts
Hi Amy
Because they have stored bookmarks, notes and other stuff with their
product. They uninstall the product, install it again and they're still
there. It's marked as critical with their QA and I don't think we could get
away with it. Well, I guess I could tell them that Adobe knows better than
them,
Here is a trivial example using dispatchEvent to show the synchronous
invocation of listeners that could (if badly written) interfere with
innocuous code.
Normally when the click to count button is pressed, the count goes from 1
to 10.
If the button to enable despatching the event is pressed,
I'd try using XMLListCollection instead of ArrayCollection
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of anuj
sharma
Sent: Tuesday, December 09, 2008 5:05 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Filtering the List Entries depending upon the text
Hi,
http://www.calsoftgroup.com/samspick/index.html
Using a Tilelist to show a books title, image, description, rating,
authorurl.
The image is not rendered it is different from what I am seeing in a
picture viewer. mx:image width =100 height =150 /
actual image width = 100 and height =150
Go through this
sitehttp://www.adobe.com/devnet/flex/quickstart/accessing_xml_data/
The techniques used here will surely make it easy for you,
Regards,
Saagar Shetty
www.xoriant.com
From: Alex Harui [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Hi,
I am working on a sample application with flex (and LCDS
data services) and have
been experimenting with directly calling the fill method
(extending AbstractAssembler) as a way of poking data into a
server-side DB. Every time I try to run my test case fill is not
getting called . I'd
Pratik,
I would like to know if there is any way to dynamically change the
timezone in flex.
Not literally, no.
Say suppose we have local time and few check boxes to see time in
other timezones. When you check and uncheck the check box the time
changes according to the selected
Can you elaborate a bit on what you mean by not getting called? Where is
the failure occurring?
Brendan
On Wed, Dec 10, 2008 at 12:58 AM, shruti shety [EMAIL PROTECTED]wrote:
Hi,
I am working on a sample application with flex (and LCDS data services) and
have been experimenting with
Hi
I have a print statement in the fill method of the class which extends
AbstractAssembler.Thats not getting printed on the console.
I dont get any errors also. When i click on the button the screen just
refreshes.
Thanks,
Radhika
--- On Wed, 12/10/08, Brendan Meutzner [EMAIL PROTECTED]
Haha Amy, that's a good one. Maybe it should :)
But seriously, dispatchEvent is nothing more than a function call,
which calls all the event handler methods. Of cause you can think of
pathologic examples like Paul likes to do :) But this is really the
same with function calls. It is completely
101 - 138 of 138 matches
Mail list logo