You can use flashVars in your html object/embed tag. By using Application.application you can access this values. If you set up a var named contextRoot in your flashVars then you can concat your url's.

Best
X.

On 6/24/06, ssundke <[EMAIL PROTECTED]> wrote:
Hey Is there no way to do this?

- Saba
--- In flexcoders@yahoogroups.com, "ssundke" <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have a framework product for which im using flex. I would like
to
> distribute as a compiled swf. In my mxml I need to make an HTTP
> Service call to the same server on which this swf is used i.e the
> context root can vary on deployment but I always want to reach the
> same url given a context root
> /<context-root>/RouterServlet.
>
> Now my problem is how do I give the url in the mxml and or mxmlc
so
> that my swf can be placed in any context root but it always need
to
> reach the url /<context-root>/RouterServlet
>
> Im using Flex 1.5 right now and intend to go live with this since
Flex
> 2.0 is not out yet.
>






------------------------ Yahoo! Groups Sponsor --------------------~-->
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~->

--
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:
    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:
    http://docs.yahoo.com/info/terms/




__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to