Using a simple command...

I am sure this doesn't belong in this forum, but hopefully no
one minds, but I am sorry. In Director you can stop the movie
completely by these lines of code:
on mouseUp me
_movie.halt()
end
But how do you use this code in flash? I have imported my
.swf file just fine, but I don't want to make a button in Director
to stop the movie, just in Flash (for animation purposes). How do I
write Actionscript code so that it will stop the Director movie?
Please help, thanks.

greg,
to start, I am a director novice, but with flash AS the base
movie (in your case a director movie) which loads another movie is
called _level0 or _root.
I think that since you are using director as the base if you
use this it may work.
place this on the root timeline of the fla file, if the
button is in a movieclip off the root timeline you may need to
point to it ie. myMC.buttonName.onRelease
buttonName.onRelease = function() {
_level0.halt();
in place of buttonName put the instance name of your button,
assigned in the properties panel. this should pass the halt()
command back to the director movie.
Also in AS halt() would be stop()

Similar Messages

  • I am fairly new to MacBook. I want to copy a picture from a web site to Word and i can't select it using the usual command. What am I doing wrong? With windows it was very simple

    Why can't a copy a picture from the web in MS word using the available commands?

    Ask Microsoft by posting in their forums.  Not an Apple product.
    Microsoft for Mac Support

  • SCCM 2012 - Problems running vbscript or simple command line

    Hey everybody, I'm having a heck of a time trying to get SCCM 2012 to deploy some very simple Vbscripts or even a simple command line.  I need to deploy some registry fixes across the company as well as a Vbscript that uninstalls some old applications. 
    If I run these scripts/commands outside of SCCM everything works fine, inside of SCCM it always shows "succeeded" but it doesn't actually run correct on the client.
    What's confusing to me is the use of distribution points when you're running a command line that doesn't actually have any source files.  For instance this is what I'm trying to run "regedit /s \\servername\folder\registryfix.reg".  I've also tried
    a similar bat file as well with the same result.  I've tried it with a source folder specified, I've tried it using Run Program From Server or Download locally.  I've gone through everything I can think of but can't get it to work.
    Similarly with a vbscript I'm trying "cscript.exe /s \\servername\folder\uninstallapps.wsf" and various different settings in the package deployment.
    I'm really confused here guys so any help would be greatly appreciated.  Thanks

    What I have found is that if you try and run the REG.EXE command line directly, either as a program or via a CMD/BAT file, the 64-bit redirection will occur.  So, if you had something like this in a program or via a CMD/BAT file that ran against a 64-bit
    system:
    REG ADD HKLM\Software\Microsoft\Test /v Test /d Test
    You would end up with this registry entry existing under:
    HKLM\Software\Wow6432Node\Microsoft\Test
    That's because SCCM uses the 32-bit launcher to take care of this and redirection occurs - You can see this via the "CCM32BitLauncher.log" on the client.
    To work around this problem, I have done the following:
    On a reference machine, create/export the registry entry I want into a *.reg file - An example export of "Test.reg" for the above mentioned registry entry would look something like this:
    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Test]
    "Test"="Test"
      2.  Stick our "Test.reg" file in a source share, create a package with the share as the source content, and distribute it
      3.  Create a program for the package with a command line like this: 
    REG IMPORT Test.reg
    This is obviously not as clean as having a command line with a package to distribute, but I find it works fine for me and gets around the redirection for registry entries.

  • Brightness buttons not working and glitchy with simple commands

    I bought a macbook pro 6 months ago. The computer is in mint condition, but has been glitchy, especially with signing in or the simple command of putting in a login password. In order to login you must shut down the computer because the screen is frozen after a logout previously. On top of that the brightness keys show they work but the brightness doesn't change. This computer has no scratches, never been dropeed, has barely been used, and should be working perfectly. Any ideas?

    You have a 1 year warranty, I would take it in and have them deal with it (you paid for it), they might find something that will really bite you further down the road.  USE your warranty, they are usually quite good at customer support.

  • Batch changes don't function. Apt 3.2. From simple commands like "rotate clockwise" to "lift and stamp" the command only affects to the last image in the group selected. Similar problems? Solutions?

    Batch changes don't function. From simple commands like "rotate clockwise" to "lift and stamp" the command only affects to the last image in the group selected. Similar problems? Solutions? Suggestions? Thanks, Bruce

    Glad it helped. Everyone has been bitten by this at one time or another. Fortunately you only get bit once
    Well if you haven't already read it two or three times the User manual is really very good. Apple really did a nice job with it. The on-line version is nice because it is searchable.
    After that the Apple Pro Training Series book Aperture 3 is very useful. Its basically split into three parts. The library, adjustments and sharing. In addition if you get all the way through it you can take the Certification test and become, well certified.
    Rwboyer who posts here on and off has a good site and a couple of ebooks that I found useful.
    good luck

  • Simple command to refresh data of all declared internal tables & variables!

    Hi All,
    I have declared many internal tables & variables in my program in declaration include.
    Is there any Simple command which can refresh data of all declared internal tables & variables!
    Instead of clearing & refreshing each i.table & variable i want to use single command to refresh data.
    Is this possible!
    Thanks in advance.
    Thanks,
    Deep.

    CLEAR: lv_field1,
                 lv_field2,
                 lt_itab1[],
                 lt_itab2[].
    ONE simple command (CLEAR), can initialize fields, workareas, field-symbols,.... and internal tables.

  • Use of static command

    Server on dmz with private ip 10.10.10.10 mapped with ip 172.20.1.10
    static(dmz,inside) 172.20.1.10 10.10.10.10 mask 255.255.255.255
    Can any one explain the use of static command.

    Hi,
    Well in our older FWSM environment which software corresponds to ASA 8.0 - 8.2 I used static NAT statements for traffic between different interfaces.
    A simple example would be an environment where a customer has LAN,DMZ (+WAN ofcourse)
    LAN: 10.10.10.0/24
    DMZ: 172.16.100.0/24
    interface Vlan10
    description LAN
    nameif lan
    security-level 100
    ip add 10.10.10.1 255.255.255.0
    interface Vlan100
    description DMZ
    nameif dmz
    security-level 50
    ip add 172.16.100.1 255.255.255.0
    I would then do a NAT configuration that would allow the LAN users to connec to the DMZ with their original IP address unchanged. (And same for DMZ -> LAN direction if ACL allows ofcourse)
    nat (lan,dmz) 10.10.10.0 10.10.10.0 netmask 255.255.255.0
    In the the new ASAs running 8.4(x) I don't do any NAT for traffic flowing between the customers local ASA interfaces (Like LAN, DMZ, VPN-DMZ etc) I only nat traffic that needs to be NATed. For example traffic towards WAN and maybe towards some 3rd party networks that have dedicated connections to the customer network in question and happen to have overlapping networks.
    - Jouni

  • Adding simple commands to boot under systemd

    now that the rc.xxxx files are gone, where is the preferred location for adding a simple command one might like to execute upon boot, e.g. "echo 'search somewhere.somedomain' >> /etc/resolv.conf"
    obviously there are several ways to do this, i'm just wondering what a systemd expert would do.

    djg1971 wrote:olive:  please try to think a little more abstractly.  it is not for you to judge whose one-line commands are good, not good, stupid, etc.
    Please read my posts more carefully. I never said that there is no valid reason to run a custom command at boot, I was just pointed out, in a part of my post, that your example was not the best one; that's all and I do not understand why it seems to affect you so much.
    Anyway, forget about the bad example. I have tried to answer your original question the best as I could: to run a custom command at boot, you have to write a .service or use a general rc-local script but apparently you do not like the answer. What do you want now? I do not know if I am an expert but I have read enough of systemd to know there is no real other way: systemd take in charge every program that is run at boot via .services (or .target, etc...) files. So this is the way you have to follow to run a custom command at boot. Writing a .service file is not that difficult, maybe easier than to write a custom rc.somewhat file. Just take one existing .service file, understand what there is in it and modify it.
    The post of ewaller give a method to create tempory files, often used by .service files (or the programs they launches); I was not under the impression that is what you really want.
    As for the benefits of systemd, there are a few advantages. Anyway it is not me that I have decided to switch to systemd and discussing lengthy of the advantages of disadvantages of it would lead to nowhere.
    Last edited by olive (2013-02-25 22:09:21)

  • When I use Find Font command from Type menu, the overprint fill changed!

    Can any one tell why the overprint fill attribute checked when I use Find Font from Type menu to simple change the font.
    Try this Illustrator file from this URL:
    https://docs.google.com/open?id=0BysC4QT512vCY2YzZDRkMGEtMjNmMy00MDE2LWFmNzQtNTBhNDQ5MTBlO Dk1
    and change the font of letter B in the illustration using Find Font command to and font and notice how the overprint fill changed from uncheched to checked.

    The problem happens here, even if I first change the color to CMYK 0000 prior to using find font.
    Anything we need to know about the history of this file, was it originally a pdf, or those text objects.
    Manually changing the font does not turn overprint on, Find Font is toggling the overprint value in the code for this probably due to somehting abnormal in the code, or maybe be associated to this font's name triggers this glitch.

  • When ever i use a "sudo" command, it returns "sudo: can't open /etc/sudoers: Permission denied".... HELP PLEASE

    While using terminal, any commands with sudo returns the statement seen in the heading... I have only a basic idea of whats happening, so please try and make the solutions simple.. much appreciated

    Are you being prompted for a password? Are you using the same password you sign in with? Try just entering sudo with:
    sudo su -
    It will ask you for a password and then give you a stern warning about acting as root, where you can really mess up your computer for good if you are not careful. If it won't change to the root account you have a permission problem or a credentials problem.

  • The problem I have since I upgraded to Mavericks version 10.9.1 The problem appears only with Mail not with other programs, not even with my browser. When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command   to e

    the problem I have since I upgraded to Mavericks version 10.9.1
    The problem appears only with Mail not with other programs, not even with my browser.
    When I try to zoom the text of an e-mail I received or sent , I can no longer use the keys Command + to enlarge the text, although I can reduce it with Command -.
    As I have a problem with my eyes, This is a serious matter for me.
    When I write an e-mail, if I select text and press Command +, it just displaces the text to the right.
    Now, my husband has a USB keyboard. If he connects it to my computer, his regular Command + does not work either, but  he uses the extended keyboard, then it works. Unfortunately, he needs it for a musical application which does not work with a wireless keyboard.

    Firefox 3.6.4 and 3.6.6 use a process called, "plugin-container.exe" which was using up most of my CPU when I opened up multiple tabs that contained Adobe Flash files, and caused Firefox to lock up.
    My solution was to use Firefox 3.5.10 which you can get from the Mozilla website at [http://www.mozilla.com/en-US/firefox/all-older.html]
    I am using Adobe Flash 10.1.53.64 without any problem in this version of Firefox. Check the release notes, I believe it contains all the latest security fixes in "Firefox 3.6.4".
    Hopefully, they will fix Firefox 3.6 in the next version (e.g. Firefox 3.6.7), until then you should probably use "Firefox 3.5.10".

  • USE of PREVIOUS command to eliminate duplicate records in counter formula

    i'm trying to create a counter formula to count the number of documents paid over 30 days.  to do this i have to subtract the InvDate from the PayDate.   and then create a counter based on this value.  if {days to pay} is greater than 30 then 1 else 0.
    then sum the {days to pay} field to each group.   groups are company, month, and supplier.
    becuase invoices can have multiple payments and payments can have multiple invoices. there is no way around having duplicate records for the field. 
    so my counter is distorted by by the duplicate records and my percentage of payments over 30 days formula will not be accurate do to these duplicates.
    I've tried Distinct Count based on this formula  if {days to pay} is greater than 30 then . and it works except that is counts 0.00 has a distinct records so my total is off 1 for summaries with a record that (days to pay} is less than or equal to 30.
    if i subract 1 from the formula then it will be inaccurate for summaries with no records over 30 days.
    so i'm come to this.
    if Previous() do not equal
    then
      if {day to days} greater than 30
      then 1
      else 0.00
    else 0.00
    but it doesn't work.  i've sorted the detail section by
    does anyone have any knowledge or success using the PREVIOUS command in a report?
    Edited by: Fred Ebbett on Feb 11, 2010 5:41 PM

    So, you have to include all data and not just use the selection criteria 'PayDate-InvDate>30'?
    You will need to create a running total on the RPDOC ID, one for each section you need to show a count for, evaluating for your >30 day formula. 
    I don't understand why you're telling the formula to return 0.00 in your if statement.
    In order to get percentages you'll need to use the distinct count (possibly running totals again but this time no formula). Then in each section you'd need a formula that divides the two running totals.
    I may not have my head around the concept since you stated "invoices can have multiple payments and payments can have multiple invoices".  So, invoice A can have payments 1, 2 and 3.  And Payment 4 can be associated with invoice B and C?  Ugh.  Still though, you're evaluating every row of data.  If you're focus is the invoices that took longer than 30 days to be paid...I'd group on the invoice number, put the "if 'PayDate-InvDate>30' then 1 else 0" formula in the detail, do a sum on it in the group footer and base my running total on the sum being >0 to do a distinct count of invoices.
    Hope this points you in the right direction.
    Eric

  • Using SUBMIT program command in Background

    Hi,
    I am submitting the program in Background using Submit<program> command.
    Job is getting released but not fininishing(not executing the program) in ECC6.0.
    Same program is working in fine in 4.5b.
    Please let me know if any one faces this situation. Its very urgent.
    Expecting the reply from you soon..
    Thanks
    Regards,
    Raj A

    Hi,
    perhaps you or your admin have configured to less batch-workprocess or they are all configured only for A-class jobs.
    Try to start the job as A-Class job. If the program is executed, then ask your administrator to configure more batch workprocess that are not reserved for A-class jobs.
    Regards,
    Stefan

  • How can I use custom WLST commands for Oracle SOA Suite in Weblogic

    Hi There,
    I'm trying to view and search the weblogic log files using WLST on a Solaris/Unix system.
    I have come across this "custom WLST commands for Oracle SOA Suite" and thought of using the custom logging commands to get my task done.
    However, my WLST shell is not recognizing the commands and giving me the NameError!
    wls:/devDomain1/domainRuntime> listLogs()
    Traceback (innermost last):
    File "<console>", line 1, in ?
    NameError: listLogs
    I tried the commands listLogs, displayLogs, getLogLevel & setLogLevel but in vain!
    I have followed the instructions as per the oracle recommendation of using Custom WLST commands (http://docs.oracle.com/cd/E29597_01/core.1111/e10105/getstart.htm#ASADM10692) as below
    - Launched the WLST shell from Oracle Home.
    cd ORACLE_HOME/common/bin
    ./wlst.sh
    - Tried to run the listLogs command from domainRuntime()
    I would like to know if I need to import any additional libraries to run the custom WLST commands for Oracle SOA Suite in my WLST shell?
    I have only weblogic 10.3.1 server installed on my Solaris 10 machine on which I have deployed the OSB application software.
    There is no SOA Suite installed.
    Or is there any other way I can browse the Server Log file and get the list of log messages? Basically I would like to use this feature in my script to customize it according to my requirement of listing specific error logs which I can work it out if I know how to make these commands work.
    Please advise if this is possible and how?
    Cheers.
    Satish

    I have tried on my OSB installation (no SOA Suite here), the command listLogs() works (I was in online mode, after a connect), and the classpath is:
    CLASSPATH=/opt/oracle/fmw11_1_1_5/patch_wls1035/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/opt/oracle/fw11_1_1_5/patch_ocp360/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/lib/jvm/java-1.6.0-sun-1.6.0.33.x6_64/lib/tools.jar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/server/lib/weblogic_sp.jar:/opt/oracle/fmw11_1_1_5/wlserver_10./server/lib/weblogic.jar:/opt/oracle/fmw11_1_1_5/modules/features/weblogic.server.modules_10.3.5.0.jar:/opt/oracle/fmw111_1_5/wlserver_10.3/server/lib/webservices.jar:/opt/oracle/fmw11_1_1_5/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/optoracle/fmw11_1_1_5/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar::/opt/oracle/fmw11_1_1_5/oracle_common/moules/oracle.jrf_11.1.1/jrf-wlstman.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/lib/adfscripting.jar:/opt/oracl/fmw11_1_1_5/oracle_common/common/wlst/lib/adf-share-mbeans-wlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/lb/mdswlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/auditwlst.jar:/opt/oracle/fmw11_1_1_5/oracle_cmmon/common/wlst/resources/igfwlsthelp.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/jps-wlst.jar:/optoracle/fmw11_1_1_5/oracle_common/common/wlst/resources/jrf-wlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/reources/oamap_help.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/oamAuthnProvider.jar:/opt/oracle/fmw111_1_5/oracle_common/common/wlst/resources/ossoiap_help.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/osoiap.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/ovdwlsthelp.jar:/opt/oracle/fmw11_1_1_5/oracle_comon/common/wlst/resources/sslconfigwlst.jar:/opt/oracle/fmw11_1_1_5/oracle_common/common/wlst/resources/wsm-wlst.jar:/optoracle/fmw11_1_1_5/utils/config/10.3/config-launch.jar::/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/derby/lib/derbynet.ar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/derby/lib/derbyclient.jar:/opt/oracle/fmw11_1_1_5/wlserver_10.3/common/drby/lib/derbytools.jar::
    The wlst.sh I have used is /opt/oracle/fmw11_1_1_5/osb/common/bin/wlst.sh
    I hope this can help

  • Saving a pdf file using the print command

    I'm having a problem saving a document to pdf using the print command. I'm using an old version of Adobe. it's Adobe Acrobat 6. it is giving me the following error The instruction at "0x775355b2" referenced memory at "0x775355b2". The memory could not be "read". Could someone please help me resolve this issue. Thank you.

    The OS and release version of the source file's authoring application have a significant impact on use of Acrobat 6.
    For example, Acrobat 8.1 is where Vista support begins.
    With MS Office, Acrobat 6 PDFMaker compatiblility is only for Office 97, 2000, XP, and 2003.
    Be well...

Maybe you are looking for

  • HT1349 how  do you remove the header and footer from a document

    how  do you remove the header and footer from a document

  • How to get informed about new features and version...

    Hello, I used to get informed on skype when a new version is launched, but now I dont. I noticed it when I delete skype and re-install again from the site for a reason. Also I want to learn about the new features via e-mail. What should I do? Regards

  • Need help setting up network printer...

    Good afternoon. I have an HP 2600n printer connected to my network through my router... I've got the printer working through my Windows Laptop and printing over the network. I have the printer assigned a static IP address. I can't for the life of me

  • Purchase order output-quantity field

    This is a smartform program for Purchase order..the Requirement is when the qty is without decimal places then it should be printed without decimal places on PO printout. E.g. if PO contains 10 EA then 10 EA should be printed and not 10.00 EA. Simila

  • Hotmail PW updated, Can't use Mac book Mail program to check mail

    Hi, I updated my hotmail.com user password .  I can log in on a hotmail web browser to check mail. But if I check mail on the Mail Program on my Mac Pro,  the Mail program keep showing me "Mail can't connect to the account Hotmail.com". Please help.