Sorry, I missed a parameter in there - that should have been new Date
(0).
new Date( CurrentTimeTicks / 1 - new Date(0).getTime() )
If you truly have a 100ns count since 1 AD as CurrentTimeTicks (the
math works out, but you should still verify that with the webservice
if possible), then
Hi Sid,
Thanks for the reply. I later realized that since the servlet was
being called from the flex application the url redirect or the forward
would not work. I have moved the authorization check such that it
occurs before the flex app is loaded.
Regards,
Gaurav
--- In
--- In flexcoders@yahoogroups.com, calisza [EMAIL PROTECTED] wrote:
After having a look around at various blogs, resources etc I'm
stumped
on the following :
I have a TileList using a custom itemRenderer. The dataprovider is a
standard ArrayCollection of objects.
The itemRenderer
Bah. Obviously I'm not testing any of this myself - I'm leaving that
up to you!
A call to new Date(0).getTime() will just return 0, so that won't
work. What you need is the number of milliseconds *between* 1 AD
00:00:00 UTC and Jan 1, 1970 00:00:00 UTC. I don't think there's a
way to use
Hi Tracy,
I'm confident that FB3 can find the style swf since the following is printed to
the console:
[SWF] Users:jbattat:Documents:Flex Builder 3:testRuntimeCss:assets:style1.swf -
11,294
bytes after decompression
Still not sure how to verify that the style1.swf is actually a style swf
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
It is under the install folder. Easiest way to find it is to search
for
it.
Another easy way is to create a RTE in Actionscript and put a
breakpoint on the line:
variable=new RichTextEditor();
then use the Step Into
Hi all,
i got this error when i use mxmlc to build the flex app.
what is code 255? i can't find it out.
thanks!
c.
--
View this message in context:
http://www.nabble.com/mxmlc---Failed-with-return-code%3A-255-tp18494095p18494095.html
Sent from the FlexCoders mailing list archive at
i just type out mx:RichTextEditor into a file in flexbuilder, hold control
key and click on that tag- it opens up the source for you.
d.
On Wed, Jul 16, 2008 at 2:45 PM, Amy [EMAIL PROTECTED] wrote:
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Tracy
Spratt [EMAIL
So you're saying that others are using 3rd party tools for reports?
Unless we can find one that lets us somehow load a swf in our Flex
app (doubt it), that option stinks because you'll basically be using
an entirely different application for reporting!
--- In flexcoders@yahoogroups.com,
Hi Tim,
Thanks so much, your tips did the trick. I'm going to go the whole
event dispatching route, but it's good to know how to access the
parentDocument elements.
And ditto on the removeChild bit - i had to laugh at myself when I
read your response - it's how we learn :)
thanks again,
B
---
Well, I know we'd be willing to purchase a reporting tool for a cost
on par with the cost of Flex Builder. And it wouldn't need to be
a catch all, generate all sophisticated solution like ClearBI.
I'd be happy with just an SWC reporting library. Just add some
component(s) from the SWC, setup
I know I'm new to this group, but make sure you have the namespace
added to the top of the MXML.
mx:Application
xmlns:mx=http://www.adobe.com/2006/mxml;
xmlns:mystuff=myStuff.*
Then you can instantiate with,
mystuff:CustomGrid/
Chris
--- In flexcoders@yahoogroups.com,
I'm using java ant tasks with compc.
If anyone can point me to tutorials or examples of how to take a number of
packaged classes and compile them into a library swc file, I would be most
appreciative.
One thing to note about the documentation:
Using compc, the component compiler
Anyone have any experience with Data Services?
--- In flexcoders@yahoogroups.com, Steven Toth [EMAIL PROTECTED] wrote:
I have a DataService that uses the Assembler interface approach (I
subclassed AbstractAssembler). When I update one item in the
managed
Collection and commit it
Here is my preferred way of creating a singleton class. Usage would
be: MySingleton.instance.someVar
Dale
package your.package
{
[Bindable]
final public class MySingleton
{
public static const instance :
Hi there Im hoping someone here can help me.
I have encountered an obstacle in the project I am working on at the
minute. I currently have a datagrid which is populated by an array
collection of VOs. I want to be able to drag a column from the
datagrid into a leaf node of a tree. When the drag
Thanks Tracy, much appreciated.
I found your previous post and have been reading many of the articles
referenced and am still frusterated. I thought you were harsh with
your 'execute the jerks' comment but am almost ready to join you :-).
Unfortunately, I am still getting my sandbox violation
For community reference...
If you ever run into a case where you have a set width on a
columnChart and for some reason the stacked bars do not show up, even
though the axis shows and the legend show, then check out the width of
the string supplying the CategoryAxis categoryField property (label
Can a Repeater be done in ActionScript? Can a form be created in
ActionScript?
Thanks for the help,
timgerr
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
I suggest Repeater.
Tracy
Hello Guys,
I would like to know is there a way to give border only to the panel
header and not the complete panel.
i tried borderstyle= solid but that give for the whole panel and
borderThicknessTop: just give the bottom border to the header.
Can any one of you help me.
Thanks
Pratik
Never mind, I've found the answer.
Actually I've already in the right direction, it was just a typo.
In the datagridcolumn I just simply create a renderer and data can be
referenced through - data.id.orderId
thanks
On 7/16/08, Yohanes Iwan Sugiarto [EMAIL PROTECTED] wrote:
Hi..
I'm using LCDS
I have a a 300k true type font that I want to load into my app via a RSL.
When I do the embedding in Flash 8 or 9 to create the RSL, the movie size
jumps 1.2 megs. I think the reason for this is that it is a handwriting
font and the font characters are incredibly complicated (the I takes 280
How about
Navigate-Open Type ?
On Wed, Jul 16, 2008 at 11:47 AM, Derrick Anderson
[EMAIL PROTECTED] wrote:
i just type out mx:RichTextEditor into a file in flexbuilder, hold control
key and click on that tag- it opens up the source for you.
d.
On Wed, Jul 16, 2008 at 2:45 PM, Amy [EMAIL
Guys need help, I've spent a day trying to figure out whats the problem with
with this app. Its about programmatically resizing a Titlewindow.
When I'm assigning the TitleWindow a new value for width, a portion of the
window
seems to be clipped for no reason. Is this a bug? Is there a
I have an advanceddatagrid where I inspect some column metadata and
create appropriate formatters.
When my column is a DATE (not a DATE TIME), I attempt to create the
formatter like so:
var fmtDate:DateFormatter = new DateFormatter;
fmtDate.formatString = DD MMM ;
column.formatter =
:-)
I've already read that post a couple of times Tom. Appreciate the
effort you put in to help others out.
Ok, so should changing the order fix the issue? This is my order.
playerglobals
flex
framework
automation_flexkit
datavisualization
rps
utilities
And it still won't run.
playerglobals
In a drag and drop tree I was wondering how to get the name of the
node being dropped and how to get the name of the node that it was
dropped into? Here is what I have so far,
?xml version=1.0?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
!-- Here is the HTTP Request --
mx:HTTPService
What did you see in the bug that made you think that this enhancement
was implemented? The bug is marked Deferred, which means it wasn't.
Would you like to submit a patch to implement it?
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com
Sorry, man, we have reached the end of my knowledge on this one. I'd
try a wildcard in the to-ports attribute, but that is all I can suggest.
Have you gone to the source for this, that is, the security
documentation? There my be additional requirements for socket access.
Tracy
I have a view with two states, normal and expanded. In the expanded
state additional controls are visible.
I do an mx:AddChild of an MXML component, lets call it
view:MyControls. MyControls contains a view:PresetSelector, which
contains a subclass of ComboBox, StringComboBox, which is reminiscent
Hi All,
Can anyone please help clarify how to implement and support a
'non-master' socket policy file my head is spinning after reading all
the adobe docs. My current understanding is as follows: ( I need to
task server team to help with this one and need to make sure I have it
right before
This may be my lack of understanding of the Profiler tool but...
After de-serialization of the server response and UI rendering of data
retrieved from the server, if I do a 'Reset Performance Data' in the
Profiler followed by a UI gesture that requires no server trip, and
then do a 'Capture
Thanks Tracy!
I have read almost everything and still dont have it down as to what I
need. But yes you are right socket policy files are a bit different. I
just posted a new thread titled 'non-master socket policy files - head
spinning - pls help?'. Hopefully someone can help.
Much appreciated!
The version without plugins (pure AIR application with UI editor, but you
can use Flex or vi to edit reports in source ) is coming this summer. I will
be showing the final release on 8/19 in NYC (
http://www.eventbrite.com/event/126384018) among other reporting goodies
like generating complete
I need a way to read a gzip file 'http://www.myhost.com/myfile.gz'
Is there a way to do this?
I found a library for air, but I need it for flex.
http://weblogs.macromedia.com/mchotin/archives/2004/11/enabling_gzip_c.html
thanks,
The Flex docs specify that the send object can contain either Name/Value
pairs of an XML object but I keep getting errors.
Is it possible to pass a (non null) parameter object in the HTTP service
send request - I keep getting HTTP405 (Method not allowed) errors. (If
I include these args as part
I don't think updateDisplayList is the right place to be doing drawing into
graphics, although I may be wrong. I usually do it on the render or
updatecomplete event, but that might not be optimal either. Alex would know
:) If you want to link to a zip of a test project I might get a chance to
poke
Thanks Doug, there's a bunch of good ideas in there!
Now all I need to do is get this flaming move over and done with, and one
day I might even get my DSL reconnected :)
-Josh
On Thu, Jul 17, 2008 at 1:43 AM, Doug McCune [EMAIL PROTECTED] wrote:
Oh my god. Please please please do not write
IIRC, usHandCursor and buttonMode are styles but mouseChildren is a
property, so no. If I had a little more information about what it is you're
actually trying to achieve I could probably give you a better answer as to
how to go about it :)
Do you want the whole mx:text component to have a mouse
Switch to a different web service, or call whoever provides it and get some
documentation :)
What the hell is 1AD? We haven't been keeping nice records since like 200AD
or something.
And do they count all the various leap seconds? What about that time when
some pope rejigged the calendar and we
It'll be whatever namespace you define in your root node. For example (from
a file I'm looking at right now):
mx:Application
xmlns:mx=http://www.adobe.com/2006/mxml;
xmlns:flash=flash.filters.*
xmlns:disposals=disposals.ui.components.*
xmlns:ns1=pathways.controls.*
Also, technically it doesn't have to be the root node, but it's usually a
damned good idea :)
-Josh
On Thu, Jul 17, 2008 at 8:11 AM, Josh McDonald [EMAIL PROTECTED] wrote:
It'll be whatever namespace you define in your root node. For example (from
a file I'm looking at right now):
405 Method not allowed means your server is refusing to accept the POST HTTP
Method.
-Josh
On Thu, Jul 17, 2008 at 7:43 AM, pbrendanc [EMAIL PROTECTED] wrote:
The Flex docs specify that the send object can contain either Name/Value
pairs of an XML object but I keep getting errors.
Is it
I'm just guessing, but wouldn't backgroundAlpha=0 in your flex app
plus wmode=transparent in your object/embed tag do the trick?
On 16/07/2008, at 11:48 PM, ammu nath wrote:
Hi All,
Can any body help me how can i achive Transparent
Application background in a flex application
I guess that may be it since the Virtualization function that got used in Group
is not found. thanks.
- Original Message
From: Matt Chotin [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com
Sent: Wednesday, July 16, 2008 1:01:02 AM
Subject: Re: [flexcoders]
**Rant (and code) follows**
Ew, I hate that pattern. Well I'm not fond of client-aware singleton-dom
either, but ew. What the hell does that outside the package definition do?
Add a package-protected class to the default package? Add stuff to Global?
Disappear it into fat air? What about name
Make that *public* static function init (root : DisplayObject)
http://nondocs.blogspot.com/2007/04/metadatamixin.html
-Josh
On Thu, Jul 17, 2008 at 8:44 AM, Josh McDonald [EMAIL PROTECTED] wrote:
**Rant (and code) follows**
Ew, I hate that pattern. Well I'm not fond of client-aware
I cannot seem to get the proper year out of a DateFormatter.
Can someone tell me what I am doing wrong:
I have a component:
mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; width=100%
height=100% creationComplete=init()
mx:Script
![CDATA[
import
For what it's worth, that doesn't pollute the global namespace, Josh.
Things within a file outside of the package declared in that file are
private to the class (hence, others can't instantiate your Singleton
unless they pass it null). Kind of odd behavior in ActionScript, but
meh...
But you're
I'm trying to control a percentage-based layout with several nested
containers. Unless I set a fixed size (in pixels) or a minWidth or
minHeight, my outer panel shrinks to a very small size.
I understand that parent containers inherit their size from the
content in their children containers. My
I did something in my fiddling that made this work. What, I don't
know.
However, as I posted in
http://tech.groups.yahoo.com/group/flexcoders/message/119549 , my
year is now being displayed as the positive of my GMT offset...
--- In flexcoders@yahoogroups.com, Dominic Pazula [EMAIL
Well that makes it less dangerous and it's good to know, cheers. No less
ugly though, I just don't like it. I'd prefer a public interface, and
instantiation hidden behind a locator or injection of some sort. IMO
anything (in your API) that's static and not a proper Function (ie no
side-effects)
This is trivial with a normal mx:Object. Are you committed to sending a
custom object?
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of pbrendanc
Sent: Wednesday, July 16, 2008 5:44 PM
To: flexcoders@yahoogroups.com
Subject:
Dominic, I guess your problem is the one I reported here
http://bugs.adobe.com/jira/browse/SDK-13650
It has been fixed in revision 2306 so if you use Flex 3.1 (NB 2312) I
guess you won't have that problem anymore.
--
João Fernandes
http://www.onflexwithcf.org
http://www.riapt.org
Portugal
Hello all,
I'm not sure why this particular class is not working for me.
It's part of a tutorial. I'll include the AS below. I've been
pulling my hair out trying to figure this out. When I select debug,
it should display in the console repeatedly the text enter frame.
It prints what
Obrigado, João!
--- In flexcoders@yahoogroups.com, João Fernandes
[EMAIL PROTECTED] wrote:
Dominic, I guess your problem is the one I reported here
http://bugs.adobe.com/jira/browse/SDK-13650
It has been fixed in revision 2306 so if you use Flex 3.1 (NB 2312) I
guess you won't have that
This might be a basic AS question, but I encountered it building a
Flex app, so...
I create a Date
var date:Date = new Date();
I create an Array
var arr:Array = new Array();
I set the first element of the array equal to the date
arr[0] = date;
I create another date
How are you instantiating the ProgrammingBasics class? Are you adding it to
the stage somehow with an addChild() after you create it?
It seems like you're using a book targeted for Flash. The Actionscript
syntax will of course be the same, but most of the patterns and practices in
it will
Hello,
We have an application that uses Cairngorm Framework and our backend is
Seam and GraniteDS. I started writing some unit tests using Flex Unit. I
modified the Flex unit TestCase to handle async calls made by Cairngorm.
When I build and automate these test cases using Antennae backend
When you do this:
var date:Date = new Date();
You're creating an instance of Date and a reference to it named date.
When you do this:
var ref:Date = arr[0] as Date;
You're creating another reference to the same instance, this time your
reference is named ref. So when you set ref = null,
Anyone else having issues running the Flex debugger?
After the application crashing a few times I my code no longer is
getting updated. A telltale sign is if I hit the project-clean I get
an error that the project.swf file cannot be deleted.
I can exit flex builder and try to delete the
Josh
Yes, what you're describing is exactly what I described and is, in fact, what
it happening... but to say I don't ever need to do this? Well... yes... I need
to do this... and it has nothing to do with the garbage collector.
Here, let me explain in another way
I have a custom
If i remember correctly since I am mixing too much C++,ActionScript,Coldfusion
and learning them all the same time. Any of the primitive stuff in Actionscript
get passed only by value and not by reference so you can't do what you are
doing.
- Original Message
From: Darren Houle
Yes and I have to do the same thing, It only happens when u close out the
browser, you have to instead terminate with the red button in eclipse. If you
don't terminate with the red button then ur gona have to restart. I dont think
there is a workaround.
- Original Message
From:
I think you may be able to do what you are doing by using the ByteArray class
but I would wait for someone that knows more than me. The only things that get
passed by reference is any class that inherits from an Object and Array is a
native Flash player class in C++.
- Original Message
On Thu, Jul 17, 2008 at 11:55 AM, Darren Houle [EMAIL PROTECTED] wrote:
Josh
Yes, what you're describing is exactly what I described and is, in fact,
what it happening... but to say I don't ever need to do this? Well...
yes... I need to do this... and it has nothing to do with the garbage
FYI: there is now an alpha of flex support in selenium.
http://sourceforge.net/projects/seleniumflexapi/
It has been a while since I worked in C++, but I am pretty sure that you are
incorrect about references. If I remember correctly, C++ has a distinction
between pointers and references where a pointer points at a specific memory
address, but a reference is an alias for another variable, and that
Oops. Where my speech recognition software wrote teen reference, it should
read dereference.
- Original Message
From: Sid Maskit [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 16, 2008 7:50:07 PM
Subject: Re: [flexcoders] Array reference vs values
It has been
BWAHAHAHAHAHA!
*wipes tear*
That's awesome :)
On Thu, Jul 17, 2008 at 12:53 PM, Sid Maskit [EMAIL PROTECTED] wrote:
Oops. Where my speech recognition software wrote teen reference, it
should read dereference.
--
Therefore, send not to know For whom the bell tolls. It tolls for thee.
::
Hey guys,
Is it possible to listen to all events that bubble to / are dispatched from
a certain component?
Don't worry, I don't actually plan on using this in any actual code! I'm
just interested in doing some extremely verbose logging to gather
information for a blog post I have in mind ;-)
Is this your custom component or just any component you don't control?
If it's yours you could override dispatchEvent to know whenever the
component dispatches any event. Or you could override addEventListener
to know whenever something adds an event listener.
If it's not your custom component
Hii Josh,
I have no idea, if it is exactly related to your query.
I was looking for the same sort of solution to do an AuditLogger stuff. I
want event based logging. No traces and all.
It was like:
1. capture all the events
2. get their Target and currentTarget
3. log with timestamp
and much
Thanks Doug, I figured that'd be the answer. Not against monkey patching by
any means (we use a few atm to fix bugs in SOAP code), just wanted to check
first to see if there was a secret way to do it that I didn't know about
before I go and mess about with FlexSprite :)
-Josh
On Thu, Jul 17,
Well you can at least catch all events dispatched on a particular
component, and without subclassing or patching.
You assign a callback function to the dispatchEventHook property.
It takes two params the event and the target and is called
immediately prior to the actual dispatch.
--- In
Hi all flexcoders!!
My problem is about the FileReference Download option.
I´m thinking about 3 options :
1.- Download a file from a public directory from my server to the
client.
This option i have developed without any problem
2.- Download a BLOB (file content) from the
Josh
Okay, so here's what I did... var person : Person = new Person(); person.wakeup
= new Date();person.breakfast = new Date();person.lunch = new
Date();person.dinner = null;person.bedtime = null; var wfArr : Array = new
Array(); timeArr[0] = wakeup;timeArr[1] = breakfast;timeArr[2] =
Cool, I didn't know about that, cheers :)
On Thu, Jul 17, 2008 at 2:10 PM, reflexactions [EMAIL PROTECTED]
wrote:
Well you can at least catch all events dispatched on a particular
component, and without subclassing or patching.
You assign a callback function to the dispatchEventHook
Give width and height to your TabNavigator.
Manu.
daddyo_buckeye wrote:
I'm trying to control a percentage-based layout with several nested
containers. Unless I set a fixed size (in pixels) or a minWidth or
minHeight, my outer panel shrinks to a very small size.
I understand that
I agree whole-heartedly with Anatole. Reporting requirements are commonly
very specific - and as I hear about what people want in a reporting toolkit.
they describe 'the' solution as being generally purposeable which doesn't
make any sense. If you want a flexible solution you are going to have to
The dragSource has the data being dropped which should have the name you
want.
calculateDropIndex should be the index of the insert
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of timgerr
Sent: Wednesday, July 16, 2008 1:35 PM
To:
I have a popup window containing various controls.
At a given point a Panel is displayed (made visible not poped up) in
that window and I wish to constrain tabbing to that Panel whilst it is
displayed.
The problem I have at the moment is that it is currently possible to
tab off the end of
Oh snap! I learn something new everyday. Thanks for that tidbit.
I just looked up that function and it's actually a static function on
UIComponent, so you only get to set that once (ie you can't have one
function to catch events for one type of component and another to
catch a different
I don't have time to set this up right now. Did it clip or did you get
scrollbars? Should it clip or just layout differently?
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ibo
Sent: Wednesday, July 16, 2008 1:23 PM
To:
Trimming out characters you don't need is your only hope, or loading the
font later if you don't need it right away
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Daniel Freiman
Sent: Wednesday, July 16, 2008 12:47 PM
To: flexcoders
Probably custom skin.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of pratikshah83
Sent: Wednesday, July 16, 2008 12:45 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Border for Header in panel
Hello Guys,
I would like to
You'll need custom code. Google or check the forum archives
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of joyfulrodger
Sent: Wednesday, July 16, 2008 12:06 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Drag and drop from
Post the swf.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jamalwally
Sent: Wednesday, July 16, 2008 11:37 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Runtime CSS and SWF is not a loadable module
Hi Tracy,
I'm
Interfaces, and events. Dialogs should implement an interface of
properties and methods and dispatch events when things change
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of edlueze
Sent: Wednesday, July 16, 2008 9:15 AM
To:
The modules presentation describes appdoms and shared code problems.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Guilherme Blanco
Sent: Wednesday, July 16, 2008 7:40 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
And it won't catch everything. MouseEvents and other events dispatched
from the player don't call that dispatchEvent hook.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Doug McCune
Sent: Wednesday, July 16, 2008 10:26 PM
To:
tabEnabled=false on everything else.
Or actually pop up something and position it and keep it from moving.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of reflexactions
Sent: Wednesday, July 16, 2008 10:26 PM
To:
101 - 192 of 192 matches
Mail list logo