I don't think the limitation is 255 characters. At one
time, that was a limitation on some servers. It's more like 4000 on most modern
browsers and web servers. Here's something relevant from a devshed
discussion I found googling:
>There isn't any
limit in theory. Any limit on the length of an HTTP
>URI is imposed by the systems involved. RFC2616, sec. 3.2.1, says:
>
>| The HTTP protocol does not place any a priori limit on the length of
>| a URI. Servers MUST be able to handle the URI of any resource they
>| serve, and SHOULD be able to handle URIs of unbounded length if they
>| provide GET-based forms that could generate such URIs.
>
>But it then goes on to warn:
>
>| Servers ought to be cautious about depending on URI lengths
>| above 255 bytes, because some older client or proxy
>| implementations might not properly support these lengths.
>
>That was in 1998 though; I believe that to be insignificant now.
>URI is imposed by the systems involved. RFC2616, sec. 3.2.1, says:
>
>| The HTTP protocol does not place any a priori limit on the length of
>| a URI. Servers MUST be able to handle the URI of any resource they
>| serve, and SHOULD be able to handle URIs of unbounded length if they
>| provide GET-based forms that could generate such URIs.
>
>But it then goes on to warn:
>
>| Servers ought to be cautious about depending on URI lengths
>| above 255 bytes, because some older client or proxy
>| implementations might not properly support these lengths.
>
>That was in 1998 though; I believe that to be insignificant now.
So my response is I don't know (it's different for every
system), but maybe others can speak up with personal experiences. Or it might be
worth just trying.
HTH,
matt horn
flex docs
Matt,
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cazzaran
Sent: Thursday, May 12, 2005 1:41 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Pass variable to mx:image tag
Thanks for the response.
A related question: is there a limit on the size of the query string?
I know for browsers it's 255 chars. Otherwise, is there a way to load
the values as FlashVars?
-Josh
--- In flexcoders@yahoogroups.com, "Matt Horn" <[EMAIL PROTECTED]> wrote:
> You can append query string params to pass variable data to an
included
> SWF. psuedoexample:
>
> var src = "" + myVar;
> ...
> <mx:Image source="{src}" />
>
>
> HTH,
>
> matt horn
> flex docs
>
>
>
> ________________________________
>
> From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On Behalf Of cazzaran
> Sent: Thursday, May 12, 2005 11:51 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Pass variable to mx:image tag
>
>
> I need to include an external SWF file that takes variables to
> display
> some content. It's just a banner, so the mx:Image tag is
> sufficient,
> except that I can't figure out how to pass variable
information
> to it.
> There's talk of a flashVar tag, but that's for JSP, and it
> doesn't look
> like there's an equivilant mxml tag.
>
> My include is basic, and looks like <mx:Image
> source="banner.swf" />
>
> Any help is appreciated!
>
> -Josh
>
>
>
>
> ________________________________
>
> Yahoo! Groups Links
>
>
> * To visit your group on the web, go to:
> http://groups.yahoo.com/group/flexcoders/
>
> * To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>
>
> * Your use of Yahoo! Groups is subject to the Yahoo!
Terms
> of Service <http://docs.yahoo.com/info/terms/> .
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.