Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Flash On ASPX Page



I would like to run Flash video with transparent background on an aspx page. This allows video to be played over a web page so that the web page content shows through the alpha channel of the video. Here is a URL for the effect I would like to achieve:http://eimpression.myrealtytools.comThe video will appear anchored to the bottom of the page via the Ajax AlwaysVisible control extender. I can get the transparent background effect on an html page using this code:<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="



Adobe > Flash General Discussion
Posted on: 06/03/2007 07:45:39 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Cursor Disappears In .aspx Page When Using Flash Movie On Same Page
Dear friends,
I am facing this problem when I am using .swf file on my sites login page, there is 2 text box of User Name and password and submit button it is all are web controls, i want cursor at user name control when user comes to login page but it is not showing there but when I remove the .swf file from the login page then default cursor comes there, please help me.

Flash NAV On An ASPX Page
Ok, I have created a simple navigation .swf file in Flash 8 that creates a cool roll over effect. I am inserting this .swf into a table on an .aspx page. The problem I'm having is when I click on the links in the navigation, it opens a new browser window with the original page and new brower window with the chosen page. All I want is the link to open in the same browser window.

The code I'm using on the links in my navigation is this:

on (release) {
getURL ('http://kirupa.com/');
}

Like I said it opens the link, but not in the same window. I've even tried this:

on (release) {
getURL ('http://kirupa.com/', '_self');
}

Any help on this is more than appreciated.

Thanks!

Flash Navigation On ASPX Page
Ok, I have created a simple navigation .swf file in Flash 8 that creates a cool roll over effect. I am inserting this .swf into a table on an .aspx page. The problem I'm having is when I click on the links in the navigation, it open a new browser window when what I want is for it to open in the same browser window.

The code I'm using on the links in my navigation is this:

on (release) {
getURL ('http://kirupa.com/');
}

Like I said it opens the link, but not in the same window. I've even tried this:

on (release) {
getURL ('http://kirupa.com/', '_self');
}

Any help on this is more than appreciated.

Thanks!

Multiple Functions On One Aspx Page | Flash Remoting
Is it possible to have more than one public function on an aspx page for flash remoting?

i.e. folder.class().function()?

Any help is appreciated
Thank you
Pete

Flash Crashing When Calling Remote .aspx Page
Has anyone had this issue and solved it:

