Flash call director using getURL bug

Hi!
I am using Flash 8 and Director MX 2004, and I found out
that, if I use getURL("lingo: function name...") to call director
function, and if there is any error happened in this function call,
it seems that director won't show any error message at all. Does
anybody know how to make director display the error message? Here
is an example to show the bug:
http://www.storynest.com/TRANSFER/flashGetURLBug.zip
if you click on the director button, it will show an error,
but if you click on the flash button, which calls the same
function, director produces no error...
Thanks a lot for help!
Hsin-Chien

Sean Wilson wrote:
> There's no way around this that I'm aware of. There are
a few xtras I
> have encountered (the Flash Asset or ActionScriptObjects
xtra
> included) that exhibit this behavior: if an error occurs
in a method
> whose stack root is a callback or a method of the xtra,
execution
> stops and no error is thrown.
I suggest to switch on a boolean flag as last line of issued
methods.

Similar Messages

  • Flash into Director tutorials?

    Hi.
    Can anybody recomend some beginners tutorials for bringing
    Flash into Director?
    Thanks

    Sure, do you have more than one button in the Flash .swf? Do
    you want to
    send something unique from the Flash button, or do you just
    want the
    button to act as a trigger for the frame change?
    You can use getURL("lingo:functionName(args)"); to call a
    Lingo function
    in a movie script.
    You can use getURL("event:functionName,arg1"); to call a
    lingo function
    in a behavior attached to the Flash sprite.
    You can use getURL("string to send"); to send data to a
    function called
    on getURL me, data in a behavior attached to the Flash
    sprite.
    The syntax for each is unique. The first two examples expect
    any
    argument to the Lingo function to be a number. You can use a
    string if
    you escape the quotation marks. The third example just sends
    a string.
    You can also send the contents of an array.
    Rob
    Rob Dillon
    Adobe Community Expert
    http://www.ddg-designs.com
    412-243-9119
    http://www.macromedia.com/software/trial/

  • Flash in Director issues

    I have about 12 swfs that I need to put into a Director shell
    and when I do the buttons on the swfs that link to other swfs work
    fine but the buttons in the swfs that link to the web don't work at
    all (neither do the quit buttons on the swfs). I know it's probably
    (hopefully anyway) something simple but my lil brain is fried from
    trying. Any help would be greatly appreciated. Thanks in
    advance.

    When you use getURL in Flash it's anticipated that there is a
    browser
    present hosting the swf so that it can react properly. In
    your case
    there isn't, so you need to have Director catch those
    commands.
    Drop a behavior on your Flash sprite and see what Flash is
    saying to
    you, and then decide how to react:
    on getURL me, tData
    put tData
    end

  • WebKit2Webprocess.exe*32 is slowing down safari when using flash player and using up Lot's of CPU

         Im having Major Troubles with Safari whenever I start up Safari I get a Process Called WebKit2WebProcess.exe*32 using not much memory after about 30sec its using around half of what safari is using.After a minute its around 3/4th. But It all starts when I try to basiclly go to another page , its now using higher then safari and rapidlly increasing(and even faster when Flash is in use). Right now the process is using 170 000 K and Safari is using around 130 000 K while im typing this. When i go to youtube it uses 290 000 K and safari runs slower. Its even worse with games when i tested a game                
    website: http://ninjakiwi.com/Games/Tower-Defense/Play/Bloons-Tower-Defense-5.html
    Safari is now lagging furiusly only on the site but not the other tabs.
    !!!!Please help Safari is my favorite Browser and i reallly dont want to be forced to delete it!!!!

    I love using the Safari Browser compared to any other browser, however the file webkit2webprocess occupies a lot of memory and slows down the browsing, what does this file do and why on earth does it require so much of memory can apple not fix this bug. Have contacted Apple support but nobody seems to have an answer on this issue.  Come on Apple please do not ignore this problem!!

  • Using getURL to access network files

    I am working on an Intranet site and I need a button in Flash
    to open a file that's on our network share. I know about the getURL
    function and use it often to link to HTML files that are on the
    same server as the web files, but I don't know how to use getURL to
    open external files on the network:
    example:
    on (release) {
    getURL("page1.html", "_blank");
    page1.html is located on the webserver but contains a link to
    \\server1\share1\document1.doc (server1 is a different server on
    our network)
    I want to eliminate the middle man and link directly to
    document1.doc, but I don't know how to do that with getURL since
    document1.doc is not on the webserver.
    Thanks for any advice.

    I don't believe you can like directly to this file on your
    network because of the security features built into flash which
    will not allow network access such as this.

  • Flash or Director?

    I'm a multimedia student and my collegues and I have been  debating weather we prefer Flash or Director. My teacher who teaches  Director says he dislikes Flash and my teacher who teaches flash, says  he dislikes director. Having worked with both, I personally dislike  director, I find it's not as user friendly as flash but I do think  scripting in lingo is easier than actionscript, anyhow for now that is.  I'm still learning... Really, what is the difference between the two and  what do you use them most for? Why would you work with one more than  the other? Usually the demand is for flash, employers will ask you to  have flash experience and java script. So why use Director?
    Thanks for your feedback

    Key difference: Sooner or later Adobe will decide they hate Director and end it* (Director seems to take less system resources, something Adobe doesn't seem to care; it also does 3D, but that is something Flash Player 11 Incubator is now capable of). They don't seem to want to see Flash end, on the other hand. Director is also far more expensive.
    So the answer is simple here. Go for Flash.
    *Personal opinion only, I don't know what's the actual decision Adobe will make

  • How can I Access the Flash "Slide class" using flex and ActionScript 3?

    Hi,
    I hope someone can help me solve a problem...
    I'm using the flex SwfLoader to load a flash side
    presentation as follows...
    <mx:SWFLoader id="ss_slides" source="ss_slides.swf"
    width="320" height="240"/>
    I would like to access the flash "Slide Class" using flex so
    I can make the following call...
    Slide.gotoNextSlide();
    Anyone know how I can do that?
    Would it be through the SwfLoader Object?
    Is there another way?
    F.Y.I. Here is a snippets about the Slide class from the
    Flash 8 help...
    Using the Slide class (Flash Professional only)
    You use the methods and properties of the Slide class to
    control slide
    presentations you create using the Screen Outline pane for a
    Flash Slide
    Presentation, to get information about a slide presentation
    (for example, to
    determine the number of child slides contained by parent
    slide), or to navigate
    between slides in a slide presentation (for example, to
    create "Next slide" and
    "Previous slide" buttons).
    You can also use the built-in behaviors that are available
    in the Behaviors
    panel to control slide presentations. For more information,
    see Adding controls
    to screens using behaviors (Flash Professional only) in Using
    Flash.
    Thanks,
    Chris S.

    Hi Chris,
    You cannot access the methods of the Flash 8 movie from Flex.
    And you can't do it the other way around either.
    The only way to communicate is to create a LocalConnection on
    each side.
    M.

  • Flash crashing when using Command + Option + S for Scale and Rotate?

    Flash crashing when using Command + Option + S for Scale and Rotate?
    It's happening to me when I use those hotkeys
    Please let me know if it's happening to you too.
    I don't know the cause but I need a fix.
    I'm using Adobe FLASH cs6 for Mac
    My computer:
    Mac mini
    Mid 2011
    Software  OS X 10.8.1 (12B19)
    -Line

    With all due respect to your totally coindescending reply, this is a bug in Flash. Happens every 4-5 times I use that menu item. Been happening for months, but  we just installed a Brand new iMac (1/13). Quadcore 3.4 16G RAM and 1TB Fusion drive. Fresh install of CS6. Not running any other 3rd Party Software. Problem STILL happens in new Flash docs with small, simple vector Graphics.
    So instead of blaming the users computers, how about you guys just fix the effin' problem? Thanks.

  • Incoming calls not using Bluetooth / Music tracks repeating

    I've been having a problematic issue with Bluetooth since upgrading to iOS 7. I have my iPhone 5 paired with my 2013 Hyundai Elantra's Bluetooth system.
    Outbound calls use Bluetooth just fine, as does Siri, but any incoming calls all use my iPhone's headset by default. I have to manually switch the phone's output back to my car's bluetooth in order to talk using my car's hands-free system... which really defeats the purpose of hands-free.
    I'll note that this is happening both when my iPhone is plugged in via USB and listening to music on the car's stereo, as well as when the iPhone is simply idle in my pocket. I have not tested what happens when the car is playing my iPhone's music via Bluetooth (the audio quality is sub-par to a direct connection and doesn't display the artist/track/album on the console when playing via Bluetooth - ergo I rarely use it)
    Secondly, I am having another issue, this time with playing music. I don't believe it's related to the above Bluetooth issue, but it may be related to my car.
    Like I said above, I often use my Elanta's USB port to directly plug in my iPhone so I can a) listen to music on the car's stereo and b) skip tracks with the wheel-mounted controls. This all worked flawlessly with iOS 6.
    Now, if I skip a track with my car's controls, the Music app will repeat that next track... over and over. When the song is completed, it will attempt to move on to the next song, then immediately backtrack and start playing the previous song again (you can tell so by watching the Music app. The album art will swipe over, then quickly swipe back). I have to manually skip forward to play a new song... Highly irritating.
    I'll also note that skipping songs via the wheel-mounted controls is considerably slower than it was with iOS 6. It's definitely a couple seconds after I press a button before the next song starts to play. It used to be near-immediate.
    Anyone else having either of these issues? Hopefully it's something Apple picks up on and fixes soon!

    Don't know if you got this yet, but I came here looking for answer. Since I just found one, figured I'd pass it on for others:
    You have to set your phone's incoming calls to "headset" under accessibility. (Silly, I know, considering, if you hook up a bluetooth, it should automatically default there, but no ...) This walks you through:
    http://www.imore.com/how-set-default-call-answer-mode-iphone

  • Cannot receive calls when using Edge network for data?

    Hi,
    This afternoon someone was trying to reach me urgently and all her calls to my iPhone went straight into my voicemail. My phone never rang and never showed missed calls.
    I spoke to Aaron at Apple, thinking there might be a problem with my phone, and he told me that when the Edge network is in use, then the phone will not ring and calls will be routed straight to voicemail.
    Is this really expected behavior? I was not aware of it.
    iPhone 8GB    

    This has nothing to do with EDGE all other phones will notify you and pause the connection. i posted about this 2 days ago but the thread got deleted.
    here is a video that proves this, the noise is from the GSM but the user is clearly on the edge network.
    http://youtube.com/watch?v=NMm2AY-_TTY
    this is from Tier 2 suport at Apple.
    Everyone having this issue should call 1-800-MY iPhon. Ask to speak to Tier II support, the person you get may try to help, and may need to give you a case number. You'll probably have to wait a while on hold.
    I just spent an hour on the phone with Tier I & II. The tier I guy started by saying that when you use EDGE it will always go to voicemail. I told him, I was on a user forum & some people said they don't have the issue. He then tested it on his phone & experienced the direct to v-mail issue. We talked about how this was a real problem & how both of our nokia phones didn't have this issue (he actually had the E-61 also). He gave me a case number & transferred my to tier II. The tier II guy told me that this was a software issue. That a pop-up needs to be designed into the software to allow the user the option to disconnect the data connection & accept the voice call, or not. I told him that I'd read on a user forum that some users get voice calls while using EDGE. He said that if they are using you tube the call will automatically interrupt & switch out of you tube. We then tested this on my iPhone & it worked (i.e. the call interupted you tube). He said the software currently decides to disconnect data or send calls to voice mail during EDGE transmissions based on what the user is doing. Phone calls take priority over you tube & widgets (stock & weather)but safari and e-mail take priority over phone calls. He said the thought was, it would be more annoying to users to be in the middle of sending an e-mail and having mail disconnected for a phone call, than having the call go to voicemail. The ideal solution is to have a choice (like other phones allow) but right now the iPhone software does not have a pop-up designed allowing the user to accept the call or keep the data connection. (He seemed to be familiar with this on other phones while being tethered to a macbook to use their data connections & getting voice calls during downloads).
    He said he was submitting this to the engineering group & said the more people that call tier II about this & submit it as an issue via online feedback, the higher priority it will get to be addressed in the first software update. So if you want to see this fixed start calling and submitting the issue http://www.apple.com/feedback/iphone.html in as much detail as possible (specifically say that other existing phones Nokia S60s etc. have this function).
    and here is a thread that is discussing this serious problem. note it is now many pages long.
    http://www.howardforums.com/showthread.php?t=1197377

  • When I call someone using FaceTime from my mac, they can see me but no hear me. Is there something I need to do to make this happen? I also have an iPad 2 and FaceTime works great on it if I call somebody. Why no sound from my mac FaceTime using a mac pro

    When I call someone using FaceTime from my mac, they can see me but not hear me. Is there something I need to do to make this happen? I also have an iPad 2 and FaceTime works great on it if I call somebody. Why no sound from my mac FaceTime using a mac pro and isight camera, mike combo.
    If I use google it works. If I use Ichat, it works. If I use skype it works.

    This sounds like something similar to https://discussions.apple.com/thread/3388112?start=105&tstart=0.
    Try turning down the speak volume (System Preferences->Sound->Output->Output Volume)  or the microphone gain (System Preferences->Sound->Input->Input Volume). Do this on both sides of the call.

  • How do i use the bug reporter in ios 8

    im trying to use the bug reporter for the beta ios 8 but i dont get to input anything. Maybe i dont understand how this works,so can someone please explain.either way i figure i should say somthing now.
    -the infinity blade 2 app does not load
    -my settings button doesnt load all the time,
    -most of the apps dont load the first time i open them,if i switch to another menu then back it will load.
    -just now i shut off my phone, plugged it into the charger. My phone then turned itself back on and had me reactivate it.
    -the "sample" button in the ibooks app doesnt seem to do anything either
    -most of the time scrolling down on anything rather large(e.g.songs,articles,facebook) there is alot of skipping or lagging effect
    -when on safari i turn my phone sidways and it totally messes up where things should go and it wont return i have to exit and close to fix
    anyways id just thought id put that out there

    You need to ask this question in the Developer's forum, which as a registered developer you have access to. If you're not a registered developer, then you have no business messing with iOS Beta software, & discussing such, even bug reporting, is PROHIBITED in this public forum.
    But, as a registered developer, you already knew that, correct?

  • Is there a way to hang up call without using the touchscreen?

    I'm using an HP Veer 4G.  In the wintertime, when I need to wear gloves, I'm wondering how I will handle calls without using the touchscreen.
    I've figured out most of the process:  hold down the volume down button for a couple of seconds to load the Voice Dial app, then speak the name of the person I want (which has worked flawlessly for me so far!) and then I'm connected.
    The problem I'm having is how to hang up without using the touchscreen.  If someone answers the call, that's no problem because I can just wait for them to hang up.  But if I get their voicemail then what?  I thought I'd be clever and use my nose, but the sensors black the screen out so that doesn't work.  How are people ending calls without taking their gloves off?
    Post relates to: HP Veer p160una (AT&T)

    Hello!
    Unfortunately this is the trade with using capacitive touchscreen
    HP has logged this in its software issue tracking system. We endeavor to continuously improve our software quality and thank you for bringing this to our attention.  We are grateful to the community and will evaluate options based on customer feedback and software best practices.
    In mean time, there is a patch in the homebrew community that allows closing the slider to drop calls and can check more into that via precentral.net

  • My iphone 5 went into search mode and I can't place or receive calls or use the internet but my text messages work. Sprint had me do a master reset and my phone doesn't work at all now I can't get it past the activation. Will I have to pay in store?

    My iphone 5 went into search mode and I can't place or receive calls or use the internet but my text messages work. Sprint had me do a master reset and my phone doesn't work at all now I can't get it past the activation. Will I have to pay for repairs in store because I didnt get the Apple care plan when I purchased it. Sprint said it may be a phone problem not sure if I should take it to Sprint or Apple...I just need my phone

    I'm sorry to learn that you are not able to make/receive calls chelseabee! (ticket number removed) results indicate that there is no issues with the network or account provisioning. Since you have already done a hard reset http://vz.to/1gBkSJc (as per your post), I recommend exploring replacement options. If your phone is within the one year manufacturers' warranty we can provide a Certified Like New replacement http://vz.to/uyYF0o as long as no physical/liquid damage exist. If your phone has sustained physical/water damage and you have insurance, you can submit a claim to the insurance company online at this link http://bit.ly/07CrqPK
    AntonioC_VZW Follow us on Twitter at www.twitter.com/VZWSupport
    >> Edited to comply with the Verizon Wireless Terms of Service <<
    Edited by:  Verizon Moderator

  • Error  while  calling badi using class cl_exithandler with getInstance

    hi experts...we are using SAP ECC 6.0  version
    I have created  BADI Def   and  Implementation using  se18   and se19 with some interface methods..
    Problem:
    I'm writing  a report to call  that using  class CL_EXITHANDLER but it shows an  Exception..
    " Exception condition "DATA_INCONS_IN_EXIT_MANAGEM" raised."
    Report example:
    DATA: CL_EXIT  TYPE REF TO CL_EXITHANDLER,
          IF_USER_INSTANCE TYPE REF TO ZIF_EX_USER_MAILID1.
    CALL METHOD cl_exithandler=>get_instance
      EXPORTING
       EXIT_NAME                       = 'ZBADI_USERMAIL_DEF'
    *    NULL_INSTANCE_ACCEPTED        = SEEX_FALSE
    *  IMPORTING
    *    ACT_IMP_EXISTING              =
      CHANGING
        instance                       = IF_USER_INSTANCE
    *  EXCEPTIONS
    *    NO_REFERENCE                  = 1
    *    NO_INTERFACE_REFERENCE        = 2
    *    NO_EXIT_INTERFACE             = 3
    *    CLASS_NOT_IMPLEMENT_INTERFACE = 4
    *    SINGLE_EXIT_MULTIPLY_ACTIVE   = 5
    *    CAST_ERROR                    = 6
    *    EXIT_NOT_EXISTING             = 7
    *    DATA_INCONS_IN_EXIT_MANAGEM   = 8
    *    others                        = 9
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    so i found that all  EXITs  are in the Table " SXS_ATTR" 
    but  what i have created BADI  has not exist  in that Table so that  it gets  an  Exception(while i'm debugging found this)
    so kindly tel me whats problem my BADI "ZBADI_USERMAIL_DEF"  not maintained that  Database table
    but  in Implentation class  its working fine..

    yes i have created  badi  in  Enhancement spot so  regarding what u told i'm using  GET BADI  and CALL BADI
    DATA:W_HANDLE TYPE REF TO ZBADI_USERMAIL_DEF.
    GET BADI W_HANDLE.
    CALL BADI w_handle->get_user_mailid
      EXPORTING
        uname  = UNAME
      changing
        mailid = W_EMAIL
    WRITE: / 'UNAME:',UNAME.
    WRITE: / 'EMAIL ID',W_EMAIL.
    CALL BADI w_handle->get_user_address_data
      EXPORTING
        uname    = UNAME
      changing
        addrdata = W_ADDRDATA
    IF W_ADDRDATA IS NOT INITIAL.
      WRITE: / W_ADDRDATA-BNAME,W_ADDRDATA-NAME1,W_ADDRDATA-NAME2,W_ADDRDATA-TELPR,W_ADDRDATA-TELNR,W_ADDRDATA-TEL01.
    ENDIF.
    but  here  BADI  are not  called 
    Interface implementation class methods  not  executed  so kindly tel me whats problem here.
    Thanks in Advance
    sivakumar

Maybe you are looking for