List:General Discussion« Previous MessageNext Message »
From:Dan Greene Date:November 25 2003 3:32pm
Subject:RE: Searching for a realtime progress bar that uses mySQL and Flash?
View as plain text  
yo yo yo, 

another phat option is to create another page on your system that returns the % number,
and using flash, call that url and parse the results, and update your flash chart
accordingly.  We've done similar things to have flash talk to our systems (set up web
pages that return xml rather than html, then the flash works off the xml).  Think of it
as web service eye for the lazy guy... :)



> -----Original Message-----
> From: TheMechE [mailto:TheMechE@stripped]
> Sent: Tuesday, November 25, 2003 10:24 AM
> To: Tom Horstmann; mysql@stripped
> Subject: RE: Searching for a realtime progress bar that uses mySQL and
> Flash?
> 
> 
> Ok here is the soluction. Feel me, yall, this is the winner 
> of the prize.
> 
> You see, it is an uncommon operation, but you CAN have a JavaApplet
> call a method on your window object.  By having the java applet gain
> access to its window object, you can drill down into the
> 
> if(window.methodName==true){
>   window.methodName();  // then call
> }
> 
> THUS... you have an invisible java applet on the page 
> tunneling on an http
> port to get
> the data dynamically, totally secure because its hitting an http port.
> (Well, no less secure than anything else coming out of a 
> browser. 'wink')
> 
>  THEN,
> 
> you have a simple table on the page ( and this can have 
> several methods of
> display ) you can
> have a table with 100 1pix cells that you change the bgcolor on.  Or A
> string of graphics that
> you toggle their source, it doesn't matter, the point is that 
> the DISPLAY is
> controlled by
> the javascript method
> 
> function update(myPercentageComplete){Change display here 
> based on imput of
> it}
> 
>    ... which is CALLED by the applet.  But you don't use the applet
> to actually hold anything in the HTML, ( it exists in a blank 
> cell at the
> bottom of the page. )
> 
> heh.  Dig it. yup yup.
> 
> -----Original Message-----
> From: Tom Horstmann [mailto:mail@stripped]
> Sent: Tuesday, November 25, 2003 4:26 AM
> To: mysql@stripped
> Subject: RE: Searching for a realtime progress bar that uses mySQL and
> Flash?
> 
> 
> >  I disagree, you can restrict access to SELECT only
> 
> Sure, but no access is much more secure than restricted access.
> 
> > and plus
> > any normal form
> > on a web page has access to a DB in much more insecure ways
> > (SQL injection,
> > etc.),
> 
> What you consider insecure should not been written directly to
> a database. The form is processed by a server-side executable
> which should check incoming data before writing.
> 
> > and as I said, it must be a 'real-time' progress meter without
> > refreshing the .php/.html page.
> >
> > Javascript is not able to query the DB.
> 
> Of course it is not:) As Flash is not. Nothing client-side is able
> to without something server-side. But it is able to connect to a
> server and therefore able to load data from there. Only makes
> sense with http-connections - what result in some kind of refresh -
> but refreshing the whole page is not needed.
> 
> Considering Flash you should have a look at
> http://www.macromedia.com/support/flash/action_scripts/actions
cript_dictiona
ry/actionscript_dictionary425.html

Regards,

TomH


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=1



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=1

Thread
Searching for a realtime progress bar that uses mySQL and Flash?Daevid Vincent25 Nov
  • RE: Searching for a realtime progress bar that uses mySQL and Flash?Tom Horstmann25 Nov
    • RE: Searching for a realtime progress bar that uses mySQL and Flash?Daevid Vincent25 Nov
      • RE: Searching for a realtime progress bar that uses mySQL and Flash?Tom Horstmann25 Nov
        • RE: Searching for a realtime progress bar that uses mySQL and Flash?TheMechE25 Nov
  • "--with-debug" optionStefaan Van Dooren25 Nov
    • Re: "--with-debug" optionBoyd Gerber25 Nov
      • RE: "--with-debug" optionStefaan Van Dooren26 Nov
RE: Searching for a realtime progress bar that uses mySQL and Flash?Dan Greene25 Nov