Note, it only happens on my mac (intel 20" iMac, software full updated).

My fla calls a .aspx page which returns xml data for the site content. For testing purposes while in flash I call the file using the complete address... eg: www.site.com/getinfo.aspx . In Windows this works fine and stops me having to upload to test and saves time. On my mac when I try test like above Flash closes and gives me an error. I have this code in my AS:

System.security.allowDomain ("http://www.testsite.com/");

Please if anyone has experienced this and knows how to solve it? I love my Mac I'd rather work on it.

Thanks

Problem In Passing Variable From Flash To Aspx Page
Hi all this is my first post.
So this is what I am doing:
There is one Flash movie file and one aspx page.I am trying to send one variable from Flash to aspx page(this sent value has to be displayed in a textbox on aspx page).And aspx page will return three variables to flash(which has to be displayed in Flash).
I have embedded the Flash moviw on aspx page.
I am able to get the three variables passed from aspx to Flash.but i am not able to receive the variavle that is passed from Flash to ASPX page.
Flash :Flash CSE fla developed in actionscript 2.0
ASP.NET:MS Visual Studio 2005
Flash Code:

Code:
//hit is name of the movie clip
hit.onRelease=function()
{
var username:String;
var get_from_aspx = new LoadVars();
var send_to_aspx = new LoadVars();
//var_name is the 'var' field name of the input text box in Flash
send_to_aspx.username = var_name;
trace(+var_name);
trace(+send_to_aspx.username);
send_to_aspx.sendAndLoad("<A href="http://localhost:3030/Flash_ASP/dotnetvar.aspx",get_from_aspx">http://localhost:3030/Flash_ASP/dotnetvar.aspx",get_from_aspx, "POST");
get_from_aspx.onLoad=function(success:Boolean):Void
{
//value# are the dynamic textboxes in Flash
value1.text=this.flash1;
value2.text=this.flash2;
value3.text=this.flash3;
}
}
ASPX Code:

Code:
public partial class Flash_ASP : System.Web.UI.Page
{
protected string u1;
protected string f1;
protected string f2;
protected string f3;
protected string f4;
protected void Page_Load(object sender, EventArgs e)
{
u1 = Request.QueryString["username"];
if (!Page.IsPostBack)
{
f1 = "Flash_var_1";
f2 = "Flash_var_2";
f3 = "Flash_var_3";
Response.Write("flash1=" + f1);
Response.Write("&flash2=" + f2);
Response.Write("&flash3=" + f3);
//txtFlashtoasp is the textbox name on aspx page
txtFlashtoasp.Text = u1;
Page.DataBind();
}
}
}
I am not able to display anything in txtFlashtoasp textbox.
Also, is there anyway to avoid the output of response.write() on the screen.The output from response.write() always appears just above the Flash movie and spoils the look of the page.
plzzzzz help.
Thanks in advance.

Swf Reloaded Autometically In Aspx Page And Buttons Dissappear From Flash Content
Hi, I am facing a problem with flash content in aspx.

After spending some time, the swf embeded in the aspx page is reloaded autometically ( without refresing the aspx page only swf reload ) and two buttons from that swf dissappear.

I can't understand why the swf reload ?

Can any one help me !!

How Do You Get A Variable Into An Aspx Page?
Hi there, I’m trying to send a variable via Flash 8 (published as version 7) to an aspx page. I have no knowledge or control of the database side of things I’m just trying to send the content of a variable out of Flash. All I know is when I use the following code (see below) the database isn’t receiving anything. Is this the correct code? I did a ‘trace’ and you can see what the variable ‘com’ is holding.

Because I don’t have access to the database I was hoping I could experiment by writing to a local txt file (I’m using a txt to experiment with bringing ‘in’ variables using: var1=a& var2=b& var3=c…etc) but it doesn’t look like you can write to a local txt file (and I’m not sure the code would be the same anyway).

If anyone can help me with this you’d be returning part of my life back to me, and I could stop drinking all this coffee.

Cheers.

The code

loadVariables("mypage.aspx", com, "POST");
//trace (com);
//result from the trace: Slept in From Thu Oct 7 00:00:00 GMT+0100 2006 To Fri Oct 10 00:00:00 GMT+0100 2006

How Do I Open A .aspx Page From A .swf ?
I need help please... I have a swf file in a .asp page, and when I click on a section of the .swf file I need it to open a .aspx page but I do not know how to do this in flash. I need it to launch another page when I click on a button, the link looks like this:

Main2.aspx?page=1&region=1

Can someone post the code necesary to do this in flash please?
Thanks

Someone help me please!!!

Dynamic Load Of Aspx Page
Is this at all possible ?...I mean when it's a dynamic ASP page I'm trying to load.


Code:
text2.autoSize = true;
text2.html = true;

var myLV = new LoadVars();

myLV.load("http://mysite.com/page.aspx?id=1172");

myLV.onLoad = function(success) {

if (success) {
trace("succes")
text2.html = true;
text2.htmlText=this.info;

} else {

// the vars couldn't be loaded.

}

};

[F8] How To Read Data From An Aspx Page
Hi guyes i have to send and load some data to an aspx page into flash. AM using Flash 8....

I will have to send some data to an aspx page... that page shud fetch de data from db and the fetched data shud come into my Flash...

I think i have to use loadVars.sendAndLoad() method... I dont know how the flash will read the data from aspx page.
And how the aspx page shud hold the fetched data, so dat the flash can read it....
Any tutorials or links or simple snippets wud be really great....

Am indeed to know dat....

Send Data To Aspx Page
Hello,
I have embedded SWF in ASPX page (.NET).
In my flash document I have a button. Each time I click on it I would like to send data to the ASPX page. I am using actionscript 3.0.
Does anyone know how I can do that?
Thanks,

Sending Variables To An Aspx Page.
I am needing to create a user login page and all the docs that I find are not helping much. I need to send two variables (username, password) to a aspx page to determine verification and retreive data based on that login. How can this be done?

Tring To Get A Variable From .aspx Page
I am trying to call an aspx page, have it hit the database, and return a string of text to my actionscript. here is my actionscript code:

//Make calls to database to get a text example
var urlRequest:URLRequest = new URLRequest("ASP/getGameText.aspx");
var urlLoader:URLLoader = new URLLoader();
urlLoader.dataFormat = URLLoaderDataFormat.VARIABLES;
urlLoader.addEventListener(Event.COMPLETE, urlLoader_complete);
urlLoader.load(urlRequest);

function urlLoader_complete(evt:Event):void
{
gameText = urlLoader.data.theText;
}

It crashed on the line 'gameText = urlLoader.data.theText;' with the error of 'Error #1010: A term is undefined and has no properties.' so i guess urlLoader.data.theText is coming back null. Here is my .aspx page code:

<%
String ConnStr = "Driver={MySQL ODBC 5.1 Driver};Server=localhost;Port=3306;Database=typing game;User=root; Password=******;Option=3;";
OdbcConnection con = new OdbcConnection(ConnStr);
OdbcCommand cmd = new OdbcCommand("SELECT * FROM gameText", con);
DataTable dt = new DataTable();
OdbcDataAdapter da = new OdbcDataAdapter();

da.SelectCommand = cmd;
con.Open();
da.Fill(dt);
con.Close();

string str;
str = dt.Rows[1][1].ToString();
Response.Write("&theText="+str);
%>

When I run the .aspx page separately, it returns what I want it to: '&theText=This is my test text'. I think I may be missing the big picture here somewhere. Thanks for your help in this!

Send Variables To Aspx Page
Please pardon me if this has been asked before.

I am trying to pass variables from inside flash to the swf's aspx page. I have tried several different code snippets I saw online. The variables need to be passed to the aspx page automatically when (or just after) it loads - no button push, form submittal, etc. to trigger the exchange.

The one I am trying now has this ActionScript 3 code:

function latLongPass():void
{
var latLongRequest:URLRequest = new URLRequest("default.aspx");
var variables:URLVariables = new URLVariables();
variables.minlat = ("32.2");

latLongRequest.method = URLRequestMethod.POST;
latLongRequest.data = variables;
var latLongLoader:URLLoader = new URLLoader();
latLongLoader.load(latLongRequest);
}

latLongPass();


The aspx page code-behind tries to grab the variable like this:


public static string minlat = "";
protected void Page_Load(object sender, EventArgs e)
{
minlat = Request["minlat"];
}


Thanks in advance!



Jeff

Help Needed In Getting Data From Aspx Page
Hi,

I have a aspx page where I have to embed my flash file.
I have a page where users will write their stories and some stories will be released in future date.
the dates are stored in database

My question is.

I have to show a flash countdown in that page. I am ready with all the flash countdown page with hard coded date. It will be helpful if anybody show me some tutorials and explain me to send data from aspx page to flash and load data from aspx page to flash.

If I am not wrong to load we can use loadVariables() ..?

thanks in advance
Harish

Sending Utf-8 Data (æ Ø Å) To Aspx Page
Sending utf-8 data (æ ø å) to aspx page
Hi,

I wrote an as3 application where the user can fill-in a form with name, email, comments, etc. The info is sent to an aspx page that takes care of sending an email to the vendor.
The problem is that since this application is being developed in Denmark, some weird characters are used (æ, ø, and å). Flash seems to be able to send the chars, the problems occur on the aspx side, where the special chars either disappear or are replaced by question marks.

I am not the person who develops the aspx side, and I have no understanding of how it works.

The guy in charge of it, who in return does not know a thing about Flash, is asking me to find out whether the Flash side can take care of the issue by doing something before I send the data.

The crucial part of the code is:

var loader:URLLoader;
loader = new URLLoader();
var url:String = "http://path/filename.aspx";
var queryString = '?mailto=emailaddress@domain.dk&companyname=' + Companynavn + '&name=' + Name + '&phone=' + Phone + '&text=' + Text;
var request:URLRequest = new URLRequest(url + queryString);

Can anybody help!

Very truly yours,

Jean-Paul Bardou

P.S.

I realized that this post belongs more here than it did under CS3, where I placed it yesterday.

I hope that this will not be considered as abusive cross-posting...

ASPX And Flash
Hello,
I already have an aspx that creates a variable that contains XML.
Can anybody point me to a good tutorial or sample where I could do the following:
1. Pass a variable from textbox or dropdown list from flash to the aspx file so it can create the XML.
2. Read the XML from the aspx file to display it in the flash page.

Thankx in advance.

ASPX And Flash MX - HELP
I am new to Flash...and am trying to add a Flash movie (swf) to a ASPX page I have created in Visual Studio.NET 2003. I have tried using the script that is in the HTML page that is created when you publish a Flash movie, as well as have tried to use the component in Visual Studio.NET (Shockwave Flash Object) to add the movie.

Nothing is working. The movie won't display. !

Help!

Many thanks in advance!

Flash And ASPX
I know how to post a variable to an ASPX page in Flash. Does anyone know how to get that variable in ASPX and post back a response?

Also, does anyone know if you can have an ASPX page with an embeded swf send that swf a variable upon page load?

Thanks

Flash To ASPX
Hello All,

I want to send one variable from my flash to an aspx page, which should
fetch the value and insert it into a database. However, this all should
happen in the background. I have used loadvars in flash and am doing
following:

var my_lv:LoadVars=new LoadVars();
my_lv.test=5;
function sendValue() {
my_lv.test+=1;
my_lv.sendAndLoad('simple.aspx',"",'POST');
}

I have a button in flash, which has:

on (release) {
sendValue();
}

now, is this correct because my programmer says, he is not able to receive
the variable? Please correct me, wher am I wrong?

Regards,

Parag

Aspx With Flash
Hi to all,

I have some doubts and will appreciate any helps.

I have created an aspx page. What is the coding to be use to link the button to the aspx page so that when click, it will load on the local host (Not on world web)?

Thanks in advance.

Aspx And Flash
Hi Everyone,
i hope this is is posted in the right forum...

something strange is happening. i'm trying to access an aspx file which is online. it's suppose to give me an xml data that i will parse and display inside of flash...

the wierd thing is this: using any variation of code (using xml, or loadvars) the file loads the xml file and works great from WITHIN the flash authoring environment (when using "test movie") BUT it doesn't work when i run the swf file from its local directory (explorer) or from within a browser.

what and why is this?!?!

any help will be greatly appreciated!

Aspx With Flash
Hi to all,

I have some doubts and will appreciate any helps.

I have created an aspx page. What is the coding to be use to link the button to the aspx page so that when click, it will load on the local host (Not on world web)?

Thanks in advance.

.aspx Output Into Flash?
Hello,
(I am using flashMX 7) and have looked high and low how to do this but cant seem to find anything... Can someone please help....

I have created a .aspx file which returns the time from a server. This has been formated so it returns the time in the following format:

&Hour=12&Minute=00&Seconds=00 to represent 12:00:00

I am now attempting to read this data into my flash movie and go on to use the variables to create a digital clock. I know there are other ways of getting flash to display the time... however I would just like to know how to get the data into flash and how it splits the variables???

Has any one come across this before???

Does anyone know any ways around this problem??


Thanks

Flash Communicate Aspx
Hi,

I'm trying to implement a backoffice flash web app for a site.
The backoffice should upload/delete/update files on/to server.
Because flash 2004 has no means of uploading files to server. the only
implementation i could find is using the html <input type="file"> label.

My flash app is preparing an xml detailed with the task to be done.
The problems are:
1)If i'm sending the xml to the server via XML.SendAndLoad then the aspx
cannot open a browser window in order to receive the <input type="file">
back from the client and process them!?
2)If i use getURL and open a new browser window how do i pass the xml
to that page?

If anyone has any other solution to this common task i very much appreciate
your thoughts.

thank eyan.

ASPX Issues With Flash Forms
Hi all

I am building a Flash site with 4 forms: a login, a regsitration, an amend details and a form passing answers to questions.

All 4 forms are in movieclips, 2 of them uses GET since they need a reciept from the ASPX server and two of them uses POST since they just need to send details which will then be confirmed in emails.

Only one form works, the login form using GET. The rest of the forms are not working, BUT only when sending to ASPX. If sent to PHP files they work find, but on the other hand the ASPX bit work when sending forms to it from other sources than flash.

Basically, the ASPX bit work and the flash bit work but not together, except for the login.

Anybody have any idea what is going on here? This is rather urgent so answers are very much appriciated, thanks a lot

Passing Variables From Aspx To Flash
I've been trying this for few days and it still cant work.

Can i load an image into an MC from variables loaded from aspx files?

In flash my source code to retrieve the variable and load it into my MC:


ActionScript Code:
loadVariables("retrieveImg.aspx", "", "POST");
logo_mc.container_mc.loadMovie(imageUrl);

In aspx file, my file output is :

imageUrl = image1.jpg

i cant seem to display the pic on localhost when i run the swf. How to solve this?

thanks for ur help..

Aspx/Html Contacting Flash?
I am looking for a way, at run-time, to have my html/aspx page send the Flash object (embedded in the page) a message of sorts. Like if I press a button on the page, somehow tell the flash object that the button was pressed.

Is this possible? Any links or suggested functions to look into?

Thanks!

Flash Parsing ASPX Paramaters
Dear people,

I am in big trouble and would really like it if someone could help.

I have made a flash banner that should parse ASPX paramaters but have no idea how to do it. For instance, if the user clicks 'beer' in the left navigation (not flash), a relevant, externally loaded image will display in the banner (is flash). If nothing has been clicked, then the flash file should cycle through default images in the folder.
At the moment the folder structure is
- Root folder
swf file
- bannercontent folder
- category 1 folder
- images and images and texts folder
- category 2 folder
- images and images and texts folder
- category 3 folder
- images and images and texts folder
The querystring that will be sent to the flash file will be sent in the format of: category=categoryname&fimage=category/item1.jpg&ftext=category/item1.txt&fimage=category/item2.jpg&ftext=category/item2.txt&category/item3.jpg&ftext=

If anyone knows what I'm talking about or in which direction to point me for help or tutorials, can you please let me know?

Getting Data From Aspx To Flash Problem...
Hi,
I am writing an application which gets data from an aspx file and sends it to flash when flash is displayed in an aspx file and when user clicks buttons it sends other things by using another aspx file...

The problem is,
when i first run the aspx file which displays the flash gets the data and when i click buttons to send data back for example one button sends disal.aspx?no=10 and after it gets 10 i click a button in aspx file to process and recreate the data flash gets while opening but it does not get the new data and also if i click thw button that opens disal.aspx?no=10 again, it never runs the disal.aspx but if i call it with different parameter (disal.aspx?no=10) it runs...
I cannot understand the cause
please help me!

Cahit

Simple Flash-aspx Communication Troubleshooting
Hi, I encountered a strange phenomenon:

When I try to send_lv.sendAndLoad(parserUrl, result_lv, "POST");, the variables are sent & loaded OK to and from an ASP page (simple email form submission is what I need).
BUT, whenever I try to direct the parserUrl to an ASP.NET page, Flash traces that it cannot even open it:

Error opening URL http://someurl_that_works_outside_of_flash/test.aspx

the ASP and ASPX pages are very simple (response.write ("&msg=1"), and contain no other charachters).

Frustrated,
Tal





























Edited: 04/18/2007 at 08:35:21 AM by Tal_CS

User Input In Flash With Aspx Server
Hi so far I've created a flash file with user input with fields such as name and email. But now I need to find a way to script the input fields so that it would send those inputted information to an aspx.net server, and also respond to the user's input by saying "thank you" when the message is correctly sent.
Please help me out, I am new to aspx.net and also new to how flash connects to server with action script coding. PLEASSSeEE helpppp

Retrieving Data From Aspx And Displaying It In Flash
hi all

how to retrieve data from aspx and display it in flash

i have username variable and value nite in aspx

how to display the value nite in dynamic textfield in flash

pls help urgent need
thanks

Returning Variables To Flash MX From .NET .aspx Files
Hi Everybody...
I do really need your help in here. here is my problem:

