Page 1 of 1

Dynamic Load

PostPosted: Mon May 12, 2008 12:46 pm
by riobros76
This is a tutorial that lacked
with a loading bar, music and percentage

For you friends.

http://www.mediacompoint.it/amitaly/tutorial/dynamicload.zip

PostPosted: Mon May 12, 2008 1:43 pm
by GM-Support
Thanks

PostPosted: Mon May 12, 2008 1:58 pm
by Imari
Very nice, Ros! Once again, thank you.

PostPosted: Mon May 12, 2008 9:27 pm
by Mystery
Thanks riobros :D

PostPosted: Tue May 13, 2008 7:37 am
by Lyberodoggy
Hehe! Nice! Thanks a lot.

PostPosted: Tue May 13, 2008 2:34 pm
by Imari
I think that I've found all of the "pieces" that make up what Rosario's done, but I have a question for someone who understands how this is done. What exactly is being timed in his code below? Thanks.

Code: Select all
Sub Carica()
Hotspot(1).width= lod
Text(1).caption=int(lod/45)&"%"
lod=lod+35
If lod > 4550 then GoToFrame "A1",1,1
End Sub

PostPosted: Tue May 13, 2008 3:08 pm
by riobros76
Hello Imari, :P

Sub Carica() 'Call the sub from frame Start -> Prop. -> Advanced

Hotspot(1).width= lod 'setup width <-> of hotspot = 1 (go in Project propierties -> Advaced)


Text(1).caption=int(lod/45)&"%" 'Show text top hotspot for number and percentuage and divides for 45

lod=lod+35 'Add +35 in width hostspot for every second. This is method enhances hotspot for infinity

If lod > 4550 then GoToFrame "A1",1,1 'This line stop infitnity +35 and when then arrives to 4550 (45.5*100) go in the frame A1

End Sub 'Close the sub


-------------------
Sorry for my English

PostPosted: Wed May 14, 2008 4:43 am
by Imari
Thanks, Ros. That helps. :D

PostPosted: Sun May 18, 2008 11:37 am
by riobros76
Thanks :wink: