Dan, unless you are using the LCDS web tier compiler, or the Apache
equivalent, what you are describing is pretty much impossible.  The
browser cannot interpret mxml.

 

But calling the html wrapper is the normal way to access a flex app
through a browser.

 

Tracy

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Paul Andrews
Sent: Friday, June 06, 2008 3:05 PM
To: [email protected]
Subject: Re: [flexcoders] Re: How should we access our Flex apps from
the browser?

 

So, if you provide a url where the file is an .mxml file to the browser,
it 
runs your application - you don't see the source file?

Paul
----- Original Message ----- 
From: "Dan" <[EMAIL PROTECTED] <mailto:dan.dandrea%40gmail.com> >
To: <[email protected] <mailto:flexcoders%40yahoogroups.com> >
Sent: Friday, June 06, 2008 5:33 PM
Subject: [flexcoders] Re: How should we access our Flex apps from the 
browser?

> Nope, Flex 3.
>
> --- In [email protected]
<mailto:flexcoders%40yahoogroups.com> , "Paul Andrews" <[EMAIL PROTECTED]> 
wrote:
>>
>> It's not Flex 1.5 is it?
>>
>> Paul
>> ----- Original Message ----- 
>> From: "Dan" <[EMAIL PROTECTED]>
>> To: <[email protected] <mailto:flexcoders%40yahoogroups.com>
>
>> Sent: Friday, June 06, 2008 3:39 PM
>> Subject: [flexcoders] Re: How should we access our Flex apps from the
>> browser?
>>
>>
>> > Paul,
>> >
>> > Thanks for your reply.
>> >
>> > When I access the .mxml file through my browser, it doesn't serve
up
>> > the source. Instead, it serves up a functioning Flex application.
>> >
>> > Per your advice however, I'll focus on accessing the application
via
>> > it's "HTML wrapper".
>> >
>> > --Dan
>> >
>> > --- In [email protected]
<mailto:flexcoders%40yahoogroups.com> , "Paul Andrews" <paul@> wrote:
>> >>
>> >> The swf file is what is run by the flash player plugin, it's not
>> > usual to
>> >> run this directly in the browser.
>> >> The mxm file is the source used within your application - it won't
be
>> >> usefull to look at this in a browser.
>> >> The html file checks the users environment for the flash player
and
>> > calls
>> >> your .swf file.
>> >>
>> >> html is the way to go.
>> >>
>> >> Paul
>> >> ----- Original Message ----- 
>> >> From: "Dan" <dan.dandrea@>
>> >> To: <[email protected]
<mailto:flexcoders%40yahoogroups.com> >
>> >> Sent: Friday, June 06, 2008 3:01 PM
>> >> Subject: [flexcoders] How should we access our Flex apps from the
>> > browser?
>> >>
>> >>
>> >> > Hello,
>> >> >
>> >> > It's not clear to me how we should access our Flex apps from the
>> >> > browser. It appears that accessing them using .swf, .mxml and
> .html
>> >> > all work but each with slightly different effects.
>> >> >
>> >> > For example, I can access a Flex application "helloWorld" using
the
>> >> > following URLs. They all work (to varying degrees) but which
> one am I
>> >> > actually supposed to use?
>> >> >
>> >> > http://localhost/helloWorld.swf
<http://localhost/helloWorld.swf> 
>> >> > http://localhost/helloWorld.mxml
<http://localhost/helloWorld.mxml> 
>> >> > http://localhost/helloWorld.html
<http://localhost/helloWorld.html> 
>> >> >
>> >> > --Dan
>> >> >
>> >> >
>> >> > ------------------------------------
>> >> >
>> >> > --
>> >> > Flexcoders Mailing List
>> >> > FAQ:
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
<http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> 
>> >> > Search Archives:
>> >> > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo
<http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo> !
> Groups
>> >> > Links
>> >> >
>> >> >
>> >> >
>> >> >
>> >>
>> >
>> >
>> >
>> > ------------------------------------
>> >
>> > --
>> > Flexcoders Mailing List
>> > FAQ:
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
<http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> 
>> > Search Archives:
>> > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo
<http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo> ! Groups
>> > Links
>> >
>> >
>> >
>> >
>>
>
>
>
> ------------------------------------
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
<http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt> 
> Search Archives: 
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo
<http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo> ! Groups

> Links
>
>
>
> 

 

Reply via email to