ActionScript 3.0 :: Post A Stock Price On A Swf Webpage?
Jan 13, 2012
Looking for help! I need to post a stock price on a swf webpage. The stock symbol SNA.V is only available from yahoo finance (as far as I can tell). It's a Canadian company traded only on TSX. Anyway, I need a way to display the current stock price and have it refresh by itself. Yahoo finance offers a widget, but does not support most international codes. I don't need anything other than the current price in text. I can get flash to retrieve the external text from [URL].. - but, I can't get it to refresh on its own - also, the swf won't access the external source once it's online (just displays a security warning). I'm looking for any ideas to work around this issue.
View 11 Replies
Similar Posts:
Mar 29, 2009
I would like to know if it is possible in flex to do the following actions. I have made an HTTPService to a MySQL database, table: orders_open and it has columns
Id | product | price | units | total_price | customer | waiter | printed | paid_cash | paid_card | date
The datagrid is filtered by the customer column. Default value of | printed | paid_cash | paid_card is 0
1)How can I make flex take the price and units and calculate automatically the total_price? In the datagrid and update the database lines when I save.
2) Sum up all filtered total_price �s and give the bill_total in a text field
3) When paid, print the ticket | product | price | units | total_price | and the bill_total in a printer
My code has been created by Flex (create application from database)
View 1 Replies
Sep 15, 2009
I have a webpage that accepts POST variables, I can post normal variables to it from flash like this:
Code:
lv = new LoadVars ();
lv.myvar1= "test1";
[code]........
View 1 Replies
Feb 8, 2009
I'm making a contact page in as3 and I need some help. How do I send post data to a php page on this web page http://parallels.fm. Basically I have three dynamic text fields and a submit button. If I can send post data from that page to a php page that would be great.
View 1 Replies
Dec 11, 2011
I want to open a web page on the same tab when the user clicks a movieclip. I'm using this method:
var url:String = "http://www.google.com";
var request:URLRequest = new URLRequest(url);
try {
[Code]...
how to open it sending POST vars. Is that possible?
View 2 Replies
Jul 21, 2011
I'd like some changes to the config to be persisient though.
I've created an AMI (built using the stock CenOS 5.5 and FMS 4.02 AMI's Kernel ID and RAM disk ID) but when I launch it says the "AMI and kernel are incompatible" or similar.
View 6 Replies
Nov 11, 2008
I've created an horizontal sliding stock ticker that uses a xml feeder provided from another site.The ticker is now working fine if preview it doing ctrl + enter or if I see the swf with the flash player. The Problem comes when I want to preview it with F12 the browser shows me a warning that says something like this (the original text is in spanish)"adobe flash player has stopped this opration bc it may be not secure ...."I also can not see the swf file when online Here it is the code I'm using
[code]...
View 2 Replies
Dec 17, 2009
I am trying to setup a way to sell my music downloads through paypal with a "name your price" method.I want to use a textinput component. If the person types 0 (zero), it will take them to the DOWNLOAD PAGE. If they type in any other positive number, it will take them to paypal with that amount as the unit price.This is an editable link to a paypal item:URL...[code]within that link, there is a code for the price. it its "amount=1234" is there any way i could make it that whatever the person types into the textinput will be put into that code and then they are sent to that link?
View 1 Replies
Aug 22, 2010
I've got an annoying little problem with recreating a RTS style interface, specifically with selection and issuing movement commands to units. It's goes something like this...
[CODE]...
The idea is that you click on the tank to select it (a new listener is added) and then you click again elsewhere on the screen to tell the tank to move/shoot whatever (the new listener is acted upon). However what actually happens is that when you select the tank, the listener for "handleOrder" is added but is then also immediately executed..!? How, why, what the f.
View 4 Replies
Feb 2, 2010
If there is any XML feed available for Stock and Weather. I googled a lot but couldn't find free XML feed providers.
View 3 Replies
Sep 15, 2009
I have created a Flash price slider which when you scroll up and down the number in a dynamic text box changes to suite where you are on the slider (when you release it).I am using this code:
this.price=0 ;
dragger.onPress=function(){
this.startDrag(true,0,0,line._width,0);[code]........
View 0 Replies
Sep 21, 2009
how to create price strings from numbers.E.g. a product could have a price of 25.50. however this will show as 25.5, as it removes the 0.I would like to convert this number (25.5) to a string, and format it as a price, e.g. "25.50"In C#, its easy, you just do .toString("0.00");but i can't find any way of doing it in Actionscript. Is there an easy way or do i have to do some string splitting and such?
View 2 Replies
Jul 16, 2009
Im building a reservation form, using actionscript and php. I use sendAndLoad to send variables to php via POST, which returns a different HTTP POST response in case of sucess or not.
Is there anyway to "read" HTTP POST responses with actionscript?
View 4 Replies
Jul 15, 2010
I am making dynamic post values to post to a URL.
[Code]...
Maybe I am doing this the hard way with eval, is there an easier way, such as passing an array of post variables?
View 3 Replies
Mar 2, 2012
how to create a live RSS stock exchange feed using AS2
View 2 Replies
Sep 10, 2010
Does anybody know where could I find source code for stock ticker (like ticker on CNN)?
View 2 Replies
Feb 18, 2010
So i want to make a form which people can use to get price quotes immediately. There will be about 15 fields. I have 'some' clue as to how this 'might' be done. The 'if' statement could be used. But that sounds like a lot of combinations and a lot of scripting. I would also like them to be able to send the form to my email if they want.
Now i know how to script the basic forms.. eg. contact forms.. etc. with php and all. So once they've selected specific info from the fields, i'm sure i can have it sent into my inbox. But I don't get how to do the main thing (the price quote display - according to the information selected). Will it have to be XML based? Something to do with a database? Or what?
View 2 Replies
Aug 28, 2010
I am trying to show BOTH the date and the time in Flex 3.5 Stock HOLC (high, open, low, close) Chart. This data shows up but not in the correct format... Problems:
1. The time are out of whack.. they do not line up with proper time.. (is it because they are not military time)?
2. The dates (days) do not show up on the bottom labels are all, is there a way to make this happen?
3. The times show up with large gaps... in the 24 hour period... Is this always the case when the data is not there for the time? Or, can I disable specific time periods like is possible with "disable days"
[Code]...
View 1 Replies
Apr 10, 2009
I was wondering if anyone knew of a place to download stock collada files relatively inexpensively. I am not looking to create anything to sell, just trying to learn and practice using them with PV3d.
View 1 Replies
Mar 8, 2010
I have some stock footage of smoke on a black background (.mov format) that I would like to convert to a flash file with a transparent background, which I will be overlaying over a PNG image on a webpage.
I have managed to remove the black background in After Effects using a plugin called UnMult, but when I try to render as a FLV file in AE, even though I check the option to preserve the alpha channel and encode using the On2 VP6 codec, I still get a black background.
So I am wondering what else to try, whether it be with AE or Flash CS4. Is there a way of achieving this effect by directly importing the MOV file into Flash CS4 and removing the black background there, or do I have to use AE, and if so, how to achieve the effect I am looking for?
View 1 Replies
Nov 12, 2010
i've been reading that XML/E4X is very slow with AVM2 / ActionScript 3.when supplying an application with XML data, is it always generally a better idea to parse the XML object into an array of objects to call rather than using E4X with the stock XML data?
View 2 Replies
Jan 18, 2012
I am trying to implement Stock Charts in my Mobile application created in flex.what i need to implement is the cross hair as seen in [URL] how this can be achieved.
View 1 Replies
Sep 8, 2006
I am trying to sort XML data based on an attribute "price" (or p). I'm trying to sort the prices numerically so that, for example, 1230.00 does not show up before 19.00. I have defined a preliminary price sort function as follows:
[Code]...
How do I edit this function so that the prices will display in numerical order rather than string value order?
View 4 Replies
Aug 21, 2009
will post the code if concatenate a string to be a price?
View 2 Replies
Dec 17, 2009
I am trying to setup a way to sell my music downloads through paypal with a "name your price" method.I want to use a textinput component. If the person types 0 (zero), it will take them to the DOWNLOAD PAGE. If they type in any other positive number, it will take them to paypal with that amount as the unit price.
This is an editable link to a paypal item:
https://www.paypal.com/cgi-bin/websc...item_name=item name&amount=1234%2e00¤cy_code=USD&button_sub type=products&no_note=1&no_shipping=1&rm=1&bn=PP%2 dBuyNowBF%3abtn_buynow_SM%2egif%3aNonHosted
within that link, there is a code for the price. it its "amount=1234" is there any way i could make it that whatever the person types into the textinput will be put into that code and then they are sent to that link? some people recommended php and html, but i feel like i could do this in flash.
View 2 Replies
Nov 6, 2011
I'm writing a Flex application that uses HTTPService to communicate with a php script, in order to do a query on a database.Everything works fine if i use a GET request, but it doesn't work with POST. For some odd reason, the php script is actually receiving a GET request instead of POST. Also, it seems not to carry the parameters that i sent from the flex app.Here is a part of the Flex code:
<mx:HTTPService id="userRequest" url="url"
useProxy="false" method="POST" result="checkTransmissionCode()">
<s:request xmlns="">[code]....
I've already found some other threads of people with a similar problem, but none of them helped me with this...
View 1 Replies
May 1, 2009
PHP Code:
var req:URLRequest = new URLRequest ("http://localhost/SE/processimage.php");
var vars:URLVariables = new URLVariables ();
vars.awd = "awd";
[code]...
When I load that url the variable is sent using the GET method instead. It appears in the url in the browser and the browser shows an error first then "awd", meaning it worked for $_GET. I tried both req.methods and tried adding "_self" and "_blank" and also on different browsers. It still uses GET.
View 2 Replies
Oct 23, 2009
I need to post a couple of screen shots to illustrate a tweener issue.How do I put inline images in a post?do you attach them, then use the IMG tag?if attached do you just use the filename in the tags?
View 2 Replies
Oct 28, 2009
I have a flash site which draws from an XML file for loading images. The jpgs work fine but nothing shows up when I try to load the PNG files. Does flash not support it?
View 1 Replies
Jan 19, 2010
How can I post a URL, for example[url]...
Without opening another window or refreshing the page? (within the flash movie)
View 11 Replies