Ajusting to the AS 2.0/3.0

Hello
Iv been struggling abit with the new way that AS should be
written. (im the old school flash scripter dropping scripts
everywhere :) ). I understand the basic principle of classes and
have been testing with them, but what i realy miss is, or are
unable to find out, is how to contuniuesly update the behaviour of
objects with a script. It used to be easy, just an onEnterFrame and
you knew the script was running at every refresh. This is not the
case however with classes that I make, they only run codes once. So
how do I encorporate that it keeps updating the position of objects
for example?

I've only done AS3 stuff so far, and honestly not alot of it,
but I think one of the big changes that occured has to do with
listeners. Many of the onRelease() type functions use listeners
now.
So for instance onRelease is basically the MouseEvent.CLICK
In the below example the instance name of the button is
(instanceName), and the function is named (gotoFunction)
Bottom line is, you'll probably have to do a little research
to find these new events.

Similar Messages

  • Can I transfer Jam Pack 3 from one Mac to another without the disk?

    Hello all:
    I am using GarageBand 3 on a G5 PowerMac using OSX 10.4.11 (ancient, I know).
    I have an equally old G4 PowerBook/laptop on which i also run GarageBand (or used to).
    Here's the thing. I do most of my GarageBand work on the G5 (I import into Final Cut Pro and the G5 is more powerful). I have the Jam Pack 3 installed on the PowerBook - which has some really nice drum loops that i want to use). I can't find the original Jam Pack 3 disk so does anyone know if I can copy Jam Pack 3 from the PowerBook to my G5 using an external drive for the transfer.
    Thanks
    A

    Just copy the loops you want from Library>Audio>Apple Loops and the instruments from Library>Application Support>Garage Band>Instrument Library. Put them on an external drive. On your new computer open GarageBand and drag the loops into the loop library. That will copy them and put them where they belong. You can try the same thing with the instruments, but I've been having some trouble getting that to work.

  • A little problem with the "Audio-MIDI Config" for my Edirol "FA-101"

    Hi to all of you!
    I bought an Edirol "FA-101" a couple weeks ago, and when I try to plug and record with many mics, from the backside inputs, it seems that these inputs don't give me the "punch" I need. I mean by that that I have to go trough my old Tascam "M-30" in way to use the preamps from the mixer, so I can have a little more input "volume", and then, plug the direct output from the mixer and then plug it in the back inputs of the "FA-101".
    I was wondering why do I need to do that? Cause when I take a look at the "Audio-MIDI Config" (I do work in french, so, apologize for any translations errors), the "AMC" window don't show any inputs as "selectable", and, or, "ajustable". The link bellow shows the exact copy of what I see when I open the "AMC" set-up window:
    http://www.geocities.com/macjamsimages/configaudiomidi.jpg
    Now, I have to explain that I had some problems in the past, when installing QT 7. I tried to remove QT 7, but I think I removed some files, maybe importants ones. So, now, what I want to know, is if that setup is normal, and impossible to configure, or is it MacOS Panther 10.3.9 that need a reinstall?
    And I have to say that GB and Logic Express both recognize the "FA-101" as audio inputs. But need a little help from the mixer.
    Thanks in advance!

    The inputs on the back of the Edirol unit are LINE LEVEL inputs, meaning they are require a high level of voltage to give a level. A microphone plugged directly into this input will not give you the required voltage, if you were to plug either the outputs of a mixing desk or something like a CD player into it you would get a level.
    First of all you must use a microphone preamplifier, like the ones on the front panel. There are thousands of companies producing these and it shouldn't be hard to find them. You could also use any mixing desk which has multiple outputs, so as to split the channels out to the relevant channels in logic.
    Hope this helps.

  • Does the hi-fi save settings...

    I have a 20gig photo ipod which does not work with the EQ setting ajustment for the apple hi-fi. My friend hooked up his 30gig video ipod to my hi-fi and changed the some of the EQ settings in the speaker menu, since he can do that with his ipod. When he took his ipod off the hi-fi, were these setting saved on the hi-fi or do the setttings only apply when his ipod is connected?
    Basicly, will the setting he set through the speaker menu on his ipod stay programmed on my hi-fi, leaving me unable to change them with my ipod photo?
    Thanks!
    -Isaac

    well, I just got it today. it's been really great. so far I have tested sound quality. actually as far as I know, speaker, tone settings are only working with 5G ipod video, nanos (1G, 2G). other than them, even album art isn't working at all. I tried it with my 30GB photo ipod. but it didn't. but my ipod video, 1G, 2G nano worked fine. so that saving settings are only for recent ipods.

  • Viewing a file which is in Application Server [al11]

    Hi All
    I have a file which is residing in Application Server [al11 tcode], how i can display the file using LinkToURL UI Element,
    what is the path which i need give in the REFERENCE parameter of the UI Element.
    Thanks in Advance
    Regards
    Chaitanya.A

    Just becuase the file is in the filesystem of the application server, doesn't necessarily mean that it is exposed to the network at all. This really depends upon your OS and if you have a file share or external web server connected to the OS of your application server.
    However if you want to temporarily create a URL via the ABAP application server for a file in the filesystem you can do so by placing the content into the ICM cache.
    So you would read the file from the filesystem using the normal ABAP dataset commands.
    Here is a small example where I am doing this with different image formats:
    ****Create the cached response object that we will insert our content into
      data: cached_response type ref to if_http_response.
      create object cached_response
        type
          cl_http_response
        exporting
          add_c_msg        = 1.
    *  cached_response->set_compression( options = cached_response->IF_HTTP_ENTITY~CO_COMPRESS_IN_ALL_CASES ).
    try. " ignore, if compression can not be switched on
          call method cached_response->set_compression
            exporting
              options = cached_response->co_compress_based_on_mime_type
            exceptions
              others  = 1.
        catch cx_root.
      endtry.
    ****set the data and the headers
      data: l_app_type type string.
      data: l_xstring type xstring.
      case i_format.
        when 'BMP'.
          cached_response->set_data( me->gx_content ).
          l_app_type = 'image/x-ms-bmp'.
        when 'GIF'.
          me->get_content_ext_format(
            exporting
              i_format  = i_format
            importing
              e_xstream = l_xstring ).
          cached_response->set_data( l_xstring ).
          l_app_type = 'image/gif'.
        when 'JPG'.
          me->get_content_ext_format(
            exporting
              i_format  = i_format
            importing
              e_xstream = l_xstring ).
          cached_response->set_data( l_xstring ).
          l_app_type = 'image/jpeg'.
        when 'TIF'.
          me->get_content_ext_format(
            exporting
              i_format  = i_format
            importing
              e_xstream = l_xstring ).
          cached_response->set_data( l_xstring ).
          l_app_type = 'image/tiff'.
        when 'PNG'.
          me->get_content_ext_format(
            exporting
              i_format  = i_format
            importing
              e_xstream = l_xstring ).
          cached_response->set_data( l_xstring ).
          l_app_type = 'image/png'.
        when others.
          raise exception type zcx_abap_bitmap.
      endcase.
      cached_response->set_header_field( name  = if_http_header_fields=>content_type
                                         value = l_app_type ).
    ******Set the filename into the response header
    *  cached_response->set_header_field( name  = 'Content-Encoding'
    *                                     value = 'compress' ).
    ****Set the Response Status
      cached_response->set_status( code = 200 reason = 'OK' ).
    ****Set the Cache Timeout - 60 seconds - we only need this in the cache
    ****long enough to build the page and allow the IFrame on the Client to request it.
      cached_response->server_cache_expire_rel( expires_rel = i_cache_timeout ).
    ****Create a unique URL for the object
      data: guid type guid_32.
      call function 'GUID_CREATE'
        importing
          ev_guid_32 = guid.
      concatenate i_path '/' guid '.' i_format into r_url.
    ****Cache the URL
      cl_http_server=>server_cache_upload( url      = r_url
                                           response = cached_response ).
    Another option would be to create a custom ICF handler class.  In this class you could pass the file name as URL parameters, read the content using ABAP DATASET commands and return the content in the response object. 
    Handler classes have to implement the IF_HTTP_EXTENSION Interface.  You implent the method HANDLE_REQUEST.
    Here is an example implementation of the HANDLE_REQUEST:
    * Inform ICF to "keep" (reuse) this handler, and that we answered the HTTP request
      if_http_extension~lifetime_rc = if_http_extension=>co_lifetime_keep.
      if_http_extension~flow_rc     = if_http_extension=>co_flow_ok.
    * Determine image name from URL ~script_name/~path_info (= image_name)
      data: name type string.
      name = server->request->get_header_field( name = if_http_header_fields_sap=>path_info ).
      translate name to upper case.
      if strlen( name ) >= 1 and name(1) = '/'.
        shift name left.
      endif.
    * Application logic
      data: content type xstring.
      content = me->load( name ).
      if xstrlen( content ) is initial.
        raise exception type cx_http_ext_exception exporting msg = 'Invalid URL!'.
      endif.
    * Set up HTTP response
      server->response->set_status( code = 200 reason = 'OK' ).
      server->response->set_header_field( name = if_http_header_fields=>content_type   value = 'image/png' ).
      server->response->server_cache_expire_rel( expires_rel = 86000 ).
      server->response->set_header_field( name = if_http_header_fields=>cache_control value = 'max-age=86000' ).
      server->response->set_data( content ).
    3rd option would be to create an ICM File Handler. I detailed this functionality in the SAP Press book Advanced BSP Programming.  It is covered in Chapter 16.2.  Here is an exerpt:
    The Internet Communication Manager (ICM) allows just such access to any file
    system accessible to the underlying operating system. You can map operating file
    system directories into ICM URL paths using the profile parameter icm/HTTP/
    file_access_<xx>.
    If you have never maintained one of the system-profile parameters, now is good
    time to make friends with your Basis administrator. With the following additions
    to our instance profile and a quick restart of the ICM, we are now able to access
    file system directories via HTTP.
    icm/HTTP/file_access_0 =
    PREFIX=/doc/, DOCROOT=/usr,BROWSEDIR=2
    icm/HTTP/file_access_1 =
    PREFIX=/doc2/,
    DOCROOT=
    server\SAPPatches\Netweaver04,BROWSEDIR=2
    In the first entry, we are just going to map to the local directory usr. We are able
    to control the useru2019s options to browser a directory via the additional parameter
    BROWSEDIR. The possible values are: 0 u2013 no browsing allowed, 1 u2013 only file names
    are displayed, and 2 u2013 file names along with their size and last change date are displayed.
    The second entry really shows off the power of this profile parameter. We are able
    to expose a directory on a remote server via UNC paths. Of course the security on
    that directory would have to be open to allow read-and-browse access. There is
    also no real mechanism to apply security to the ICM URL for this file access node,
    so you will want to be careful what you expose through it.

  • Not opening multiple RAW files

    If i open a Raw file in Bridge, it opens up perfectly. Also my jpegs and tiff open in RAW, so no problem there. The problem is, that I cannot open multiple Raw files from Bridge into Raw with the option "open in Camera Raw" So the shortcut cmd+R ( I am on a mac) does not work. It says that Raw has to be opened at least once. I have been using Raw for years now so it has been opened multiple times.
    I Can not seem to find a solution. I would really like to open up multiple edited Raw files at once, and in Raw give the order to rename them into JPEG. If you do that, you see Photoshop CC and a window that says how many convertions are left. So far so good...  but before, I was able to open up some new raw files in Camera Raw without having to wait for Photoshop to convert everything. Now I have to wait for a long time before I can make my new Edits. Can somebody please help me?
    I am using all updated software.
    Ben

    Hello SSPRENGEL,
    Thank you very much for your reply. My apologies for the mess up with RAW and ACR naming.
    The situation is, that I can not open any file with CMd-R. I can open single files with CMD-O. But I need to open multiple files at ones with CMD-R. It used to work good.
    The problem is, That I am in the business of school photography. I take the pictures as RAW files on an Nikon camera (nef) After I ajust all the pictures, I have to rename all of them to JPEG, just to get them online.
    I used to do that with ACR. But now the problem is, if I open a lot of picures with CMD-O, It opens up very good in ACR and I still can give the command to save all of these as JPEG. It workt great, but I have to wait a looooooong time before I can open up my next batch of pictures and start to adjust those. Normally, it would save the files as JPEG and I was able to open up a new batch of pictures in ACR right away. That saves me A LOT OF TIME. This only works if you can open the files with CMS-R. Strange...
    I updated my I-mac to 10.9.1 so I see that is not the newest. PS-CC is 14-2-1 x64 and I am using the beta ACR for now (8.4)
    I just tried to open a RAW file in photoshop with the normal open command and it lauches ACR perfectly. But again from within Adobe bridge I still get the same error about needing to open a qualifying product at least once.
    Stange isn't it?
    Thank you very much for your time!
    Ben

  • Portege R700 with docking can't switch automatically to external display

    Hi!
    In the past we bought a lot of A600, S10, R500, and we bought always a docking for each laptop here in Desjardins.
    Now we have a little problem with the new R700 Model: PT318C-00G001,
    We bought 30 of them.
    WHY when we put it on the docking (with the screen close) it can't display/switch automaticaly to the external display? (here a 22inc LCD)
    It is plug with the HDMI/DVI cable. And when we get the display on by ajusting in the intel graphic and media control panel (V 6.14.10.5258), after a reboot out of the docking the screen is all buzzy.... sometime the two screen are dark, and we must use some key combinaison to switch.
    It is really not user friendly for our user.....
    With the older model like the A600 or S10, all have always worked well, if we are on the dock, the screen pop right on the LCD external display, if I shut it down, ondock it and boot it up all is alright on the laptop's screen.
    we are on Windows XP Pro SP3.
    I tried the Toshiba display device change utility and the Toshiba Mobile extension. wich are not more clear...
    Thanks for your help.

    Did you install a Vanilla version of Windows? Or was XP installed from the Toshiba Recovery Disc?
    Maybe you are missing some important drivers (common modules for example). Also ensure you are using the Display Drivers from the Toshiba Website.
    Also try a BIOS Update (v1.70 is the latest I think).

  • IWeb 08 and languages ...

    When you create a blog, you have a Main Blog page, and 2 sub pages - Entries and Archive.
    While it's easy to edit the «previous» and «next» pointers on the Entries page, it seems impossible to change the «read more» pointers on the main blog page (where you see the first few lines of each blog entry).
    In version 1, you could edit the languages whith the Get Info command, and be allowed many blogs in different languages within the site. And they would stay the way they were created even if you changed the language of the application.
    Now at version 2, it would seem that you're old blogs' pointers are translated when you change the language. In other words, they ajust to the latest app settings.
    Is there a way around this?

    Thanks for your input, ULF. However, my issue does not deal with the URL.
    It has to do with the iWeb-included «previous / next post» in podcasts and blogs.
    If your whole web site has different sections in different languages, you're stuck with ONE language for these pointers.
    Or are you? That is my question.

  • HT4623 I keep getting kicked off my wi-fi connection. any ideas?

    I keep getting dumped from my wi-fi connection. I just made an ajustment to the security level and now I get dumped. My sons phone has no problem. I have been trying to get in to change the security level, but I keep getting error messages. I went in just last night and made the changes. I don't know whats going on there, but as I said, my sons phone has been working fine since he initially asked to join the network. Any Ideas?

    You have to be connected to the network for that to show up. When you go into wifi the network you are connected to (yours) should be listed and if it is, then tap on the arrow to the right and at the top of the screen it should allow you to forget the network. If you cannot get connected to the network long enough to do that, then do the reset network settings I mentioned above.

  • Control Activity Level of sound played by flash player

    Hi
    I create a video player based on flash. A video can be recorded with a different sound level - making some videos with the current volume setting very loud, some very silent. I was searching an API in Flash that allows me to set the volume on the used players dynamically. I was thinking that I found it in SoundMixer.computeSpectrum() and wanted to use it in combination with the SoundTransform volume property. But realized there are security issues with youtube, throwing an SecurityError 2122 asking for an crossdomain.xml which they seem not to provide.
    http://code.google.com/p/gdata-issues/issues/detail?id=1719
    Is there another approach that would allow me to achieve an automatic sound ajustment so the user would have the same sound volume level - independent from the level a video was recorded with?
    Thanks!
    Marc

    Hi Marc,
    Would you mind reposting this question over on the Flash Professional forums?  This forum is primarily for end users, the Pro forums will get you in touch with a wider developer audience.
    Thanks,
    Chris

  • Host time

    Hello all,
    What�s the approach you recommend to ajust the time by some factor? The scenario is this: I�m Brazilian but the host is north-american (California), hence there�s difference between the times of both places. Then, I�d like someway increment the host time to ajust to the Brazilian.
    I thought about encapsulate the Date Java object to ajust this, but I think it isn�t the best solution. I tried Timezone.setDefault(), but this method don�t function because the host has a shared environment, I think.
    What do you suggest?
    Thanks in advance,
    Leonardo Rodrigues

    Thanks for the answers,
    I don�t know if I understood wrong or I give a lack explaining, but that is:
    I already have so much code implemented, which works with Date object directly, just not to display but business rules too, beyond some on-line processes which depends of the time. So the perfect solution is set the computer time to my timezone, but unfortunately it�s impossible because the shared environment of the host. Likewise use Timezone.setDefTimeZone (I forgot the right method name...).
    My question is if there is a solution to correct the time through some base way that I don�t have to change all the code...
    The solutions I have in mind (neither one sound be good!):
    1. Scan all code in searching for new Date() and do the Timezone tansformation before the usage;
    2. Encapsulate Date object to increment the difference factor.
    Thanks for any light...
    Leonardo Rodrigues

  • DayLight Time - Java

    Hello there!
    Well...
    Im having a problem with Date, Calendar, JodaTime, API...
    I live in brazil and i need to take the date and hour from the system...
    But when im into summer time for java the time comes wrong... one hour more or left....
    It happens only when my SO is checked to "Ajust automatcly the clock to summer time"...
    Someone know how can i do to get the date and hour from system?
    Normally... just the time marked in menubar...

    Hi,
    Did you get an answer for your question?
    After the time switched to summer time(daylight savings), we are seeing that the time in our JAVA (JDK 1.4.2) is out of sync with our SAP (ABAP) servers.
    Can you help us get the time corrected. If you can give a step-by-step instruction to correct the time at JAVA - JDK 1.4.2 that will be great!
    Thanks,
    Arul
    [email protected]

  • Script Logic Validation Error

    Hi experts.
    The Script Logic validation is returning an error for this sentence:
    .[#BUDGET]=[TIPO_DATO].[PREVISION]+.[AJUSTE]{/code}
    The error I'm receiving is:
    Member "" not exits
    The member BUDGET for TIPO_DATO dimension exits as well as member prevision
    ¿Any idea?
    Thanks a lot
    it0

    Hi,
    Can you process by removing the member and then add budget to dimension tipo_dato  and then validate the script logic.thnx.
    Sanjeev

  • Problem since lollipop, headset and "smart" flip cover

    Hi,
    Have some problem since upgrading to lollipop. First it was the headset that didnt wanna connect, but solved it with a factory reset on both the headset and telephone. But i still has a problem with the flip cover, guessing that with the update the config for smart connect (or NFC) was resetted. Now the problem is that the flip cover is glued with a sticker on the phone so i cant get it of to try and reconnect it.
    The problem is that it does not longer interact with the phone e.g. when the flip cover is closed the phone screen would normaly ajust to the little screen on the cover but it doesnt, it just shows regular background.
    Does anyone know a smart way to fix this?

    I own the SCR24 smart style cover for my Z3 dual and indeed it's fixd to the back side of phone by sticker, but from my own experience you can carefully remove the cover by pulling it off slowly from the phone, and the sticker will be still functional to be glued again to the phone.
    So what I suggest is: try removing the cover, reconnect it to your phone via NFC tag, then re-attach it to the phone. 
    Let me know if you tried this successfully.
    A proud Sony User since 2002
    If I was helpful to you, thank me by Kudos

  • Problems for encoding videos

    Hello,
    I have problems with videos.
    I have 2 videos (face and profil) in high definition - HD, which have not the same duration and the same size.
    They are cut in final Cut Express HD. After cutting, they have the same duration (for example : 20'10) and not the same size.
    When I compress them with Compressor or Cleaner 6, the both videos have NOT the same size at the end. I use the same ajustements for the 2 videos.
    DVD Studio Pro refuse the 2 videos because they have not the same size !
    This problems appears also on another MAC (MAC G5 bipro).
    I want to know how I cant resolve the problem ? Is it a problem with compression ?
    I have tested with 2 videos (MPEG2) from another project (same size and samed length).
    I have compressed with compressor and Cleaner and them have not the same size after compressing !
    There is a problem with compressing and not with the source.
    I need to have 2 videos (angle) to put in DVD Studio Pro 4.
    Thank you for helping me.
    Best regards.
    Rameur PL

    On a side note, I find it irksome that people are still calling HD video in the states NTSC.  Technically, it's ATSC.  Companies like Adobe really should know better.
    Well, they did put the correct preset name of 30i for AVCHD.  Maybe they'll get the ATSC thing right in CS5.

Maybe you are looking for