header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
RK
Points:0
Posts:0

7/4/2011 12:32:09 AM

Title: Calling a .aspx from swf button


Hi guys, I've been at this problem all day and I have searched through endless posts and have not been able to get this working.

I made an ASP.net project in which i have embedded flash button as .swf file..
wat i want is to open a .aspx file on d click of the flash button...

on the action event of the button i have written the following code...

on (release) {
getURL("Default.aspx");
}

the swf file and d aspx file are in the same folder...
evry time i click d button i get an error

XML Parsing Error: not well-formed
Location: file:///D:/Rahila/FCMPT2/Default.aspx
Line Number 1, Column 2:<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
-^

If anyone could help I would be most appreciative thanks!



1
Rex
Points: 1280
Posts:0
7/4/2011 9:42:56 AM



try this code


on(release) {
	getURL("default.aspx", "_blank");
}



Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 7+8 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions