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








Getting String Info From Php Into Flash


Hi, I've got a form in flash that sends the information filled in the textboxes to a php which then sends out emails to the respective address' that have been filled in, the problem is that if the email is already in the database it does nothing, which is making testing it difficult as I keep having to use new emails. I've added this string to the php-

}
else
{

echo("<fail>This user has already been referred for this game</fail>");
}
}

But don't know how to reference it from my flash so the message comes up, at the moment my flash button has this actionscript on it-

on (release) {
if (!email.length || email.indexOf("@") == -1 || email.indexOf(".") == -1) {
EmailStatus = "Please enter a valid E-mail address";
} else if (!referrer.length || referrer.indexOf("@") == -1 || referrer.indexOf(".") == -1) {
EmailStatus = "Please enter a valid E-mail address";
} else if (!Name.length) {
EmailStatus = "Please Enter their name to complete the referral";
} else if (!MyName.length) {
EmailStatus = "Please enter your name to complete the referral";
} else if (!gameid == 4) {
} else {
loadVariablesNum("http://www.winability.co.uk/winability/refer/makereferral.php", "0", "POST");
EmailStatus = "Thank you for referring your friend. We have sent them this email";
}
}

Does anyone have any idea how to make this work, I've got a deadline to get it fixed and I seem to be going in circles at the moment? Any help or suggestions would really be appreciated.

Tom




KirupaForum > Flash > ActionScript 1.0/2.0
Posted on: 11-21-2005, 09:03 AM


View Complete Forum Thread with Replies

Sponsored Links:

Getting String Info From Php Into Flash
Hi, I've got a form in flash that sends the information filled in the textboxes to a php which then sends out emails to the respective address' that have been filled in, the problem is that if the email is already in the database it does nothing, which is making testing it difficult as I keep having to use new emails. I've added this string to the php-

}
else
{

echo("<fail>This user has already been referred for this game</fail>");
}
}

But don't know how to reference it from my flash so the message comes up, at the moment my flash button has this actionscript on it-

on (release) {
if (!email.length || email.indexOf("@") == -1 || email.indexOf(".") == -1) {
EmailStatus = "Please enter a valid E-mail address";
} else if (!referrer.length || referrer.indexOf("@") == -1 || referrer.indexOf(".") == -1) {
EmailStatus = "Please enter a valid E-mail address";
} else if (!Name.length) {
EmailStatus = "Please Enter their name to complete the referral";
} else if (!MyName.length) {
EmailStatus = "Please enter your name to complete the referral";
} else if (!gameid == 4) {
} else {
loadVariablesNum("http://www.winability.co.uk/winability/refer/makereferral.php", "0", "POST");
EmailStatus = "Thank you for referring your friend. We have sent them this email";
}
}

Does anyone have any idea how to make this work, I've got a deadline to get it fixed and I seem to be going in circles at the moment? Any help or suggestions would really be appreciated.

Tom

View Replies !    View Related
Adding Info To A String
Okay,
I have a string of info I am importing into Flash and need to know how to add additional info to a specific string from the XML with AS3. Does anyone know how to use RegExp? I can't seem to get it to work. I need to add a file extension, height and width to an image that lacks this info. Thanks for any help or suggestions.

David

Code from main timeline with failed RegExp code (no errors, just does not work):


ActionScript Code:
import com.me.xml.*;
import com.me.php.*;
import fl.controls.*;
import fl.data.*;



var info_txt:TextArea = panel_mc.main_mc.info_txt;
var episode_cb:ComboBox = panel_mc.main_mc.episode_cb;
var date_txt:TextField = panel_mc.main_mc.date_txt;
var view_btn:Button = panel_mc.main_mc.view_btn;
var grabber:Grabber = new Grabber();
var reader:RSSReader = new RSSReader();


function dataGrabbed(event:Event):void
{
    info_txt.text = "processing xml data";
    reader.addEventListener(Event.COMPLETE, rssProcessed);
    reader.processXML(new XML(grabber.data));   
    }
   
   
function RegExpExample():void {
    var formalGreeting:String = 'img src="http://image.shopzilla.com/resize?sq=100&uid=\d{9}"';
}

function informalizeGreeting(str:String):String {
    var pattern:RegExp = new RegExp('img src="http://image.shopzilla.com/resize?sq=100&uid=\d{9}"', "gim");
    return str.replace(pattern, 'img src="http://image.shopzilla.com/resize?sq=100&uid=/d{9}/.jpg" width="100" height="50"');
}

function rssProcessed(event:Event):void
{
    var episodeDP:DataProvider = new DataProvider();
    for each(var item:XML in reader.episodes)
    {
        episodeDP.addItem({label:item.title});
    }
    episode_cb.dataProvider = episodeDP;
    episode_cb.addEventListener(Event.CHANGE, changeSelection);
    episode_cb.selectedIndex = 0;
    updateText();
    view_btn.addEventListener(MouseEvent.CLICK, viewOnline);
}

function viewOnline(event:MouseEvent):void
{
    navigateToURL(new URLRequest(reader.episodes[episode_cb.selectedIndex].link));
}

function changeSelection(event:Event):void
{
    updateText();
}

function updateText():void
{
    var date:String = reader.episodes[episode_cb.selectedIndex].pubDate;
    date = date.substr(0, date.length-14);
   
   
    info_txt.htmlText = reader.episodes[episode_cb.selectedIndex].description;
    date_txt.text = date;   

}

grabber.load("grabber.php", "http://www.shopzilla.com/14G_-_feed_id--4/rss.xml");
grabber.addEventListener(Event.COMPLETE, dataGrabbed);

View Replies !    View Related
Passing String Info Via MovieClip?
Hello.

I'll try to explain what I'm looking for, I haven't started coding yet so have nothing to show.

I have 190 movieclips which display various types of information. When a user clicks on a movieclip, it has to tween larger but also send a string to a method. I'll probably e.currentTarget to use one function which contains a tween and I wondered if there was a quick way to pass string info in a similar way?

So, each movieclip has it's own value which can be passed to a method which will use that value. The only way I can think of so far is to have 190 functions which send the string data to the appropriate place. I'm trying to avoid that if I can.

Thank you.

View Replies !    View Related
[F8] Html Links -reload The Page And Get Info From Query String
I need a proof of concept or a simple way if there is one of allowing authors to create INTERNAL links to pages in my flash application.
The application is a learning resource which uses a string notation such as 02030004 to navigate to that resource page. This is internal to the application.
If I can get authors to put in a html <a href="... link then set this number in the query string can I get flash to read this if it runs off of a CD rom.

Is this going to work? and can I get the query string value if it runs from the cd rom. I dont like this way personally, I dont want to reinstantiate the movie and all the variables etc it will raise all kind of bugs to my mind. But how can I do it otherwise ?

View Replies !    View Related
What's The Best Way To Parse Out A Url String Using The String Object In Flash
I'm creating a CMS(Content Management System) tool so that users can change text and the changes be reflected in a text window in flash . The text that the user enters in the CMS tool will be stored in the database.

In flash I want to parse the string that I get from the database and look for URL strings that start with http "http://www.someurl.com" and parse out that substring.

For example the string could be "Please vist my site at http://www.site.com". I would want to parse out the http://www.site.com


If I find this url string I want to pre-pend the a href tag <a> and append the closing </a> tag to the string so that this link will be clickable from the textfield.

Does flash have an object that deals with Regular Expressions?
I've looked at the String object in flash but not sure how to achieve this task

I'm currently working on this so any ideas?

View Replies !    View Related
What's The Best Way To Parse Out A Url String Using The String Object In Flash
I'm creating a CMS(Content Management System) tool so that users can change text and the changes be reflected in a text window in flash . The text that the user enters in the CMS tool will be stored in the database.

In flash I want to parse the string that I get from the database and look for URL strings that start with http "http://www.someurl.com" and parse out that substring.

For example the string could be "Please vist my site at http://www.site.com". I would want to parse out the http://www.site.com


If I find this url string I want to pre-pend the a href tag <a> and append the closing </a> tag to the string so that this link will be clickable from the textfield.

Does flash have an object that deals with Regular Expressions?
I've looked at the String object in flash but not sure how to achieve this task

I'm currently working on this so any ideas?

View Replies !    View Related
Info Needed On Passing Info To SQL DB
I'm trying to write a Flash message board, and would like to know how to get Flash 5 to chat to a SQL Database.

I understand this needs to be done via ASP, not a problem, but how do I pass the variables to the ASP page for storage?

I've seen mention of loadVariables, but would like to know exactly how this communicates to the ASP page.

Many thanks
Wydget.

View Replies !    View Related
Help With PHP And Flash, Getting DB Info
I'm making an app that will eventually be a wine directory. On the first page the user will select a letter that's associated with the first letter in the wine's name. Then a list should be populated with all the names that start with that letter. The user will then select from the list and will bring up a details page. Right now I have it so that when a letter is selected it goes to the next frame where a dynamic text field should be populated with the chosen data. I will figure out how to get it into a list component after I've gotten the data properly loaded. It appears to load the data but nothing displays in my dynamic text box. This is what my PHP looks like now...


PHP Code:



<?php
include("config.php");

if(mysql_connect($host,$user,$pass)){
____mysql_select_db($dbname);
____$tab = $HTTP_POST_VARS['thisLetter'];
____$query = "SELECT * FROM address WHERE LEFT(firstName,1) = '".$tab."' ORDER BY firstName";
____$result=mysql_query($query);
____$content = "";
____while($row = mysql_fetch_array($result)){
________$content .= $row['firstName'] . "<br>";
____}
____print "&content=" . urlencode($content);
____mysql_close();
}
?>





This my AS on the first frame of my movie...


Code:
//create new loadVars object wineLoad for data transfer
var wineLoad = new LoadVars();

//actions for the letter movieclips
MovieClip.prototype.whichMc = function(){
___this.onRelease = function(){
______wineLoad.thisLetter = this.txt;
______wineLoad.sendAndLoad("getList.php", wineLoad, "POST");
______removeAlphabet();
______gotoAndStop(2);
___}
___this.onRollOver = function(){
______this.gotoAndStop(2);
___}
___this.onRollOut = function(){
______this.gotoAndStop(1);
___}
___this.onReleaseOutside = function(){
______this.gotoAndStop(1);
___}
}

//remove alphabet
function removeAlphabet() {
___for(i=0; i<26; i++){
______removeMovieClip("letter_mc"+i);
___}
}

//attach and duplicate letter_mc to create the alphabet
function createAlphabet(){
___for(i=0; i<26; i++){
_______root.attachMovie("letter_mc","letter_mc"+i, i);
_______root["letter_mc"+i]._x = (40*i)%240;
_______root["letter_mc"+i]._y = Math.floor((40*i)/240)*40;
_______root["letter_mc"+i].whichMc();
_______root["letter_mc"+i].txt = chr(97+i);
___}
}

createAlphabet();
stop();
And the AS on the second frame (where the data should load) looks like this....


Code:
wineLoad.onLoad = showContent;

//set the message to let the user know data is being loaded
message.text = "Loading data for "+wineLoad.thisLetter;

//display the content
function showContent() {
___message.text = "";
___var i;
___content.htmlText = "";
___for (i=0; i<this.n; i++) {
______content.htmlText += "<b>"+this["firstName"+i]+"</b><br>";
___}
}
Is there something wrong in how I'm telling the data to display in Flash??

View Replies !    View Related
Info For Flash
hi

i'm new to flash and i want to create a web site in flash
and i need alot of information to get started.

where i can find the info?

thank u!!!

View Replies !    View Related
Please Help Need Some Flash Info
i want help making this in flash what im trying to do is make it so people can
customize this charecter here examples













this is also something im trying to do in flash





this is all for my website
my website address is http://magivolve.com

View Replies !    View Related
Flash Pop-Up Help/Info?
Ok, basically I want to make a flash pop-up like you get on some sites. I can't find an example, but I found a pic of an example:



This would really help out my site so I can present a nice welcome page to new visitors.

What I'm looking for is a tutorial or information on how to create a working flash pop up. I've search everywhere but can't find anything.

The best site (sadly) i found with a tutorial (i think) is this site: http://www.sitemasters.be/?pagina=tu...s&cat=8&id=385, but its in german and translates poorly.

Please help me =)

View Replies !    View Related
Next Gen Flash Info?
What's the latest news on 8-Ball? Do we have a launch date? I saw the video from the Flash 8 Demonstration at Tokyo, so do we know anything beyond that?

