theonlyhugeg 0 Newbie Poster

thanks rajarajan! your method works and with some changes i was able to use it for my virtual tour. thanks a lot.
thanks a lot also to jasonhippy for your help. feel welcome to still post your solution if you have already worked one out. it would be interesting to see how this problem can be approached in different ways. and also some people out there may need one way or another.
anyway thanks a lot guys for your help :)

theonlyhugeg 0 Newbie Poster

thanks a lot for taking a look at it! :)
let me know if you figure out whats wrong.
sorry for taking up so much of your time.. but i really appreciate the help:icon_smile:

theonlyhugeg 0 Newbie Poster

thanks again.
i have done as you said (i think). however still no success. i have attached the files (sorry cant include the .swf into the attachement...wont let me for some reason) in both cs3 and cs4 format. i hope you can take a look at them and tell me whats wrong? (just made quick buttons. black one is supposed to load it and red one to unload it) btw notice that i used a different panorama. now named SSIS3_out.swf
however if you do need the panorama, i have uploaded it to rapidshare. you can use the link if you like to download it. its only 3.5mb
http://rapidshare.com/files/284917995/SSIS3_out.swf.html

thanks a lot.
by the way, you understood my problem perfectly :)

theonlyhugeg 0 Newbie Poster

thanks for your help :)
however i seem not to fully understand. sorry. so i have made a button on stage and given it the following code:

on(release)
{
_parent.createEmptyMovieClip("external_mc", _parent.getNextHighestDepth());
_parent.external_mc._x=300;
_parent.external_mc._y=300;
_parent.external_mc.loadMovie("foyer_pano.swf")
}

till there i think everything is clear. but then i get lost. what do you mean with
"// Now would be a good time to add an instance of a button to remove the panorama clip
// we'll add it to a new layer in the parent of this button......
// Note: you'll need to have your button item set up in your library so it's linkage
// is set to 'export for actionscript"?
can you please try to explain it in a bit more detail? sorry im not very good at this. im not sure whether that means im supposed to make a new button on my layer or inside the button?
and what do you mean by this "// finally we'll set up some script on the 2nd buttons onRelease function
// to remove the panorama and itself from the stage."?
please help me out :) im very happy im getting some help

theonlyhugeg 0 Newbie Poster

ok i'll try to explain it simply and clearly. i have looked for a solution for a long time but they either didnt work and were too complicated for my little skill.
so i have a main .swf which im working on. i then have buttons which when clicked, launch a panorama. the problem is that this panorama is created with a 3rd party program and is a .swf. now. i curretly have the follwoing script to launch the panorama

on(release){
loadMovieNum ("foyer_pano.swf", _root)
}

however this opens the swf in a new tab of my web browser. now that is not too bad, but i would like and it would be much better if the panorama would open inside my current swf. i remember i managed to do this. (sorry i forgot the code for it!!!) but when this was done, it would cover all my other buttons. i tried different things with changing levels and those sort of things, but nothing seemed to worked. (i was able to display a button on top of the swf but its AS woudlnt work)

does anybody know how to do this? can someone explain it quite simply and in detail? i just want to load an swf in my project, and have a button on top of it with which i can unload this swf. (note that i cannot edit the settings of the panorama swf except for its size and dimensions and stuff, i cannot add a …

theonlyhugeg 0 Newbie Poster

hi
i figured out how to do it. i used a different method... i dont think its as accurate as yours, but its not really important... in basketball the milliseconds are just there to look cool lol.
anyway thanks for your help:)
im using this code right now

Option Explicit

Dim EndTime As Single
Private Sub Form_Load()
Timer1.Enabled = False
End Sub
Private Sub Command1_Click()
Timer1.Enabled = Not Timer1.Enabled
 If Timer1.Enabled = True Then Command1.Caption = "Stop"
        If Timer1.Enabled = False Then Command1.Caption = "Start"
  EndTime = (Timer + 8 * 60) Mod 86400
  Timer1.Interval = 20
End Sub

Private Sub Timer1_Timer()
Dim CtDn As Long
  CtDn = (EndTime - Timer) * 100
  If CtDn < 0 Then
    If CtDn < -1000 Then 'bit of faff to avoid over midnight countdown
      CtDn = CtDn + 8640000
    Else
      Label1.Caption = "0:00:00"
      Beep 'or somesuch
      Timer1.Interval = 0
      Exit Sub
    End If
  End If
  Label1.Caption = Format((CtDn \ 6000) Mod 60, "0:") & Format((CtDn \ 100) Mod 60, "00:") & Format(CtDn Mod 100, "00")
End Sub
theonlyhugeg 0 Newbie Poster

hi Jx_man i've already been on the thread before. i did everything as you previously explained
but when i click on the button nothing happens.
at the bottom at the page someone posted a finished application which can do screenshots. this one works fine to just capture one small part of the screen (takes a screen shot of the application including the blue bar on top) but when i chose to capture full screen nothing happens.
as you wrote the code already in the forum there is no need to rewrite it, but if you could maybe explain it or maybe tell me what im doing wrong that would help a lot.
thanks

theonlyhugeg 0 Newbie Poster

you need to implement some drawing api's

i've searched quite a lot and found nothing which actually works and captures the whole screen not just the form. there seem to be some working tutorials but only for windows 98... im on xp...
anyone know how to do this??
thanks
:)

theonlyhugeg 0 Newbie Poster

hi everybody
im working on this little application for myself... when its done i want it to take screen shots of the entire screen at a given time. like every hour for example.
right now im still stuck on the fist part. how to you take a full screen screen shot? anyone know? i know the crtl + PrtSc option, but i want to make an application which can do it by itself.
so far i only found
public sub command1_Click()
Me.PrintForm
End Sub
but thats no use as it only takes a picture of the application. i need the whole screen.
please help. have been trying to figure out for days...:-/
thanks in advance!!
:)

theonlyhugeg 0 Newbie Poster

hi
i noticed now that this forum is for vb 6... but thats no problem. i just downloaded n installed that and your code works fine! thanks! one question though... now the count is going up...like its adding time and its starting from a number like 1774796... how can i make it actually count down and start from 8 minutes??
:confused:
thanks a lot
appreciate your help :)

theonlyhugeg 0 Newbie Poster

hi everybody!
im in a basketball team n my coach asked me to make a scoreboard program for the huge screen we have (he knows im the only one from the team that does some programming)
im using Visual Basic 2008.
i pretty much know how to do everything except for the countdown timer which has to count down all the way from 8 minutes to 0. it would also be nice if it makes a beep when it reaches 0. so here's the problem. i know how to make a simple timer with seconds. but how to put minutes n milliseconds?? it should look like this
minutes:seconds:milliseconds
someone please help!! im desperate
thanks in advance
:) :)