I have a Flash form that submits information to a .aspx page.
The .aspx page sends out an email and then needs to send back
a flag variable to say if it was successful or not.

Once that is sent back then I update the display in Flash to show the return message.

My problem is I don't know how to send back the return variable from ASP.NET


Thanks for your help.

Dexter

Can Flash Play Inside A .aspx File
I put a flash file inside a .aspx page and it doesnt load at all.
when i do the same in html it obv does load but before it does i get a yellow warning bar on my browsers top telling me to not do this and it is only after I close the warning bar that the flash loads.

These are 2 different things:

could someone please help me ?

Dynamic Flash Image Db With Aspx & Access?
Keeping it brief: Just wondered if anyone knows or has experience to answer this:

We have a backend entirely in aspx and db = Access. It's a photo personals site and we wanna make the member's profile page (the page they get after they click the thumb photo) to include a FLASH photo album, but we want the database to be DYNAMIC ...AND to be able to COMMUNICATE with (right word?) data in the Access tables . Are these 2 goals possible? I'm not a programmer, so if you're kind enuf to reply, please reply in lay-language. Soooo many thanks in advance!

Dr Brad

How Can I Load Aspx 2 Html With A Flash Navigator
Hey guys,

how can I load aspx 2 html with a flash navigator without openning in a new window..... I tried but All i've managed is this

www.birthdayhome.com/new

Need some help on my first hybrid site its not completely done but you could get an idea of my hitch.....

Everytime I click on a flash Nav button it opens up a compleatly new page withwith another flash menu and the whole works..... Going through some threads I came learnt that you can load through ''Get URL.....''

Question 001..... is aspx compatible with flash..... cause the A/S i've used is

on (release) {
getURL("home.aspx", "aspx");

and I'm out of ideas...... My actionscripting is'nt at its best.... its somewheare in the bigginners lounge......anyways

I need to get this up and running asap and my minds just given up.... Plus I'm pritty new to flash so you could imagine where I stand.... Much love to the kings of flash..

DJ Subandrio
(((((((0)))))))

Make Aspx Receive Session Variables From Flash
First post made by me

i have a flash starter page which has a menu for selecting the language / country. the link contains two session variables ('language' and 'cid') which is to be passed into an aspx page as a cookie. problem is, flash does not pass the variable. i had read this post, but this is exactly the opposite of what im trying to do.

AS 2 Problem Embedding Flash Photo Gallery In Aspx File
Evening I was wondering whether anyone could help me I'm trying to embed my flash photogallery in my website. I've used the following code which copied from the html file when i published the photo gallery however the photogallery does not work in my gallery.aspx.

How can I sucessfully load my photogallery into aspx file so it works displaying the thumbs and the picture like it does in the html file.


Code:
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="500" height="500" id="thumbnail_final" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="thumbnail_final.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#000000" />
<embed src="thumbnail_final.swf" quality="high" bgcolor="#000000" width="500" height="500" name="thumbnail_final" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>

ASPX
I have a .NET application (.aspx pages) and I want the GUI to be in Flash in order to be very impressive. Does anyone know if I can and how I can create a Flash interface and have behind it aspx running?

Send To Aspx
This worked fine..

Code:
function sendForm() {
my_lv = new LoadVars();
my_lv.name = name;
my_lv.phone = phone;
my_lv.email = email;
my_lv.message = message;
my_lv.send("sendmail.aspx", "POST");
}
send_btn.onRelease = function() {
if (name_txt.text == "" || phone_txt.text == "") {
error_txt.text = "Missed required fields";
} else {
sendForm();
}
Until I changed it to this. It doesn't send to the aspx-file. Why?

Code:
error_msg._visible = false;
skicka_btn.onRelease = function() {
if (name_txt.text == "" && phone_txt.text == "") {
error_msg.error_txt.text = "Name and Phone required";
error_msg._visible = true;
} else if (name_txt.text == "") {
error_msg.error_txt.text = "Name required";
error_msg._visible = true;
} else if (phone_txt.text == "") {
error_msg._visible = true;
error_msg.error_txt.text = "Phone required";
} else {
sendForm();
};

Mad Panic... Getting Xml From Aspx
Hi all

I am getting xml content from a database calling the following:


ActionScript Code:
contentXML.load(_root.content_xml);

where _root.content_xml = xml/article.aspx?id=152

this seems to work fine although the html in the xml is not being formatted as html. ie it still shows the <P> tags etc.

I have the text box as html, and if I copy and paste the xml that is returned by xml/article.aspx?id=152 from the browser and save it as an xml file on my pc the html is displayed properly (formatted properly)

It will only not be formatted if it is calling it from the browser??

Any one have any help as I am at the deadline and really freaking out!!

Something's Wrong With SendAndLoad+Aspx
Hi everybody.

I'm trying to send some data to an aspx page in order to store it in a database.
Unfortunately, I found that:

.send("page.aspx", "_blank") **WORKS**
.sendAndLoad("page.asp", responseObject) **WORKS**
.sendAndLoad("page.aspx", responseObject) **GRRR NOT WORKING!!!!**

this happens with both LoadVars And XML objects.
Is there a way to fix this? I think the Flash engine opens the aspx as a file, not as a WebPage.
Such an annoying thing...

Form Posting: Aspx
I'm trying to get flash to talk to a newsletter program. On my site at

http://www.cafeshops.com/teetastic/

Here's the working HTML generated by cafeshops:

<form method="post" action="/cp/members/member_subscription.aspx">
<input name="storeid" value="teetastic" type="hidden">
<input name="emailtype" value="1" type="hidden">
<input name="sendmail" value="true" type="hidden">
<input name="cbStore" type="checkbox" checked>
This Shop's Newsletter
<input name="txtEmail" type="text" size="15" maxlength="50" value="your email" onFocus="this.value='';"><input type="submit" value="GO">
</form>

and here's my AS in the swf header:

code: on (release) {
storeid = teetastic;
emailtype = 1;
sendmail = "true";
cbstore = 1; //i've also tried "on" here
txtemail = txtemail.text;
getURL("/cp/members/member_subscription.aspx", "_self", "POST");
}

It returns the right page as if the subscription went through (it actually returns it even if there's no address in the box), but it's not actually signing up the email entered. Could this have something to do with the aspx program it's being sent to? I have only dealt with cgi. Or am I just being a moron and completely missing something here?

On another note, while writing this, the html version of the form seems to have disappeared from the site for no apparent reason. Don't know if this is a related incident. Anyhoo, hope you can help.

Thanks,
Tim

How To Load Aspx Assets
hi,

i have got dynamic pictures in .aspx formats..like

http://www.meteor.gov.tr/2003/iller/set2/istanbul1.aspx

can you help to load this dynamic pictures into flash movies???

Loading Aspx Files
Hi,
I wonder how one imports aspx files into flash mx2004pro. Is this actually possible?
I've checked the html support, but it isnt enough.

Other version would be working with a frameset, but how do the swf files talk to each other then?

any suggestion highly appreciated

thanks,

Alex

GetHours From Aspx Pages...
hey there, I've got some code I've been using to get the time from the users clock -
Code:
getUTCHours
, but I'm wanting to develop a different system....

I'm looking to knock up some aspx to spit out the date in a flash friendly format...

But what's the best format to use and how can I get Flash to grab the info required?

I hope that you kinda understand what I mean....

I know a way of doing this with:
Code:
pollForText();
and grabbing variables from .txt files, but I was wondering if there was a better solution, as this, I feel, is a little clumsy.

Cheers

ASPX And Preloading (Very Annoying)
Hello,

Check these two pages:

http://www.champs-elysees.com/produc...duct_temp.aspx

and

http://www.champs-elysees.com/images...e-chooser.html

Both pages feature exactly the same flash files. However, page 1 doesn't preload but page 2 does??

I am using loadmovie ("url", 0) so that the root is replaced by the movie containing the preloader. I have used ("url", 'target') with a preloader for 'target' but this doesn't work either.

Any help or ideas would be greatly appreciated.

TA very much.

J.

Copyright © 2005-08 www.BigResource.com, All rights reserved