D11.5 and AS 3

I have racked my brain over a seemingly simple question that turned out to be far more difficult for me than expected.
I want to pass three variables from a Flash CS4 movie to Director 11.5 lingo. Not being a Flash expert, I got stuck with an incompatibility issue between AS3 and D11.5. The GetURL method mentioned in the D11.5 manual refers to the (outdated) AS2, and I couldn't get the function *getValue()* to work either.
The Flash .swf movie that I imported into Director as a Flash spriteworks well. It passes the three variables to the Director message window via the trace command, but there is no way to extract them from there in Lingo.
And I cannot revert to AS2, because I'm using AS3 with an OpenCV face tracking routine.
So could anybody please help me showing me how to pass the variables from AS3 to D11.5 (similar to the AS2-based example shown here: <http://kb2.adobe.com/cps/147/tn_14798.html>)? I need a simple code sample that I could then integrate into my existing face tracking AS3 script.

Just in case anybody is interested – I found a solution that works with AS3 and D11.5 Lingo.
In AS2 I could pass a string variable to Director Lingo with a  "getURL(StringVal))" command. In Lingo I would read it with these lines of code:
  on getURL me, stringFromFlash 
    x = stringFromFlash
    put x (or whatever...)
  end
When I replaced the getURL method with the following code in my AS3 script
"navigateToURL(new URLRequest(StringVal));"
For good measure I added a few tablespoons of imports at the top of the recipe:
    import flash.net.URLRequest;
    import flash.net.URLRequestMethod;
    import flash.net.URLVariables;
    import flash.net.navigateToURL;
A Flash expert could probably tell us which ones aren't essential.
it worked! Please don't ask me why :-)
Of course, any numerical data can be converted to a string in Actionscript and converted back to numerical data in Lingo.

Similar Messages

  • Convert to D11 and stage disappeared

    I'm updating a project to D11 Win. Among other things, the
    project contains multiple movies and MIAWs. After straightening out
    some issues with xtras, I managed to start my project file. While
    performing the following series of steps
    open MIAW
    send stage from one movie to next
    close MIAW
    I somehow lost the stage. It's the weirdest thing. I've
    restarted Director and the computer. When in author mode, the stage
    is gone. I've toggled its display on and off using CNTRL+1. I've
    used the message box to check its rect and its visible property. I
    can view any other window -- script, paint, etc. The stage is just
    a generic gray background no matter what movie I open.
    The stage isn't docked anywhere. It doesn't appear to be
    hidden. I only have one monitor (laptop). It's just -- gone. If I
    open a movie and publish it, the projector stage appears just fine.
    But I can't find my author stage anywhere.
    I'm an advanced Director/Lingo guy (14 years of use) and I
    feel like a retard. Is this a bug?

    Replying to my own msg... I finally recovered the stage by
    selecting Window > Panel Sets > Director 8.
    I have no idea what caused it to disappear. If I can find a
    way to reproduce, I'll post.

  • I tried to update my version of itunes and now have no access I just keep getting the messgae  not MSVCR80.d11 Error 7 Windows error 126

    I tried to update my itunes and now can not access it at all.  I keep getting a message to that ther eis a problem with MSVCR60.d11 and an error 7 windows error 126 message....frustrating!!!

    See this User Tip by turingtest2
    https://discussions.apple.com/docs/DOC-6562

  • In need of reading and stripping out a href links in an off-line HTML file

    Hi there.
    I'm in need of some guidance with respect to the reading of a
    local
    (off-line) HTML file, in doing so I need to identfy all of
    the links held
    within the HTML file, ie., <a href...> ... </a>
    and have them populate a
    seperate list.
    My problem is in that in all of my years of using Director
    I've never dealt
    with external files to this kind of degree - and having take
    quite a break
    from Lingo for quite sometime as well, I'm kind of stuck as
    to where the
    heck I should start!!
    Any help/guidance would be hugely appreciated.
    Many thanks in advance.
    Thanks, Mark.

    Many thanks johnAq - your help is very much appreciated.
    Kind regards, Mark.
    "johnAq" <[email protected]> wrote in
    message
    news:gppbu1$cpu$[email protected]..
    > To get you started, there is some simple built-in Lingo
    (at least up unti
    > Director 10 - I don't have D11 and they changed the text
    engine so....)
    >
    > 1) Use Fileio to read in the html file into a string
    variable
    >
    > 2) Set the .html property of a #text member to the
    string variable text
    > you
    > read in from your file. This will automatically treat
    all of the links in
    > the
    > html and hyperlinks in the text member.
    >
    > 3) You can now access the .hyperlinks property of the
    text member, which
    > will
    > give you a list of all the links in the text - each
    entry in the list is a
    > list
    > of two items - the start and end chars of the hyperlink
    >
    > From there you should be able to rework things into a
    format you require
    >
    > hth
    >
    >
    > johnAq
    >

  • Connecting various old SPARCstations to a sony/SGI gdm20-D11

    Hi all,
    I have aquired quite a collection of old sparcstations here, and I would like to fire them up and try and get them working again.
    As can be seen from the subject, I'm trying to get an output on an SGI monitor, which i though was not possible, but an SS4 shows up fine on it. Sadly, none of the other workstations do (IPX, IPC, SS2, SS5). Does anyone know if there is a reason why the SS4 would be the odd one out?
    Also, i am connecting a keyboard and mouse to each machine as i try to get an output on the monitor, and it does emit a 'beep' when the power is switched on.
    Any pointers would be greatly appreciated!
    Cheers
    Jon

    Hi all,
    I have aquired quite a collection of old
    sparcstations here, and I would like to fire them up
    and try and get them working again.
    As can be seen from the subject, I'm trying to get an
    output on an SGI monitor, which i though was not
    possible, but an SS4 shows up fine on it. Sadly,
    none of the other workstations do (IPX, IPC, SS2,
    SS5). Does anyone know if there is a reason why the
    SS4 would be the odd one out?
    Also, i am connecting a keyboard and mouse to each
    machine as i try to get an output on the monitor, and
    it does emit a 'beep' when the power is switched on.
    Any pointers would be greatly appreciated!
    Cheers
    JonThere were one or 2 systems that had a jumper on them to allow or remove sync on green. It appears that the SS4 was one of them. Anyway, that is why it is working. There is a fairly simple (for a techie type) mod to open the 20-D11 and connect the sync lines from the 13W3 to the sync board. All circuitry is there, just never connected to the 13W3 connector. You can google for it. That way all the Sparcs will work fine... You will want to use Sun pins 5 (H/C) and 7 (V) on the 13W3 instead of the SGI mod directions pins to use 4 (H) & 5 (V).

  • Memory/resource management in Mac version of D11.5

    I have a Director project which loads significant text data for analysis. In the process of loading it creates new cast members filling them with data.
    With D11 and D11.5 after doing the import there appears to be not enough memory to keep all the important cast members and globals in memory.
    Originally this led to black screens where members did not load -- now I preload the movie so the black screens are gone.
    But key globals are not maintained so I now get script errors when trying to look at certain data.
    I have tried unloading the members that where created during the data load and setting the purge priority to 2 - next. I also tried creating empty cast members in advance to just dump the data into.
    I have increased the extra memory bit in the build screen to 3000000.
    None of this seems to help.
    The project is set up to save the data within itself on closing. So if I close the project and then reopen it --  all is fine and all data is available. ie Director has loaded only the cast members and globals needed and allocated memory needed.
    So why can't I get it to behave on the initial data import?
    The project has worked for years using Director MX 2004 but with Mac Lion and the demise of Rosetta that is no longer an option.
    BTW This is a Mac only problem and I have just enough Mac clients that I'm in trouble.
    Thanks

    Hi Pramod;
    We found this Notes:
    Note 1589308 - BRFplus - Dump in Web service generation
    Note 1693686 - CNS: Runtime error SYSTEM_ON_COMMIT_INTERRUPTED
    It´s not cleared because some Notes are talking about CRM, and I think it's a particular error from SAP PPM and BP's (Business Partner).
    Best regards,
    Mariano

  • Where put the files in Mac .app projector bundle?

    I just read a technote in the knowledgebase on considerations for creating a Mac projector bundle. For OSX, the note seemed to suggest that you should place them in the Contents folder.  The example they give has the executable in the MacOS and a file called example,dir in the Contents folder. I am trying to test a bundle I created in Windows Dir 11.5 on a PowerBook running Mac OSX 10.5.  My executable called launcher was automatically bundled into the .app/Contents/MacOS folder   Then I copied my dcrs into the Contents folder, the first of which menu.dcr is the first one the launcher goes to, but can't find it.  I tried placing the content in the same folder as the executable first, but that didn't work so I read the technote.  Now placing them in the Contents folder does not work either.  That technote seems a bit old so I am wondering where the app files go now and if the launcher can use a gotoNetMovie "menu.dcr" to find the first file of the app?  Everything works in Windows, but every single app I have tried to convert to Mac has required major adjustments so I expect the same here?

    Thanks Rob,
    I actually found that thread last night while looking for a solution from someone - I saw it on the right side of my question listed as - More like this, but have been waiting for one of my studnets to tell me if the test file I placed on the web worked or not. My PowerMac G4 can't handle these 11.5 .apps without crashing on sound and fileio etc etc. You also have to be careful not to forget to add the xtras to this new starter movie or script errors will occur.
    It is really amazing that the placement of files in a bundle was changed in D11 and Adobe did not include this in their documentation or in the help file. In MX 2004, linked files would logically go in the same folder as the executable /Content/MacOS.  Now the bundle has no idea where the linked files are and you have to create this stub movie to tell Director where to search. Cross platform application development is still a very important part of Director development and so this change should be documented and there should be a chapter in the Using Director explaining that creating a Mac .app from your Windows project will likely not work without a lot of tweaking of paths, fonts, sounds, net commands, fileio, etc. etc.  You should also be able to type ".app" or "bundle" into the help search system and get something other than topic not found.
    I will give you credit for your reply though - thank you!

  • Importing IDOC in XI for interface mapping

    Dear All ,
    In IDOC-XI-XML file scenarion , I am doing the interface mapping where I am giving the source(IDOC) and target(Data type ) . The problem I am facing is that I am not able to see any IDOC in the source . Can anybody plz explain <b>how to import IDOC from the SAP sytem</b> .
    Plz need your help asap .
    Thanks in advance .
    Prabhat

    Hi Moorthy,
    I checked connection in SM59 all r working fine using test connection.
    In XI I have created 2 different RFC's for R/3.
    1) "D11" with my personal login ID of R/3
    2) "D11-060" with some special login ID "XIRFCUSER" of R/3
    In IDX1 if i am using D11 and when i am trying to import Idoc in IDX2 i am getting error "Communication error: 'User ROHILLAU has no RFC authorization for functio'"
    But when i use D11-060 in IDX1 i am able to import Idoc in IDX2.
    But in IR-> Import SAP Object, I am using my ID for import and getting error "JCO.Client not connected in repository call"
    Is in IR i also need to use "XIRFCUSER".
    Thanks & Regards

  • Interfacing UART on Zedboard

    Hi,
    I want to use the the uart_tx and rx in my design. While making the pin connections in .xdc, I set
    set_property LOC D11 [get_ports uart_tx]
    set_property LOC C14 [get_ports uart_rx]
    (D11 and C14 are required pins, which I found from the Zedboard Hardware Reference Guide).
    But this gives me critical warning : cannot set LOC property of ports.
    I read somewhere that D11 and C14 belong to the PS so that cannot be connected this way in the .xdc? If so, how do I use the uart and where to make the connections?
    Thanks

    there are two ways to use the uart on the processor. The easy way is to write some C code and the hard way is to make an axi master and talk to the uart controller directly. Zynq uart controller is described in UG585 chapter 19 in some detail. 

  • Referring to Cells in Formulas problem.

    I have 2 Tables (and one chart) on one sheet. Table 1 has 3 columns viz. Dates, Electricity & Gas
    The Dates column looks like this
    01/01/11 - 31/01/11
    01/02/11 - 28/02/11
    01/03/11 - 31/03/11
    01/04/11 - 30/04/11
    etc etc
    Table 2 calculates the number of gas units and kWh of electricity used during the date intervals in Table 1. What I've (unsuccessfully) tried to do is when Table 2 calculates the number of gas units and kWh of electricity these are automatically entered in the appropriate cell next to the relevant date interval in Table 1.
    For example in Table 2 the number of Gas units is calculated in cell D11 and the kWh of electricity in cell I11 for a particular date interval corresponding to that in Table 1. The data in Table 2 are manually entered for each date interval given in Table 1. What I would like to do is get Numbers to automatically enter the value that is calculated in cells D11 & I11 in Table 2 into the appropriate cells in Table 1 e.g. for 01/01/11 - 31/01/11 the cells in Table 1 would be C4 & D4 for 01/02/11 - 28/02/11 the cells in Table 1 would be C5 & D5 and for 01/03/11 - 31/03/11 the cells in Table 1 would be C6 & D6 and so on up to 01/12/11 - 31/12/11 whose cells would be C15 & D15.
    I've tried doing what is suggested in the *'Referring to Cells in Formulas*' help page but I must be doing something wrong as it just isn't working for my Sheet and Tables. If anyone can hopefully understand my problem and point to a solution I'd be very grateful.
    If anyone wants a copy of the sheet to play around with they are more than welcome to have it it's just that I don't know how to make it available on this forum or show the tables as they are set out here on the forum.
    Thanks
    Thanks

    As Yvan said, it can't be done the way you want. I personally like to have the backup data behind calculations whenever possible, versus overwriting the older data. I would use separate tables instead of a single Table 2.
    I can't quite figure out your "dates". Is it one column or two? For example, is "01/01/11 - 31/01/11" in a single cell? I'm going to assume that's how it is and that it is column A.
    Here is how I might do it:
    1) I would move Table 2 to a different sheet (Sheet 2) and give it a name _exactly the same as the first period in column A_. In other words, it would be named "01/01/11 - 31/01/11" (without the quotes). This table will be for this period only. I would also go to the inspector and click "name" so the table name is shown above the table.
    2) In Sheet 1, Table 1 (your Table 1) I would use the following formula in what you said was column C and a similar one for column D
    =IFERROR(INDIRECT("Sheet 2::'"&A&"'::I11"),"")
    Note that '"&A&"' has triple-quotes around it. The first one is an apostrophe followed by a quote. The second is a quote followed by an apostrophe. The apostrophes are required due to some of the characters being used in the table names. Normally you wouldn't need them.
    3) For the next month, duplicate Table '1/01/11 - 31/01/11' by right clicking on it in the sidebar and choosing "duplicate". Reposition the duplicate on your sheet, rename it with another set of dates (make sure it matches exactly; copy/paste can be your friend), and enter the data for that period. Table 1 will find it automatically.

  • How to Set Portal Single Sign-On to cFolder

    Hi,
    We have configured cFolder to work with SRM ABAP (D11) and Portal (DJ1)
    and it's working fine.
    SSO also configured from Portal to SRM ABAP, ECC, and BW as backend withtype UIPWD.
    But SSO to cFolder doesn't work.
    Creating a system with alias SAP_CFOLDERS in the portal doesn't help.
    I have read [cFolder Integration with SRM 7.0 in RFx; and it said that:
    If you use NetWeaver Portal, SSO setting is same manner you did for SRM. Portal -> SRM and Portal -> cFolders.
    But the login window still appear.
    Please help.
    Thank you

    Hi,
      There should be a system ticket (basis term) need to be created. Please post this question in sap netweaver forum you may get answer there .

  • Tax - Michigan New Employers FUTA Debt Repayment Tax

    Hi,
    My client has implemented SAP note 1422655.  The note states to configure unemployment tax type 11 for Michigan state BEFORE applying the instructions of the note.  The configuration for tax type 11 for Michigan were not released to PRD before applying the note as stated.  What would be the consequences of applying the configuration now that the note is already applied?
    Your assistance is appreciated and will be rewarded with points.
    thanks

    Hi Arti,
      We have also applied note 1422655 and config tax type 11 in our PROD enviornment. After the application we are encourtering negative TCRT for /D11 as a result of tax type 11 using the FUTA YTD wages. 
      The wage base to Federal /710 is generally lower than the MI /710.  If someone has tips and retros back it reduces the tips /D11 and the /411 in the same proportion they were accumulated. This isnu2019t accurate as the /F11 base doesnu2019t change. The reduction  should only be on the /411 unless the /F11 base changes. This is causing negative taxes for the D11 tips because the new change reduces the /D11 below what it was actually accumulated.
      Also any partners who have moved from one state to another are accumulating MI surcharge on other state /710 wages because the federal base /710 is being used for the tax calculation. A MI employer should not have to pay /410 taxes on wages accumulated in another state.
      I have an note out on this issue but has tip and transfer between states been looked at?
    Thanks.
    May

  • Different files in Mac Device Menu & Favorites Menu?

    My list of files has grown exponentially over several years. The list of files shown on my Mac is different depending on where I search for my file.It depends whether I select from the DOCUMENTS FROM FAVORITES or DOCUMENTS FROM THE HARD DRIVE NAME. There is a something simple which I am overlooking.  I would like to find all my files always in one place.

    Thanks Rob,
    I actually found that thread last night while looking for a solution from someone - I saw it on the right side of my question listed as - More like this, but have been waiting for one of my studnets to tell me if the test file I placed on the web worked or not. My PowerMac G4 can't handle these 11.5 .apps without crashing on sound and fileio etc etc. You also have to be careful not to forget to add the xtras to this new starter movie or script errors will occur.
    It is really amazing that the placement of files in a bundle was changed in D11 and Adobe did not include this in their documentation or in the help file. In MX 2004, linked files would logically go in the same folder as the executable /Content/MacOS.  Now the bundle has no idea where the linked files are and you have to create this stub movie to tell Director where to search. Cross platform application development is still a very important part of Director development and so this change should be documented and there should be a chapter in the Using Director explaining that creating a Mac .app from your Windows project will likely not work without a lot of tweaking of paths, fonts, sounds, net commands, fileio, etc. etc.  You should also be able to type ".app" or "bundle" into the help search system and get something other than topic not found.
    I will give you credit for your reply though - thank you!

  • Functionalities in an Off Line Scenario

    Dear All,
    I am working in a client that is not able to use RTA`s because of the version of their systems. I have been able to run Risk Analysis, but I don`t have documentation regarding other functionalities. Does any one know if the following functionalities work and how they work in an Off Line scenario:
    1. Mitigation
    2. Alerts
    3. Cross System analysis
    Thanks very much for your answers,
    Best regards.
    Luis Herrera

    Many thanks johnAq - your help is very much appreciated.
    Kind regards, Mark.
    "johnAq" <[email protected]> wrote in
    message
    news:gppbu1$cpu$[email protected]..
    > To get you started, there is some simple built-in Lingo
    (at least up unti
    > Director 10 - I don't have D11 and they changed the text
    engine so....)
    >
    > 1) Use Fileio to read in the html file into a string
    variable
    >
    > 2) Set the .html property of a #text member to the
    string variable text
    > you
    > read in from your file. This will automatically treat
    all of the links in
    > the
    > html and hyperlinks in the text member.
    >
    > 3) You can now access the .hyperlinks property of the
    text member, which
    > will
    > give you a list of all the links in the text - each
    entry in the list is a
    > list
    > of two items - the start and end chars of the hyperlink
    >
    > From there you should be able to rework things into a
    format you require
    >
    > hth
    >
    >
    > johnAq
    >

  • Importing in 11

    In Director 11, what types of 3D files are permitted to be
    imported? Ex: Can I import Inventor files or ProE files?

    jtspears3450 wrote:
    > In Director 11, what types of 3D files are permitted to
    be imported? Ex: Can I import Inventor files or ProE files?
    As Sean said, it's unlikely for a new 3D format to be
    supported. Adobe have announced all the features of D11 and a new
    3D format was not one of them. Adobe have said that 3D will
    be given more focus in the next version. So, if you have any
    suggestions for 3D support, send them Adobe's way.
    regards
    Dean
    Director Lecturer / Consultant / Director Enthusiast
    http://www.deansdirectortutorials.com/
    http://www.multimediacreative.com.au
    email: [email protected]

  • Price policy Adobe

    I'd love to know the reason Adobe makes the upgrade so bloody
    expensive for non-US citizens.
    Maybe Allen Partridge could shed some light? The past weeks I
    read somwhere that it would be so resellers
    could actually make a profit, but this upgrade is only
    available as a download, so that doesn't fly!
    And maybe Adobe could also officially post a webpage
    explaining why some much needed changes (multiple undo for one) are
    still not included in D11 and when the next update is scheduled? If
    most of the changes are made under the hood it would be nice to
    communicate that too, just so not too many more developers are
    pissed of the following days and weeks.
    Anyways, if anyone knows a way to buy the upgrade in dollars,
    let us all know!

    allsgoodandwell wrote:
    > Hi Dean - I'd also heard about that software, but then
    I'd also heard that it
    > won't work unless you're using a US-registered credit
    card, which makes it a
    > bit useless for most of us! Not having tried it myself,
    I don't know how true
    > that is, but it's something to bear in mind.
    I don't know how true that is. I have not tested it myself
    but know someone who has
    and said it worked perfectly fine for him/
    > When upgrading to CS3 I called the UK sales office
    asking what would happen if
    > I asked a friend to buy a copy in the States and bring
    it over - they said that
    > serial numbers are tied to territories, so they wouldn't
    guarantee I'd be able
    > to upgrade from a UK to US version. And even if it
    worked, they wouldn't
    > confirm it would activate, or even then support it in
    any way. However - they
    > were vague; whether or not it would have worked I don't
    know. I was a scaredy
    > cat and just forked out for the local version of CS3.
    The above is a lot of #@%^$%. Adobe don't make serial numbers
    locked to locations.
    And I don't believe they would refuse support for a
    legitimate copy of software.
    Here's a local story for you. A few years back, Sony sued a
    technician in Australia
    for offering services to unlock playstations from playing
    region specific DVDs and
    games. Sony claimed he was breaking copyright rules by
    allowing pirated software to
    be played on the machines. Sony actually lost the case. The
    judge said while the
    use of pirated software on the unlocked machines is an
    unfortunate situation, Sony
    don't have the right to monopolize the local market and
    charge higher prices than
    those available from overseas or online, and it is unfair to
    restrict legitimate
    purchaces from those places. So, according to Australian law,
    it is perfectly legal
    to buy software or DVDs overseas and use them here, and any
    company that attempts
    to prevent this would be breaking our law. Anyway, just a
    story. Not sure if this
    is the case worldwide, but I was impressed with what
    happened, which created a
    precedeant for the future.
    regards
    Dean
    Director Lecturer / Consultant / Director Enthusiast
    http://www.deansdirectortutorials.com/
    http://www.multimediacreative.com.au
    email: [email protected]

Maybe you are looking for

  • If statement in drop down

    I have dynamic values in drop down menu. that contains user names. it is used to send feedback. I want that if admin logins then show all user names, else show only 'admin' in the drop down box. how can I use if statement in drop down? ResultSet rset

  • Account Group and partner functions in customer master records

    Hi Gurus, I need your help to confirm the following understand if correct: 1. To create customer master record for partner function Ship-To, need to create a customer master record using the uniquely assigned account group for Ship-To , that is, 0002

  • Output error of Remittance Challan (T. Code J1INCHLN )

    TDS Remittance Challan u2026..Due to change in tax, ( from separate tax to combined tax), we had to change  setting in SM30 table name J_11EWT_SURC  ( the check box check removed ). For new entries, output of Remittance Challan (T. Code J1INCHLN ) sh

  • What exactly can AXIS Adapter do?

    Can someone give me a scenario when only SOAP Adapter is not enough and I will have to deploy AXIS adapter to complement SOAP adapter? Is AXIS adapter useful even if i am not implementing any 'message-level' security? Can message be posted to AXIS ad

  • SAP Script :  Date is Boxes ??

    Dear All, I wanted to print date in boxes. i,e MM DD YY in boxes. I am doing like this. /: SET DATE MASK = 'MM.DD.YY' and then playing with Box Command, to draw vertical lines in between DD, MM and YY... with BOX HEIGHT '0.5' CM FRAME 10 TW BOX XPOS