how can 2.6 alter to 2.49 editions??

how does python dynamic paste the chart is originally 2.6 must alter to 2.49 editions??

import bge
from bge import logic
from bge import events

import VideoTexture

cont = bge.logic.getCurrentController()
obj = cont.owner

sensor = co.sensors[“Keyboard”]
sensor.key = bge.events.F1KEY

k = logic.keyboard

a = k.events[events.AKEY]
s = k.events[events.SKEY]

if not ‘texture’ in obj:
mat = VideoTexture.materialID(obj, ‘IMgfish.png’)
obj[‘texture’] = VideoTexture.Texture(obj, mat)
obj[‘file’] = ‘gfish.png’
obj[‘changed’] = 0
else:
if obj[‘changed’]:
path = logic.expandPath(’//’+obj[‘file’])
#breakpoint(locals(), path)
obj[‘texture’].source = VideoTexture.ImageFFmpeg(path)
obj[‘changed’] = 0
obj[‘texture’].refresh(True)

if a == 1:
obj[‘file’] = ‘ink.png’
obj[‘changed’] = 1
#print(“Key A”)
elif s == 1:
obj[‘file’] = “gfish.png”
obj[‘changed’] = 1

Just look at both APIs. Or -get 2.4x and 2.5x and look at the script examples. That should spell it out clearer than I can. [primarily data set/get parts, and thata 2.5 uses python 3.x instead of python 2.x ]

???

Nobody may help me?? 2.6 alter to 2.49….

[off topic]

delete pm from your inbox.
thanks.

i’ve uploaded the file you wanted…!!!