ActionScript 2.0 :: Read The Url Where The User Came From In Flash?
Feb 16, 2009
I have a hosted site with 2 different domains pointing to it,example:[url]..and [url]...Is there anyway to read the url where the user came from in flash? I could change my flash movie according to the url of the user..In ASP i use:
Code:
Request.ServerVariables("HTTP_HOST")
View 3 Replies
Similar Posts:
Nov 13, 2010
i have a php page,inside i include a myflash program.in myflash program i have a function to add to cart when user want to buy something..but i want if they want to click the add to cart button the user first must login to the php page.login module i put in same page with flash program..how can i make if user press the add to cart button,if he not yet login the warning box will appear tell he must login first.i can make it with javascript in php page.. but in flash i donk know how.
View 7 Replies
Mar 15, 2012
I need to create and read a user preferences XML file with Adobe Air. It will contain around 30 nodes.
<id>18981</id>
<firstrun>false</firstrun>
<background>green</background>
<username>stacker</username>
...
What's a good method to do this?
View 1 Replies
Oct 1, 2009
I need to develop, what would be like, a projector screen that the user could pull down, read what is on it, and click to "roll" back up. I know how to do the interaction with the mouse and all, but how do I make the object "grow" so it is hidden when it is "rolled" up and slowly reveals itself like a projector screen would?
View 4 Replies
Aug 2, 2009
how the editors work. Which will be the best way to read the code and then give the user one simple UI? I am thinking of using charCodeAt(num) == "{"? But would it be possible for me to read the code? give me example of how editors 'read' the data or point me some issues that i can look through.
View 2 Replies
Aug 4, 2011
As the title says, suppose I have an hypothetical XML containing this:
[Code]....
I can check if a certain speech has a bg change by simply doing this:
if(bgs[i])
{
//true!
}
what should I compare in the case of sounds, I've tried many, like:
[Code]....
View 2 Replies
Apr 20, 2006
I was wondering if anyone has any input on my question.I've been trying to figure out for a few hours now how to make words or sentences animate in and "pause" for a few seconds (for the user to read) and then continue to play. I know I can tween it, but I wanted to do it via actionscript. I got it to animate in and come out but i couldn't figure out how to have it hold for a few sec. I will have more than one sentence animate in and out.
View 8 Replies
Feb 19, 2011
So I want to read http streams using flash tcp sockets. I do not really need the http header at all - all I need is body which contains flv. so how to read http response body into byte array using flash sockets?
View 1 Replies
Mar 14, 2010
I wonder wether on a website like chatroulette for example, the streaming video is going directly from user to user or wether it is going through a server.
In other words I wonder wether it is possible to offer a webcam service on a website, so that the streaming video goes directly from user to user, without overloading the system.
View 1 Replies
Feb 22, 2011
We have a sort of game, generated with Flash in AS3, on our website where the reader is invited to eliminate the California Budget Deficit. It's connected to a database where we keep track of the responses and print them in chart form and post the results on the website so everyone can see the most popular budget items the readers want to cut.
See the interactive in question here:
[URL]
We've had many, many requests to have an option where the reader can get a copy of his/her choices that he/she can print out. I've thought about having a movieclip pop up that shows those choices (and that would be simple enough), but in addition to that, what I'd really like to do is have a way to download those choices to the reader's computer as a text file or maybe have a "Print" button on the movieclip showing the choices that would print just that movieclip. The database we have wouldn't really be suitable because it's set up to simply show which were chosen and which not, and the names of the submissions and choices are variables that don't really mean anything except to us when we put it all in an excel file.
View 1 Replies
Jul 2, 2010
For one of my projects I need users to be able to communicate with each other in an audio mode. The thing I'm concerned about is the scalability of the project if it even gets big in terms of bandwidth consumption.
What are the alternatives to passing the audio through my server to the users?Is it possible to create a link between two users so they can exchange their stream of data (audio in this case) so that it doesn't pass through me, while still being able to control the time they've been connected to each other and some other information?
As for now it's just an idea I have in mind but I don't really know what to look into. I think it will probably need to be some plugin dependant solution so that's why I tagged the question like that.
I'm not looking for a concrete solution, just a little push in the right direction from someone who has been through something similar.
View 1 Replies
Mar 31, 2010
A friend of mine has a Flash Action script running on a LAMP server that currently reads an xml config file. He's asked me if it's possible to remove the xml file, and replace it somehow with a system (lets call it an 'auto xml generator') that intercepts the request to read that file and generates an output, so it appears to all intents and purposes as if the file still exists and contains the contents that has actually been returned from our auto xml generator'
View 3 Replies
Jun 25, 2009
It is possible to make file transfer from air application via server?I think need to create like byte array streaming or somethink like this from sender and write the destination file on receiver user pc.
View 2 Replies
Apr 17, 2011
is it possible in actionscript for the user to type in a box from a keyboard like a user input text box..
View 3 Replies
Sep 28, 2009
how to read the xml in flash in AS2.
[Code]...
View 1 Replies
Feb 25, 2009
I have some text that says go to page with a input textfield box and a go button. This is a flash cs4 file.I want to have the user input the page number and have it go to that frame.I am using actionscript 3.0 and have bought 4 books and researched online and still can't find what I am looking for.I can make the go button go to whatever page I want I just don't know how to get the information the user put in the box.
View 2 Replies
Nov 8, 2009
Id like to find a gallery with user sign in , and user uploads but how difficult would it be to put in a gallery component ,and make a button to allow users to upload straight to a folder on the server? once th epicture is on the server the gallery will do the rest auto
View 1 Replies
Dec 7, 2009
I write a simple xml code, and I try to read the xml file into flash, but I got "undefined" in my output.The codes are as following. Do you know how to sove the problem?[code]...
View 1 Replies
May 26, 2011
I am new to Flash and I have a TextArea I would like to make read-only so the user can not copy and paste the text. Is this possible?
Examples or links welcome I dont mind learning ;)
View 3 Replies
Feb 2, 2009
I have this XML that I need to read into flash. I want to display one of the temperatures in the xml. For instance, say I want to display the temperature for 'Sydney'... how would one go about doing that?
Here's the XML:
<CurrentTemps>
<City Name="Gosford" Temp="23.9" />
<City Name="Sydney" Temp="25.4" />
<City Name="Brisbane" Temp="23.4" />
<City Name="Adelaide" Temp="24.7" />
<City Name="Perth" Temp="21.3" />
<City Name="Melbourne" Temp="22.1" />
</CurrentTemps>
I'm looking for a simple, fast way to display just the temp that I desire, and not all of them.
View 2 Replies
Nov 28, 2007
I have a problem with reading the IP address of a computer through Flash. I know the easy way - by using a php script, but this can't help me for this reason - I've created an embeddable flash component, which is a voting poll. The php files and the flash movie are stored on my server, and an embed code is offered to place the component on other sites. So, I'm using loadVars to call a php file from the server and read the IP of the computer that's voting. The problem is, I think, that the php files are stored on my server, and they read its IP.
View 2 Replies
Nov 26, 2011
This is because I use movie clips within other movie clips.
I wondered if anyone knew a workaround or trick that I could use to get text into google. I have a couple ideas but they're just ideas.
I would like to create an alternate page that is not flash, but a regular html page with all of the text I want google to read inside it. Somehow I use code to tell it that when a user clicks on the link, to redirect them to the flash webpage, but when a search engine sees it, to send the search engine/google to that regular html page, where it will gather all of the text and then that text will show up on google's page when you do a search and my site on google? Even if this was possible, would google frown upon this and ban me or something?
The other idea I have is to use invisible text at the bottom of my page. This will be regular html text that is the same color as my background. But I heard this can get you banned from search engines like google if you are using lots of keywords, but I wouldn't be using keywords. I'd be using the few sentences of content that their stupid crappy technology doesn't read, forcing me to bust my hump trying to find a workaround for. It sucks that google doesn't even use keywords in my metadata for rankings either. So I can't even use that with them.
View 1 Replies
Nov 26, 2011
This is because I use movie clips within other movie clips.I would like to create an alternate page that is not flash, but a regular html page with all of the text I want google to read inside it. Somehow I use code to tell it that when a user clicks on the link, to redirect them to the flash webpage, but when a search engine sees it, to send the search engine/google to that regular html page, where it will gather all of the text and then that text will show up on google's page when you do a search and my site on google? Even if this was possible, would google frown upon this and ban me or something?
The other idea I have is to use invisible text at the bottom of my page. This will be regular html text that is the same color as my background. But I heard this can get you banned from search engines like google if you are using lots of keywords, but I wouldn't be using keywords. I'd be using the few sentences of content that their stupid crappy technology doesn't read, forcing me to bust my hump trying to find a workaround for. It sucks that google doesn't even use keywords in my metadata for rankings either. So I can't even use that with them.
View 2 Replies
Jul 14, 2009
Is there a possibility to read files from flash web application on client HDD form fix location (e.g. D: est) ?
View 3 Replies
Dec 21, 2009
Does anyone know if there's a possibility to read out a .php file in flash? (Like the iFrame in html) Some other webs showed me the 'loadvars' array..
View 7 Replies
Mar 21, 2011
I've purchased this dongle[url]... as a means of reading a value in Flash/AS3 from an RFID card.
I know that I need to connect the device via a Java server. However, the dongle currently appears on my machine as a Keyboard device.
View 3 Replies
Jun 16, 2011
Im having trouble getting flash to read mms.cfg file. This file only contains one line;
[Code]...
Where i believe it should be stored on a 64-Bit Machine. When ever we check the global settings on a flash video the setting still remains on "check for updates automatically).
View 1 Replies
Sep 21, 2009
Say I have an flash object embedded in XHTML like so.[code]...
Can I get to the "/data/something/@whatever" from within my flash app?
View 1 Replies
Feb 28, 2010
I need to read sound stream sent by flash audio in my C++ application (C++ is not a real limitation, it may be C# or any other desktop language). Now flash app sends audio to another flash app but I need to receive the same audio by desktop application.So, is there a standard or best way how to do it?
View 5 Replies
Aug 27, 2010
To read JSON using as3, are there any built in methods? It would be better if we get some code samples.
View 1 Replies