View Replies !    View Related
Info Panel In Flash MX
Inside the Info Panel In Flash MX there is a list of items to choose from. Notably the nine small square boxes that are use to align items in flash by using X, Y, coordinates. My question is how Can I activate the other eight small boxes.

Any Help is welcome
eystothesky

View Replies !    View Related
Flash 5 Upgrade Info
Does anyone have, or has had, the upgrade version of Flash 5.
I've been offered a boxed copy at a knockdown price but am not sure what I will need to install it.
Will it upgrade all earlier versions of Flash, or just the previous version 4.
Also does the boxed upgrade include all the manuals that come with the full version.

Any advice greatly appreciated.

Secoast

View Replies !    View Related
Flash 5 Upgrade Info
Does anyone know if it is possible to upgrade from version 3 to version 5 with the Flash 5 upgrade (boxed retail).

Many Thanks...Secoast

View Replies !    View Related
Flash MX / HTML Info Box
Hi All

I would like to create an information box on my website that depending on which button is pressed it brings in a specific html file, I would like this to be scrollable as there is a lot of information on these pages.

Regards


1druid1

View Replies !    View Related
Flash MX / HTML Info Box
Hi All

I would like to create an information box on my website that depending on which button is pressed it brings in a specific html file, I would like this to be scrollable as there is a lot of information on these pages.

Regards


1druid1

View Replies !    View Related
Info Window In The Flash App...
Hello,

Just wondering if anyone else is tired of not having the info window in the flash application update the x and y coordinates while positioning things on screen...it especially bugs me when I'm trying to position guides...every other program doesn't seem to have a problem giving users this info!

Do PC users (as opposed to Mac users) have this same issue?

SS

View Replies !    View Related
Flash CD ROM - Info To Text Doc
Im developing a cdrom and I want to be able to record the navigation to a text document on the desktop of the computer upon exiting. Is this possible??

View Replies !    View Related
Info About JoyStick In FlaSh
ok, hi there, i have 2 questions.
1: can we make flash action script detect joystick mouvements??

and 2: do u guys know ANY (even if it old and crappy)games that i can use joystick in it??(dosnt have to be a flash game)

tx

View Replies !    View Related
Flash And Session Info
Hi

I am developing a backend in Java and using Flash as the front end. The Flash application requires that the user logs in. To do this I get the session info and store it in the flash and pass is back as JSESSIONID=xxxxx to each url that is loaded. THis works fine in a browser window. Howe if I need to debug in the FLASH ide this doesn't workas the browser seems to ignore the session info being passed.

Is there a way to get around this?

Benon

View Replies !    View Related
How To Send Info Into Flash ?
hello !
i have 1 swf file runnig on 5 different html pages.
i want that on each different page the flash will send a specific mc to play a secific frame.

for example :
on page named "about.html" the mc named "rasta" will play frame 13 !
on page named "pay.html" the mc named "doodle" will play frame 9 !

HOW ?

View Replies !    View Related
Info From Flash Into ASP, Cant Get It To Work?
Hi everybody,

Can somebody pls help me? I´m trying to get my swf-file to send info from variables to a ASP-doc that will trigger a mail to me.

I have below information so far...

my asp doc is as follows:

<%
If Request.Form("btnSend").Count > 0 Then

Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = Request.Form("subject")
objMessage.Sender = Request.Form("From")
objMessage.To = Request.Form("To")
objMessage.TextBody = Request.Form("message")

objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2


objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "smtp.nobound.se"


