Can't get a persistent code to loop independent from frame.
Hi.
I need some "security" code to run consistently with set intervals (for example, run once each minute). I am developing a program that needs to have the USB pen inserted to avoid multiple computers using the same USB. I know how to check for the USB, but the problem lies in making it check each 60 seconds. I already tried this:
on exitframe
if the timer > 60 then
checkUSB()
startTimer()
end if
end exitframe
And it only gets triggered in that frame (which makes sense), and I need it to be triggered from any place as long as the movie is running.
Is there a way to make a code run independently of whatever frame the movie is on? I can add an invisible sprite to the stage with a "on exitframe me" behavior, but that sounds like a sorta dumb workaround. Is there a better one?
I'm using DirectorMX 2004 in Windows 7.
Thank you.
Marco Roberto.
Use a timeout object. The help file in Director is particularly terrible with respect to the syntax for timeouts, so I would recommend that you read this article which describes their use very well:
http://www.director-online.com/dougwiki/index.php?title=TimeOut
Basically, on startMovie (or whenever you want to start monitoring the USB key), you would add code to create the timeout. This would call a #movie script every second (or whatever interval you want).
Similar Messages
-
How can i get the source code from java concurrent program in R12
Hi 2 all,
How can i get the source code from java concurrent program in R12? like , "AP Turnover Report" is java concurrent program, i need to get its source code to know its logic. how can i get its source code not the XML template?
Regards,
Zulqarnainuser570667 wrote:
Hi 2 all,
How can i get the source code from java concurrent program in R12? like , "AP Turnover Report" is java concurrent program, i need to get its source code to know its logic. how can i get its source code not the XML template?
Regards,
ZulqarnainDid you see old threads for similar topic/discussion? -- https://forums.oracle.com/forums/search.jspa?threadID=&q=Java+AND+Concurrent+AND+Source+AND+Code&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
How can I use a SCH-LC11 device in CHINA which bought from ebay. I am not Verizon customer but I prefer to using your 4G LTE Router . How can I get the unlock code? The device may have a bad ESN but I only use it in CHINA. Kindly looking forward your reply. Thanks!
It's good to read Antoniad's post. It reassures me that I can use my new iPad as an international communication device which is the reason I purchased the thing. However, I called Verizon today (my provider of cellular data) who told me that I can't just pop in a SIM card as you suggested. He also said that he was from the "Pre-Pay" division of Verizon and he was certain that I couldn't do what I planned to do. I was extremely disappointed as I had called Apple prior to buying the iPad and I read the algorhythm on the website for choosing an iPad before purchasing. Those sources were quite specific and the information seemed clear. I would be able to use my iPad to communicate through cellular connections while traveling on the road, literally, abroad. I was told that I could pop in a data card wherever I was, just as you indicated in your message above, and voila I was good to go. The Verizon rep definitively rained on that parade, but said that I might be able to do this if I have a "Post-Pay" account, a different area of Verizon. I haven't had the chance to talk to this division yet, so I looked to Apple's Support for answers. Maybe I will find out that I can use my iPad as an international communication device while traveling on the road afterall, however, it appears I may need a different type of account (Post-Pay), something I was never warned about. Can I switch to this kind of account? I don't know. I have to find out. If you have any information about this issue, it would be good to share since I strongly suspect there are others who bought the iPad for the same purpose that I have.
-
How can I get the HTML codes in illustrator?
Hi, I am a graphic designer, and I am getting into the web world, I wanna know how can I get the HTML codes to upload a web design made using Illustrator,...¡?Does any one know?Please let me know...
everyone here is right, dreamweaver is better and you will need to understand html for this to work. HOWEVER, you can make a functional website using just illustrator and notepad (or text edit if you're on a mac).
Design your site in illy, slice it up with the slice tool. http://s23.postimg.org/mv311kpp7/test_illy.jpg
Save for web and select html and images, you'll get an html file and an images folder. Open the HTML file in your text editing program and it will look like this: http://s10.postimg.org/f32nf6r2h/html_stuff.jpg you'll have to know HTML codes but you can find tutorials online for most stuff, you'll just have to figure it out. In my fake site, i linked a button to google so i had to add <a href> tags to the code. http://s22.postimg.org/5avpadhch/a_href.jpg save the html file and open it in your web browser, hopefully not IE. You can't tell in the picture but the middle button actually does link to google. http://s21.postimg.org/qd77slqmf/firefox.jpg -
My Mountain Lion app failed while downloading, and now I can't download it without repaying for it. How can I get my access code to work/download the app?
Welcome to Apple Support Communities
Open App Store, select Account in Quick Links and press Show hidden purchases. If OS X isn't there, http://www.apple.com/support/mac/app-store/contact -
Where can i get my PUK code?
where can i get my PUK code?
Hi You need to contact your network service provider For your PUK CODE. Cheers Brian
-
I have entered the wrong numbers to put my phone in pass code lock. However, I didn't set the autolock....how can I get the pass code lock reset?
Your only choice is to place the phone in DFU mode (search Google for instructions) and restore as a new device. You will lose all your data.
-
In itunes Store. Trying to purchase music, it sends me to verify my acct info, I do that, hit done, it asks if I still want the purchase, I select Yes and it sends me back to verify billing information. How can I get out of this darn loop and make my purchase?
Hi itunes for windows,
If you are being repeatedly prompted to authorize iTunes, even after you have already done so, you may find the following article helpful:
Apple Support: iTunes repeatedly prompts to authorize computer to play iTunes Store purchases
http://support.apple.com/kb/ts1389
Regards,
- Brenden -
How can I get the PUK2 code on my C7-00
My PIN2 CODE blocked.
How can I get the PUK2 code?
Thanks
Solved!
Go to Solution.Refer Pg. 122 / 123 of the User Guide
-
How can i get a activation code sent to my email again for my apple id?
How can i get a activation code sent to my email again for my apple id?
No idea what you are asking
see if you can the answer here
http://www.apple.com/support/appleid/security/ -
How can I get a verification code for Photoshop Elements 7 ?
I CAN NOT GET A VERIFICATION CODE FOR PHOTOSHOP ELEMENTS 7
SO I CAN SEND EMAIL WITH PHOTO. WOULD SOMEONE TELL ME HOW
TO GET THE VERIFICATION CODE. I HAVE TRIED REPEATABLY TO
ADOBE WITH NO RESPONSE.
CHARLES TODD
Email: [email protected]I am talking about that when I try to share a Photo from the Organizer of Photoshop Elements 7
thru the use of Email attachment, It will not transmit. I get a message that tells me to enter
a "Verification Code". I do not have a verification code and have been unable to get one from adobe.
This is Photoshop Elements 7 which I bought from Adobe. It was a packet of Photoshop Elements 7
and Photoshop Premiere Elements 7. Any advice would be appreciate.
Charles Todd....Email: [email protected] -
Can I get a sample code and documents on how to use CL_GUI_ALV_GRID, cl_gui_custom_container. Or cl_salv_table
I want to create an ALV report and pick my columns with header information.
Thanks,
Eric.
Moderator Message: There are enough sample codes and documents on how to use CL_GUI_ALV_GRID. Please search for them.
Edited by: kishan P on Nov 12, 2010 10:53 AMHi Eric Adinku,
There are many reports available. In SE38 check reports starting with BCALV & SALV. Few examples include :
BCALV_EDIT_01
BCALV_EDIT_02
Thanks & Regards,
Faheem. -
How can I get the source code of the google chrome ios app
How can I get the source code of the google chrome ios app
Google is your friend
http://www.chromium.org/
and
https://developers.google.com/chrome/mobile/docs/iosoverview -
Where can I get the sample code of gantt chart?
hi, all
I want to use gantt chart component.I find this video http://download.oracle.com/otn_hosted_doc/jdeveloper/11/demos/DVT_Gantt_Chart/ADFDVTGanttChartDemo.html.
where can I get the sample code in this video?
I have got the demo <strong>dvt-faces-demo.ear</strong>.but in this demo, the code of events process is too simple.I want more detail code of date change, denpendency change and so on.
this is my mail [email protected]
Thanks
Best Regards
kenshin
Edited by: Himura Kenshin on 2010-8-20 上午4:57
Edited by: Himura Kenshin on 2010-8-20 上午9:03Hi Katia,
Essentially the same sample app which was referenced above (http://download.oracle.com/otn_hosted_doc/jdeveloper/11/demos/DVT_Gantt_Chart/ADFDVTGanttChartDemo.html). There are many features implemented in this sample which I'll be "reinventing the wheel" with. Its been a bit since I worked with the gantt component as I had to abandon for other development but will be getting back into it here shortly.
Namely as I remember, I had difficult time getting the gantt to load quickly with large amount of tasks, difficulty getting the selected item when using context menus or buttons defined within the control, and a few other minor issues which could be fixed as I was using the first release of 11g and cannot remember specifics. I'll let you know as I get back into it if I see similar problems.
For example, if you go to the ADF Demo Site (http://jdevadf.oracle.com/adf-richclient-demo/faces/feature/index.jspx) and click on "Project Gantt Custom Menu and Toolbar - add menus and buttons on the Project Gantt Menu and Toolbar". The buttons work, however if you first select a row in the left and then click the button, you have to click twice for it to work (in my findings the action listener never "fires"). So in my case I want to select a row and then have a custom event for that selected row when I click the button. There were other similar findings I had when I tried to go off of the examples.
Hope this helps.
Thank you,
Kris -
Where can I get the source code of the jconsole in jdk1.5
Where can I get the source code of the jconsole in jdk1.5?
Hi,
The JConsole 5 source code is not publicly available but you can get JConsole 6/7 source code from http://openjdk.java.net.
Regards,
Luis-Miguel Alventosa - JMX/JConsole dev team - http://blogs.sun.com/lmalventosa
Maybe you are looking for
-
Express Document "Update was terminated" in FM: BUPA_ADDRESS_CHANGE
Hi all, As per our requirement we needed to add different types of phone nos to an Business Partners Address. We are using the Function Module BUPA_ADDRESS_CHANGE to insert the Telephone nos by passing values to the internal table for ADR2 table in
-
Cannot get an internet connection yet I still have 4G. How do I resolve this?
CCannot get internet connection to use my apps. Yet I still have a 4G connection. What so I do to resolve this. Thanks
-
Hi All, I need to transfer bulk data from terdata to Mssql Pls suggest some KM can i use • LKM SQL to MSSQL (BULK) • KM MSSQL Incremental Update Any suggestion
-
Web Services with a Site minder protected Environment
Hi All, I am not sure this is the right group to post this, if not let me know what is the best group or forum to post this. I am having a problem with invocation of web services which are protected by a site minder SSO. I am trying to access them fr
-
HP 530 keyboard not working after trying out Windows 8
Before I tried Windows 8, my HP 530's keyboard was perfectly functioning and my operation system was Windows 7. After installing Windows 8, my keyboard's #5, #6, - and all the function keys (F1, F2, ..., F12) no longer work. Even when I uninstalled W