Skip to main content
Participating Frequently
March 14, 2007
Question

Stock ticker

  • March 14, 2007
  • 7 replies
  • 674 views
Does anyone know how to incorporate this simple php script in a flash movie:
This topic has been closed for replies.

7 replies

Participant
August 21, 2007
Thank you for the reply!

I was wondering if this could be customized by displaying the stock symbols of my choice. But I've since discovered I can use this on our internal servers.

K
kglad
Community Expert
Community Expert
August 21, 2007
it should be attached to a frame.

do i know how to add stock symbols to what? a flash textfield? retrieve them via php?
Participant
August 20, 2007
Does the actionscript go on its own frame or applied to the component?

Also, do you know how to add various stock symbols?
kglad
Community Expert
Community Expert
March 15, 2007
you're welcome.
m_u_rAuthor
Participating Frequently
March 15, 2007
Brilliant! Thank you so much.
kglad
Community Expert
Community Expert
March 14, 2007
the information is displayed in a dynamic textfield that has instance name yourTF and that textfield is html enabled.
kglad
Community Expert
Community Expert
March 14, 2007
use the LoadVars() class to sendAndLoad() to your php script. replace that echo statement with a print "mostRecentTrade=$contents[1]&todaysChange=$contents[4]";

and then reconstitute that echo in flash using the string methods.
m_u_rAuthor
Participating Frequently
March 14, 2007
Huh? . . . .

Sorry, I'm new to Actionscript. Can you be more specific about the steps to do this?