objMessage.Configuration.Fields.Item _
("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25

objMessage.Configuration.Fields.Update

objMessage.Send
Response.Redirect("../index.html")
End If
%>


and the script I have on my button to send the info is as follows...

// The actual object.
var.sendmail = new LoadVars();

// Variables (key / value pairs) you want
// to include in the request.
sendmail.subject = 'Hello world';
sendmail.emailBody = 'I said hello damned!';

// Called upon completion of the request / response.
sendmail.onLoad = function() {
trace('varObj is now done...');
trace(' > The server said: ' + this.server_result);
}

// Where to and how...
on(release){
sendmail.sendAndLoad("http://www.nobound.se/vasp/index.asp", myVar, 'POST');
}

and I do not get how and why it doesnt work, can somebody pls help me by explaining how ti correct my above script or explain to me as a fairly newbee how to do this operation !??

Thanks a million !

Jonas Hallquist
www.nobound.se

View Replies !    View Related
Flash Getting Permanent Info From A DB
Hi,

I was wondering if there was a way in wich i can recieve data from a DB using php to a flash app wich is never closed nor refreshed.

What i mean is, i have a flash app that is ON and it askes PHP to give back values that are always changing. The period flash askes is realy short... 2 secs periods to 5 segs at most.

This is because i need a realtime DB monitoring with data that keeps updated at that rate and i need it to be shown with "grace" in flash so i can add sounds and animations depending on the data i recieve.

The fact that i need the APP without refreshing is crucial because i show a kind of "history" of prior data i recieved so i can make tendences without asking the DB to resend me that value of that specific period of time.


I havent yet tested connectivity to a DB with php yet... thats why im asking this before i start the work to see if its doable or not.


Hope im clear enaugh... just ask me for more details if a point isnt very understandable.

View Replies !    View Related
Interesting Flash 8 Info
This article had some cool info I did not know was in the next release. Specifically the file upload feature....gotta call MM and thank them for finally cramming that in there.

http://communitymx.com/abstract.cfm?cid=513FF

View Replies !    View Related
Flash Not Pulling The Right Info
I am creating a menu using XML. The menu and the text fields get generated correctly however when you click on the buttons it does not work. Sometimes it either combines all the urls in the XML file or if I change the AS it opens up a page that says undifined.

Code:
stop();
function GoOut() {
getURL("http://"+url_link[i], "_blank");
}
function OverDisplay() {
this._parent.hitarea.gotoAndPlay("rolover");
this._parent.arrows.gotoAndPlay("rolover");
}
////////
function OutDisplay() {
this._parent.hitarea.gotoAndPlay("rolout");
this._parent.arrows.gotoAndStop(1);
}
////////
item_spacing = 30;
item_count = .25;
function CreateMenu(menu_xml) {
url_link = [];
link_name = [];
xmlNode = menu_xml.firstChild;
total = menu_xml.firstChild.childNodes;
for (i=0; i<total.length; i++) {
link_name[i] = xmlNode.childNodes[i].attributes.txt;
url_link [i]= xmlNode.childNodes[i].attributes.link;
item_mc = menu_mc.attachMovie("menu_item", "item"+item_count, item_count);
item_mc._y = item_count*item_spacing;
item_count++;
item_mc.btn_txt.htmlText = link_name[i];
//////////////
item_mc.hit.onRelease = GoOut;
item_mc.hit.onRollOver = OverDisplay;
item_mc.hit.onRollOut = OutDisplay;
}
}
menu_xml = new XML();
menu_xml.ignoreWhite = true;
menu_xml.onLoad = function(success:Boolean) {
if (success) {
CreateMenu(this);
} else {
trace("Error loading XML file");
}
};
menu_xml.load("menu.xml");

Someone please help I have been at this for days. I dont know what its wrong with this AS. The XML file if very simple.

View Replies !    View Related
Passing Info Between Flash And ASP.NET
Hi All,

I am trying to create a malware scanner for a client. I have a flash graphic with the following stages dependant on information sent from ASP.NET. I guess i can put the different states of the graphics at different labels on the timeline. ("nodata", "importing", "anaylising", "pass" and "fail").

1. Static graphic not data/awaiting data graphic
2. Importing data graphic
3. Anaylising data graphic
4a. Pass graphic- send results to email address
4b. Fail graphic - Display error message generated by ASP.NET

There is an upload button in the ASP.NET area, once pressed, i need the label in Flash to change to the relevent label dependant on the infomation Flash recieves from ASP.NET.

I am really unsure how to pass the data from ASP.NET to flash and back again. Can anyone help me understand how to go about this?

Many thanks in advance...

Andy

View Replies !    View Related
XML Info Being Screwed Up By Flash?
In scene one it shows mtitle1 correctly, when you hit the next button and go to scene two, it displays mtitle2 correctly. However, if you go back to one or continue to the end of the loop it displays mtitle1 as a garbled mess of html.

To test what was going, I added trace statements to scene 1 and scene 2 . . . here are the errors.


Code:
<TEXTFORMAT LEADING="2"><P ALIGN="CENTER"><FONT FACE="verdana" SIZE="16" COLOR="#FFFFFF" LETTERSPACING="0" KERNING="0"><p align="center"></p></FONT></P></TEXTFORMAT>
Error opening URL "http://www.ad;lfkjas;dl"
Movie2
Error opening URL "file:///C|/Documents%20and%20Settings/Styles/My%20Documents/Websites/myspace/Movie%20Rate%20Experiment/test"
(note: the error opening URLs are there because I have entered bogus info for that variable on purpose.)

Everything at the top of the code block is supposedly mtitle1. You can see where the mtitle2 trace statement is a couple lines below.

Something else to note, mtitle 1 will grow every time you go back to it's scene.

Any idea what's going on here?

View Replies !    View Related
Help Info Needed On Flash 2, 3, 4
I'm a student in computergraphics here in belgium. It's my last year of study and I have to make a big theorical work on a free subject.
The title of my work is "flash and shockwave ; a revolution for the web".
I'm making some research on the previous versions of the macromedia flash software (flash 2.0, 3.0, 4.0, 5.0 and mx) and director, but I can't find anything good...
I need to have some info on the release dates of those older versions, their functionalities, pros, cons etc...

Does someone has some good resource for me ? (I can't find anything even on the macromedia site).

thx in advance

View Replies !    View Related
Flash Not Loading Info
Flash piece will load on various computers and fill in information from database. However, one user gets the flash piece loaded, but no information. What could be causing the information not to load?

View Replies !    View Related
Getting Computer Info With Flash
Hello guys!

I remember once to read about how flash can get computer info.

Any ideas how?

i need something like mac adress, hd serial and some stuff like that.

Thanks!

View Replies !    View Related
XML And FLASH, Basic Info
Hello...I would like to have a third party exchange english language text in a swf file with translation-text in other languages. They would like to do it via XML. Is there a place where I can look up some basic info on how to write XML code (beginner), or find a script that lets me exchange text/content via XML? I'd greatly appreciate pointers (I hope this is not too generic of a question)! Thanks...

View Replies !    View Related
Passing Info. From Flash To Php
I have a simpel bottom function that needs to pass variable to a php search page. I have listed the vars:

NAME="newSearch" VALUE="1"
NAME="searchType" VALUE="1"
NAME="searchArea" VALUE="0"
NAME="pictureReq" VALUE="0"
NAME="fromYear" VALUE="0000"
NAME="fromMonth" VALUE="00"
NAME="fromDay" VALUE="00"
NAME="toYear" VALUE="0000"
NAME="toMonth" VALUE="00"
NAME="toDay" VALUE="00"
NAME="duration" VALUE="0"
NAME="continent" VALUE= $continent
NAME="country" VALUE= $country
NAME="region" VALUE="0"
NAME="rCity" VALUE="0"
NAME="rooms" VALUE="0"
NAME="oldContinent" VALUE="0"
NAME="oldCountry" VALUE="0"
NAME="oldRegion" VALUE="0"

How do I pass this information from flash to PHP

Hope so one can help.

View Replies !    View Related
Saving Info In A Flash .exe
Ok lets say that i've got a flash projector file (or similar flash .exe file), and I need to allow the user to input a value which needs to be saved within the .exe and subsequently retreived every time the movie is fired up, how would I go about doing this? Is it possible with flash?

View Replies !    View Related
Blog Info In Flash
Ok So I have A Problem.... I have a blog right now that runs off of a server with a MySQL Database. The page is in PHP and I just designed a new page that is in Flash. Does anyone know of an easy way I can get the data from the MySQL database to my flash file and if you do know any tutorials or help sites you might know of.

Thanks
JP

View Replies !    View Related
Flash - Computer Info
Is there a way to get info about the users computer with AS 3.0?

View Replies !    View Related
Passing Info. From Flash To Php
I have a simpel bottom function that needs to pass variable to a php search page. I have listed the vars:

NAME="newSearch" VALUE="1"
NAME="searchType" VALUE="1"
NAME="searchArea" VALUE="0"
NAME="pictureReq" VALUE="0"
NAME="fromYear" VALUE="0000"
NAME="fromMonth" VALUE="00"
NAME="fromDay" VALUE="00"
NAME="toYear" VALUE="0000"
NAME="toMonth" VALUE="00"
NAME="toDay" VALUE="00"
NAME="duration" VALUE="0"
NAME="continent" VALUE= $continent
NAME="country" VALUE= $country
NAME="region" VALUE="0"
NAME="rCity" VALUE="0"
NAME="rooms" VALUE="0"
NAME="oldContinent" VALUE="0"
NAME="oldCountry" VALUE="0"
NAME="oldRegion" VALUE="0"

How do I pass this information from flash to PHP

Hope so one can help.

View Replies !    View Related
Saving Info In A Flash .exe
Ok lets say that i've got a flash projector file (or similar flash .exe file), and I need to allow the user to input a value which needs to be saved within the .exe and subsequently retreived every time the movie is fired up, how would I go about doing this? Is it possible with flash?

View Replies !    View Related
Info For A Flash Beginner
So i am wanting to create a small ticker style graphic/movie that would rotate through a handful of entries in my mysql database. can somone guide to a good tutorial, or a thread that might help me out.

I know PHP pretty well, but don't know jack about flash.

what i want is a "Special Thanks" ticker. Those thanked in the ticker would be those that we have submited to a mysql database.

any help would be greatly appreciated.

View Replies !    View Related
Interesting Flash 8 Info
Not sure if this has been posted here before, but this article had some cool info I did not know was in the next release. Specifically the file upload feature....gotta call MM and thank them for finally cramming that in there.

http://communitymx.com/abstract.cfm?cid=513FF

View Replies !    View Related
Passing Info From An ASP Url Into Flash
I am needing to have specific links trigger different functions in my swf. For example, when you go to "www.mydomain.com/page.asp?linkOne" it will trigger the linkOne function that I have set up in my swf. How would I go about doing this?

Thanks in advance.

View Replies !    View Related
Sending Info From Flash To PHP
I am wanting to send information from a form in Flash to a PHP page which will then enter that data into a MYSQL database. After the info is stored in my database, PHP will pull it from the DB, and display it in a textfeild in The flash form. The form has only 2 feilds "name" and "email" . I am mostly concerned with getting the info from flash to the DB. I think I can sort it out from there, but any help with this problem would be greatly appreciated.

View Replies !    View Related
Flash Not Receiving PHP Info?
I've got a contact form that sends information to my php script, which should then send an email and return a value back to flash so that flash will play the third (last) frame.

The email part of things works fine, but I can never get flash to play that third frame.

The actionscript for my submit button:


Code:


on (release) {
form.loadVariables("email.php", "POST");
gotoAndPlay(nextFrame);
}



The actionscript on the 'nextFrame' (as mentioned in the above code):


Code:


//Check for return var
if(retval=="1"){
gotoAndStop(3);
}else{
gotoAndPlay(1);
}



My PHP code:


PHP Code:





<?php
 
$sendTo = "me@me.com";
$subject = "comments";
$headers = "From: " . $_POST["fullname"] ."<" . $_POST["email"] .">
";
$headers .= "Reply-To: " . $_POST["email"] . "
";
$headers .= "Return-path: " . $_POST["email"];
$message = $_POST["message"];
 
mail($sendTo, $subject, $message, $headers);
 
// Why oh why isn't the next line working?

echo 'retval=1'; 

// I've also tried "retval=1", 'retval="1"', and "retval == 1"
?>







I should also mention that if I hit the submit button and look at the status bar, it hangs on "Transferring data from mydomain.com".

What am I doing wrong here? Help?

View Replies !    View Related
Flash Controller (Sending Info In Flash To Javascript)
I am trying to build a flash controller which changes out a background located inside a table inside of my html document.

Currently I have the Flash trying change the background to my html file through javascript.

In javascript, I am using document.write(' ' +args ' ') and having it controlled by a function inside of flash to keep switching out the background(text). . . I am having Flash pass this data out, and I can call it from an alert, but I am not able to write out that information using the document.write command (like above).

I think document.write is called only once on the page load. I need it to be called anytime I hit the next button inside of flash.

Is there another way for flash to send data to Javascript so that I can send it a text string from flash and then have javascript dynamically write out that information?

Thank you for your time.

--J

View Replies !    View Related
Javascript And Flash - Send Info Into Flash Using The Gotolink
hi!

i just finished a flash website and would like to be able to find the different sites in google. as it is done in one flash file i heard that it is possible to add javascript to the html file like:

<param name="gotolink" value="home"/>
<param name="gotolink" value="menu1"/>
etc...

and then with a certain code in flash directly be able to link to the specific part (like menu1, home, etc.)

so for example the navigation i've got has about 7 sections plus some sub menues. as the one flash file can be found in google with meta tags i wanted to find out if it is possible to add meta tags to google regarding the sub content of the site. lets say now if i find the page in google i come to the home menu. but if i look for another name i would like to specifically be able to link to that part of the flash site. so i would need to tell flash that if i come to a specific value in google it has to link to submenue two for example.

it's just that i got told that what i have to do is add the param name in javascript with the gotolink function to a specific value and then let flash understand if that specific value is called then it has to jump to this specific part of the application - not using any buttons.

so summed up (and i know this thread is quite long already...) if i type in x in google and i've got x within my application as a submenu of the navigation and you click on the link of google you get to the wanted part within the flash application...

i hope any of these things make sense as i am absolutely clueless of what to do!

thanks lots!

View Replies !    View Related
.txt File Sending Info To Flash
You don't have to give me the whole insight yet just the basics.

I want a a graph or a kind of a levels bar to be generated in flash by data from a .txt file that is generated from an external program.

Can you do it or not? I know there must be a way.

Thanks

View Replies !    View Related
Getting WHOIS Info In FLash (domaininfo)
Hi all,

I'm looking for a possible way to design a fla movie that gets WHOIS domain info after the user typed a domainname in an inputfield... Has anyone any idea where to start or has anyone an idea how to do this in html / javascript ? I prever Actionscript and Flash though.....

Thnx in advance !

Roel

View Replies !    View Related
Getting WHOIS Info In FLash (domaininfo)
Hi all,

I'm looking for a possible way to design a fla movie that gets WHOIS domain info after the user typed a domainname in an inputfield... Has anyone any idea where to start or has anyone an idea how to do this in html / javascript ? I prever Actionscript and Flash though.....

Thnx in advance !

Roel

View Replies !    View Related
URL Variable Imported Info Flash
i have a basic flash question that i cant seem to find the answer to anywhere....

i have a URL: www.something.com/index.html?refer=JOEJOE

the refer=JOEJOE is virtual and changes depending on where the user comes from.

index.html contains the embeded flash movie.

i want the movie to simply load the following URL:
www.something.com/newpage.html?refer=JOEJOE


what i have so far is:
------------

var refer = new LoadVars();
refer = "JOEJEO-this is what i need to replace";

getURL ( "http://www.something.com/newpage.html", "_self", "get" );

-----------

i need to replace the refer = "joejoe"; with the Actual virtual refer string...

in ASP it would be:
http://www.something.com/newpage.asp?refer=<% Response.Write(Request.Querystring("refer")) %>

but i cant seem to fina an equilivant in flash....

any suggestions would be appreciated!

Joe Rubin

View Replies !    View Related
Can Flash Pass Info To Frontpage?
Hey everyone! I'm wondering if I can exploit my Frontpage enabled server and pass info from a flash from to a Frontpage form to send info to the company... I haven't a clue if or how it could be done. Any thoughts?

Thanks a million!

Jason

View Replies !    View Related
Flash Trick Info Needed
I have just seen the coolest thing I think was done using flash.
But For the life of me I can't figure out how they do it.
http://www.weather.com has a flash movie that loads in the middle of the webpage transparent over the web page and then does it's thing and disappears. AOL IM does it as well. It almost takes over the screen and then
plays and disappears. It's kind of like ESPN & Discovery channel's little video commercials they have on the bottom right of the screen.
How can this be done without assigning a direct table for flash to play in?
I hope I'm asking this correctly.
Check out the Weather.com site and you may need to refresh a couple of times toi see the ads.
Thanks for your help!
Joseph Hahn

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved