You don't need a flex/ajax bridge just to let flex and javascript talk to
each other. The simplest way to do that is with the ExternalInterface
class. It's pretty easy to use. You just decide which flex methods to
expose to javascript (ExternalInterface.addCallback) and then javascript can
call
I usually just check the session to see if they are authenticated or not.
On Mon, Jun 30, 2008 at 1:48 PM, timgerr [EMAIL PROTECTED] wrote:
Hello all,
I am working on a file upload application and I have a few questions.
I want to upload a file and also send some string information to
Hello coders!
This is my first question to the list, so go easy on me, alright? :)
I spent quite a while developing a good socket system that communicated with
PHP via JSON. It uses the Socket class (since that's the only way you can
do it, as far as I'm aware). It works perfectly now, with
%40yahoogroups.com, Sean
Clark Hess [EMAIL PROTECTED] wrote:
Hello coders!
This is my first question to the list, so go easy on me, alright? :)
I spent quite a while developing a good socket system that
communicated with
PHP via JSON. It uses the Socket class (since that's the only way
you
You want to change your val() function to something more like this.
private function val():void
{
var values:Array = new Array();
// this is only one row
values.push({tt1:pp1.text, tt2:pp2.text, tt3:pp3.text});
.
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Sean
Clark Hess [EMAIL PROTECTED] wrote:
Does WebORB use sockets? I thought it was an http connection, but I
could
be mistaken. If there's a better way, I'd be happy to switch, but I
couldn't
find anything. The current system is VERY
AM, Santhosh Garlapad
[EMAIL PROTECTED] wrote:
Hi Sean,
Thannks for the suggestion.
How can push the values down if i want to add few more rows in the
datagrid?
Do i need to loo through the datagrid?
Thanks
Santosh
- Original Message
From: Sean Clark Hess [EMAIL
- Original Message
From: Sean Clark Hess [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Wednesday, July 2, 2008 9:27:00 AM
Subject: Re: [flexcoders] display text input values in datagrid
I'm not sure what you mean, or why you would want to push them down.
but you can add more
Try creating a new project, and just copying the src folder from the sample
into your new one.
On Wed, Jul 2, 2008 at 10:38 AM, daddyo_buckeye
[EMAIL PROTECTED] wrote:
I have an app in Flex that won't compile, I'm getting a message that
the HTML file is missing.
This is a downloaded
And both are bound to the same ArrayCollection?
On Wed, Jul 2, 2008 at 10:19 AM, nathanpdaniel [EMAIL PROTECTED] wrote:
I'm building shopping cart functionality which uses a ShoppingCart
component with 2 states. A mini cart and a regular view. The
regular view works fine with a DataGrid
Do you have clipContent='true' on the container?
On Wed, Jul 2, 2008 at 9:14 AM, djepyon [EMAIL PROTECTED] wrote:
I'm loading a swf into a SWFLoader (earth-shattering, I know). The swf
document size itself is set 2800x960, but there is an additional
element beneath this in the pasteboard
object itself which has a property
cartItems (ArrayCollection). Debugging, this is always right with
what the cart should be - it's just not showing the right products.
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
Sean Clark Hess seanhess@
wrote:
And both
Each row is an xml object...
So, (myData.getItemAt(i) as XML).children()
Then you could loop through the children and ask them for their name. After
the as XML step you can do anything you can normally do with the XML object
On Wed, Jul 2, 2008 at 12:11 PM, Stephen More [EMAIL PROTECTED]
wrote:
stably). The only caveat is that you would need a Java Servlet
container (eg. Tomcat, JBoss) and you would need to learn Java.
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Sean
Clark Hess [EMAIL PROTECTED] wrote:
Ok, that's what I thought about WebORB. We were using
We would get that error a lot when the file was too big. Try increasing
your upload size.
On Wed, Jul 2, 2008 at 1:01 PM, lytvynyuk [EMAIL PROTECTED] wrote:
I getting this error, but when I put breakpoint at my server side code
nothing coming through!! When I created little HTML page with
Ah, ok.. great
On Wed, Jul 2, 2008 at 12:55 PM, djepyon [EMAIL PROTECTED] wrote:
Figured out the problem here. I was moving the content within the
SWFLoader instead of the SWFLoader itself. Moving the SWFLoader in a
canvas object with clipContent = true solved the problem.
Much thanks for
PM, Stephen More [EMAIL PROTECTED] wrote:
Thats what I was thinking but when I try:
var myXML:XML;
myXML = myData.getItemAt(0) as XML;
trace( DEBUG: + myXML );
I get
DEBUG: null
On Wed, Jul 2, 2008 at 2:30 PM, Sean Clark Hess [EMAIL
PROTECTED]seanhess%40gmail.com
wrote:
Each row
PROTECTED] wrote:
How I can increase upload size? There is no such thing in URLRequest
and FileReference...
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Sean
Clark Hess [EMAIL PROTECTED] wrote:
We would get that error a lot when the file was too big. Try increasing
your
Yes, use event.target.
private function onMouseDown(event:MouseEvent):void
{
(event.target as Spirte).startDrag();
}
The reason why your last two things don't work is because, unlike
javascript, this and id would refer to the parent component (e.g. the
file you are currently editing). So,
flexcoders%40yahoogroups.com, Sean
Clark Hess [EMAIL PROTECTED] wrote:
You have to do it serverside -- for example, if you're using PHP,
you have
to change Apache's maximum upload size for that domain.
Do a search for error 2038 in these forums though, I thought I saw
another
couple
) is XMLList));
}
]]
/mx:Script
/mx:Panel
/mx:Application
On Wed, Jul 2, 2008 at 3:34 PM, Sean Clark Hess [EMAIL
PROTECTED]seanhess%40gmail.com
wrote:
What do you get when you trace myData.getItemAt(0)? That will return null
if it isn't an XML. You can do this too:
trace(CHECK
Use this.mouseX and this.mouseY to get the point, then on the click handler
create a new instance of HTTPService and pass them as parameters (see the
documentation)
On Wed, Jul 2, 2008 at 2:03 PM, pankajtandon2003 [EMAIL PROTECTED]
wrote:
Hello,
I've got a flex swf Panel say that I'm asking
You can't click the row with enabled = false. But if you set enabled =
true, and hid the two indicators, you could easily use the itemFocusIn event
to know what you clicked.
On Wed, Jul 2, 2008 at 2:03 PM, markgoldin_2000 [EMAIL PROTECTED]
wrote:
My DG is enabled = false and both
@yahoogroups.com flexcoders%40yahoogroups.com, Sean
Clark Hess [EMAIL PROTECTED]
wrote:
You can't click the row with enabled = false. But if you set
enabled =
true, and hid the two indicators, you could easily use the
itemFocusIn event
to know what you clicked.
On Wed, Jul 2, 2008 at 2:03 PM
would I do that?
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Sean
Clark Hess [EMAIL PROTECTED]
wrote:
Can you bind to selectedItem?
On Wed, Jul 2, 2008 at 2:54 PM, markgoldin_2000
[EMAIL PROTECTED]
wrote:
I wasn't right, the grid is enabled.
I have added
an ArrayCollection of strongly
typed value objects.
Tracy
--
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Sean Clark Hess
*Sent:* Wednesday, July 02, 2008 4:05 PM
*To:* flexcoders@yahoogroups.com
*Subject:* Re: [flexcoders
. Not sure which part of
flash.display.* I actually need.
All the best!
Ted.
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Sean
Clark Hess [EMAIL PROTECTED] wrote:
Yes, use event.target.
private function onMouseDown(event:MouseEvent):void
{
(event.target as Spirte
Yeah, sorry, I'm not sure
On Thu, Jul 3, 2008 at 8:50 AM, lytvynyuk [EMAIL PROTECTED] wrote:
Well, I've picked file by browsing using FileReference's browse()
method, and my file is simple *.png
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Sean
Clark Hess [EMAIL
Do you have different versions running in IE and firefox?
On Thu, Jul 3, 2008 at 8:56 AM, lytvynyuk [EMAIL PROTECTED] wrote:
Update:
I works under IE7 doesn't work with Rirefox 2.0.0.15!
Doesn't work with Opera as well! I suspect this is not browser issue,
this is FlashPlayer issue,
Is the loaded swf written the same version of actionscript as the loader?
On Thu, Jul 3, 2008 at 8:21 AM, carloveparade [EMAIL PROTECTED]
wrote:
I had been working with the SWFLoader to embed external swf
aplications on my flex application. Now I need to start a second embed
swf when the
I've tried things like this before, and it never works. I can't remember if
there's some way to do this natively with as3, or if I was doing it with a
swf2exe tool, but either way, it sucks.
Send the data serverside and regenerate it there. Your serverside language
should have some packages to
, Sean
Clark Hess [EMAIL PROTECTED]
wrote:
Is the loaded swf written the same version of actionscript as the
loader?
On Thu, Jul 3, 2008 at 8:21 AM, carloveparade [EMAIL PROTECTED]
wrote:
I had been working with the SWFLoader to embed external swf
aplications on my flex
I'm not sure how to detect when it finished playing. Anyone?
On Thu, Jul 3, 2008 at 11:35 AM, carloveparade [EMAIL PROTECTED]
wrote:
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Sean
Clark Hess [EMAIL PROTECTED]
wrote:
OKOKOKOK, Im using flex and i need to put a swf
Oh, i know what to do. On the last frame of your animation, put the
following in.
dispatchEvent(new Event('lastFrame'));
Then, you can listen for that event to know when to start the next one,
using the idea I wrote before
On Thu, Jul 3, 2008 at 11:47 AM, Sean Clark Hess [EMAIL PROTECTED
,
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Sean
Clark Hess [EMAIL PROTECTED] wrote:
I've tried things like this before, and it never works. I can't
remember if
there's some way to do this natively with as3, or if I was doing it
with a
swf2exe tool, but either way, it sucks
Hey all, I can't figure out how to change the close button in Doug McCune's
SuperTabNavigator. Details and some code snippets here.
http://code.steelpotato.com/2008/07/skinning-supertabnavigator.html
Thanks for your help!
I don't have a lot of experience making custom UI Components, but there is
one thing I've noticed several times that doesn't make any sense.
When you add new subcomponents by overriding createChildren, they don't seem
to show up at all unless you explicitly set the width and height. For
Hi, I'm trying to set horizontalScrollPosition, but I don't want to show any
scroll bars. I'm trying to have the scrollbar of another component control
this one (by binding to horizontalScrollPosition on the other
component). However, if I set horizontalScrollPolicy='off' the position
variable
Hi everybody,
I know how to add children to a component doing something like the
following, but I can't help but think there ought to be a better way to do
it. Perhaps I should be overriding one of UIComponent's methods? Anyway,
the issue (see link) is that container isn't defined when the
commitProperties() and check if
your dirty flag is set, if so then add the children in there.
Doug
On Wed, Jul 16, 2008 at 8:52 AM, Sean Clark Hess [EMAIL
PROTECTED]seanhess%40gmail.com
wrote:
Hi everybody,
I know how to add children to a component doing something like the
following, but I can't
Hello All,
Well, I'm stuck. I've approached this about 3 different ways and have run
into (different) dead ends on all of them. I've tried using multiple
datagrids, which I got working fabulously, but setting the datagrid to width
100% does really wacky things with the column sizes. I've also
, Jul 21, 2008 at 1:23 PM, Alex Harui [EMAIL PROTECTED] wrote:
There's a footer example on my blog
--
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Sean Clark Hess
*Sent:* Monday, July 21, 2008 11:33 AM
*To:* flexcoders
I want to make a class that works with both DataGridColumn and
AdvancedDataGridColumn. Each of these has a dataField property. I have
subclassed each, and they both implement a common interface. In the
interface, I have
function set dataField(value:String):void
function get dataField():String
Oh, I forgot to mention. The reason why the interface doesn't work is
because it was implemented as a public var instead of an accessor.
On Tue, Jul 22, 2008 at 12:50 PM, Sean Clark Hess [EMAIL PROTECTED]
wrote:
I want to make a class that works with both DataGridColumn
override its default
value though.
--
*From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On
Behalf Of *Sean Clark Hess
*Sent:* Tuesday, July 22, 2008 11:51 AM
*To:* flexcoders@yahoogroups.com
*Subject:* [flexcoders] Re: how to override a public var
I ran with your example, and threw it into a reusable component. I hope
this helps somebody else! Alex, my traceback is awaiting moderation on your
blog post.
http://code.steelpotato.com/2008/07/footer-datagrid-display-total-or.html
On Mon, Jul 21, 2008 at 1:51 PM, Sean Clark Hess [EMAIL
Hi everybody,
I'm very stumped, and any help would be appreciated. I have written a socket
server in PHP that communicates with flex via the Socket class (and JSON
encoded messages).
I've written a test client, and the server is currently active
https://sean.rapidintake.com/SocketTest.html
Some
jQuery for Flex - a Behavior Injection
Frameworkhttp://code.seanhess.net/?p=156
[...] I’ve just finished my pre-alpha version of a Behavior Injection
framework for Flex. It adds support for functionality similar to jQuery for
flex, along with support for a more complete CSS syntax. The approach
with me).
http://code.seanhess.net/?p=156
Nice work btw. I'm going to have to think about how it fits in with
Flex and my current workflow, but I'll give it a shot in my new
project :)
On 3/3/09, Sean Clark Hess seanh...@gmail.com seanh...@gmail.com wrote:
jQuery for Flex - a Behavior
and usage is quite
clear just looking at the code. I actually hadn't even seen or used the
Contents or Swap tags before. I still have to go look those up in the
related docs. :-)
Michael
Sean Clark Hess wrote:
@Sam, Thanks for adding that link. Guess I shouldn't try to do fancy
html emails
I just released Bifff 0.2a - Bifff stands for Behavior Injection Framework
for Flex.
http://code.seanhess.net/?p=171
See the link above for new features. I also created a google group at
http://groups.google.com/group/bifff
Enjoy!
On Tue, Mar 3, 2009 at 12:13 PM, Sean Clark Hess seanh
I've just released the next version of Bifff, which provides a way to use
full css selectors to associate behaviors with flex components. For more
information, please read the following.
Release Notes - http://code.seanhess.net/?p=179
Documentation - http://wiki.github.com/seanhess/bifff
For
link - http://code.seanhess.net/?p=195
[...] So, this isn’t an official release, but more of a call for feedback. I
just finished a first-draft of a new MVC framework for Flex that I’m calling
Glue. I started out with several specific goals in mind. I’ve been
trying to think of how the
53 matches
Mail list logo