Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / March 2005



Tip: Looking for answers? Try searching our database.

Problem Running ASP.NET Remoting Application

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mohamed Abdulla - 23 Feb 2005 04:29 GMT
:confused;

Hi,

I developed a Application which comprises of Flash MX 2004 and ASP.net
Application. When i running application in IE with this address
http://localhost/Application/flash.html it works fine but when i am putting it
on clients server with his server ip address
like http://198.168.1.110/Application/flash.html it doesn't work properly

As expalined in the macromedia live doc i have declared the gatewayUrl
parameter in the html param tag.
works with localhost but not with the ip address.Some can help me fast
BramvdBroek - 10 Mar 2005 16:18 GMT
Hi,

If you declared the gatewayUrl correctly it should work fine, your flash
declaration should look something like:

<OBJECT id="signin"
codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
rsion=7,0,0,0"
height="600" width="770" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
VIEWASTEXT>
    <PARAM NAME="Src" VALUE="default.swf">
    <PARAM NAME=FlashVars VALUE="gatewayUrl=http://<asp:Literal id="litHTTP_HOST"
runat="server" />/gateway.aspx">
    <EMBED
        src="default.swf"
        quality="high"
        bgcolor="#FFFFFF"
        WIDTH="770"
        HEIGHT="600"
        NAME="signin"
        ALIGN=""
        TYPE="application/x-shockwave-<BR>flash"
        FlashVars="gatewayUrl=http://<asp:Literal id="litHTTP_HOST2" runat="server"
/>/gateway.aspx"
        PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
    </EMBED>
</OBJECT>

Whereas : <asp:Literal id="litHTTP_HOST" runat="server" /> and <asp:Literal
id="litHTTP_HOST2" runat="server" /> are two literals I fill in my codebehind
with the servervariable HTTP_HOST to make the aspx file suitable for all
webservers...

Kind regards,

Bram
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.