Hello.
This is a movie done on Macromedia Director that all the information comes from an access database. We're using the XtraDataGrip.
All the data are save on external casts and the records on access only have the path:
This code works fine to give one video:Code:videos.CST/aseguir.mov
Now we want the same but giving 3 images.Code:myDBValue = dGRSGetFieldValue("video" rsvideo) str = the itemDelimiter the itemDelimiter = "/" myCast = myDBValue.item[1] myVideo= myDBValue.item[2] the itemDelimiter = "." myCast = myCast.item[1] myVideo = myvideo.item[1] the itemDelimiter = str set the member of sprite 12 to member (myvideo,myCast)
This is the sql query:
And the final code:Code:set sqlString="SELECT imagem FROM (gesto INNER JOIN imgpicto ON gesto.IDgesto = imgpicto.IDgesto) WHERE gesto.Designacao Like '" & pesquisa & "'" set rsImagem = DGCreateRecordset(sqlString, dbHandle)
This code gives 3 images but the same one. How can we tell lingo to retrives the 3 different images that are on DB?Code:myDBValue = dGRSGetFieldValue("imagem" rsImagem) str = the itemDelimiter the itemDelimiter = "/" myCast = myDBValue.item[1] myImage = myDBValue.item[2] the itemDelimiter = "." myCast = myCast.item[1] myImage = myImage.item[1] the itemDelimiter = str set the member of sprite 18 to member (myImage,myCast) set the member of sprite 19 to member (myImage,myCast) set the member of sprite 20 to member (myImage,myCast)
Thank you.![]()





Bookmarks