Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Can you turning a flash clock off/on with a button instead??

  1. #1
    Constant Bitrate Sweet05's Avatar
    Join Date
    Apr 2006
    Posts
    186

    Can you turn a flash clock off/on with a button instead??

    The title pretty much says it all.

    Can a flash object (clock) be turned on/off by using a skin button somewhere else in the screen to send some command instead of clicking on the object itself?

  2. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    Flash is kind of an oddball to deal with.. once it's setup, all I can pretty much do is Show or Hide it, but that DOES NOT prevent it from running. I could add a command to Hide/Show a flash object, but that's it, won't make anything faster/slower, it'd just hide/show the object (visually) -- and I'm unsure of the results.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  3. #3
    Constant Bitrate Sweet05's Avatar
    Join Date
    Apr 2006
    Posts
    186
    That is really all I am looking for. Like the clock in CFX it is not visable then if you click on the screen where it should be it is visable. Clicking again makes the clock not visable. I was just woundering if this on/off type behavior can be done by using a button instead of actually clicking the object.

  4. #4
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    I can add that easily.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  5. #5
    Constant Bitrate Sweet05's Avatar
    Join Date
    Apr 2006
    Posts
    186
    So you can't do this with flash then?

  6. #6
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    Quote Originally Posted by Sweet05
    So you can't do this with flash then?
    what do you mean ? I thought you wanted hide/reshow a flash object in the skin from a normal button ?
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  7. #7
    Constant Bitrate Sweet05's Avatar
    Join Date
    Apr 2006
    Posts
    186
    Yes, but I was just curious if this could be done with flash alone. (i.e skin button with the command "clickonflashobject" or something or mabye even "sendkey F4") to simulate me clicking the flash object which on some flash objects turns the on/off or show/hide wichever you want to call it. This would be hard coded into the object it self not RR. Basically can flash accept outside commands. And I would like it if clicking on the object does nothing.

    Oh wait, I just had an idea on how to do this with switchlabel instead, as it will just be a digital clock hmmm......

    Here are a couple pics to show exactly what I am talking about:

    Clicking the "CLOCK" button in the top right of this screen.....
    Name:  screen_4.jpg
Views: 162
Size:  53.9 KB

    ......Displays this screen.
    Name:  screen_19.jpg
Views: 185
Size:  96.6 KB
    Clicking the clock button again goes back to the first screen.

    Clicking on the clock itself while hidden or shown should do nothing.

  8. #8
    Maximum Bitrate DiNASTY's Avatar
    Join Date
    Mar 2005
    Location
    Concord, California
    Posts
    598
    You can use SETLABEL or SWITCHLABEL and monitor those customlabels in flash, however there is about a 1 second delay between label updates in RR (because RR needs this to function properly i think??)

    Anyways, It has been attempted by myself and others and I think it's safe to say that it's just a bit too slow for most.

    As for getting the clock to not respond to clicking, I'm afraid you will have edit the press events out of the code for that. If you plan on creating your own clock you could just leave that out.

    So my suggestion would be to make the clock button in the top left part of a 800x600 flash movie with the surrounding area empty. The empty space will be transparent and you will be able to click through it. Then, when the clock button is pressed, it will pop up the clock on the time-line and so on...

    Alternately, (if I'm understanding you right), you could just call a 800x600 MENU skin with the flash clock on it and "pink" out the surrounding. Then have a full 800x600 EXIT button covering the entire MENU skin. If you are using Tissy's, LS's, or my clocks, the clocks will still toggle when clicked, but if you click outside the clock it will close it.
    Beer is proof that God loves us and wants us to be happy Benjamin Franklin

  9. #9
    Constant Bitrate Sweet05's Avatar
    Join Date
    Apr 2006
    Posts
    186
    Thanks DiNASTY I have been in touch with Tissy on this subject but I wasn't really sure exactly what I wanted but you anwsered my questions. The clock is just a simple digital display so I am just going to use switchlabels and leave out the flash object all together.

  10. #10
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    Quote Originally Posted by DiNASTY
    You can use SETLABEL or SWITCHLABEL and monitor those customlabels in flash, however there is about a 1 second delay between label updates in RR (because RR needs this to function properly i think??)

    Anyways, It has been attempted by myself and others and I think it's safe to say that it's just a bit too slow for most.
    I can add a command to set a variable in flash directly and immediatelly when executed. Then the speed would only depend on how fast your flash script monitors and executes the change. You should just have said something.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

Page 1 of 2 12 LastLast

Similar Threads

  1. Relocating computer power button
    By King_Xerxes in forum General Hardware Discussion
    Replies: 8
    Last Post: 02-21-2007, 09:15 PM
  2. Replies: 2
    Last Post: 04-04-2005, 03:45 PM
  3. button repeating bug?
    By scott_fx in forum Centrafuse
    Replies: 3
    Last Post: 02-23-2005, 11:35 PM
  4. PC power button problem
    By BMp3W in forum Power Supplies
    Replies: 4
    Last Post: 10-12-2002, 02:36 AM
  5. Turning on Computer with alarm clock + relay...
    By Machs_FueL in forum Off Topic
    Replies: 2
    Last Post: 08-28-2002, 01:21 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •