Network.request

Hi guys !

I am trying to show on screen this code event.bytesTransferred

like that :

              Status = display.newText( sceneGroup , event.bytesTransferred , 0, 0, font, 27)
              Status.x = display.contentCenterX 
              Status.y = 820
              Status:setFillColor( 0, 0, 0 )

the bytes are written upside down, (on top of each other)

anyone know how to do it normally.

You ought to share all of your code with these sort of issues.

Most likely your issue is that you are just repeated recreating a variable called Status. You should create your display object first and then update its text along with the event updates.

See:

thank you very much !

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.