Flash 8 objects created in Director 10.1.1

OK, I'm pulling out my hair here.
In Director MX2004, with Flash 7 movies, everything was
dandy. I was able to create an object in Director and pass it into
Flash and all was good:
-- In Director
myFlashObj = sprite(1).newObject("Object")
myFlashObj.name = "my name"
myFlashObj.age = "my age"
sprite(1).functionToReceive(myFlashObj)
-- In Flash
function functionToReceive(newObj){
var i:String;
for (i in whichObj) {
trace("whichObj."+i+" = "+whichObj
Trace output:
whichObj.name = my name
whichObj.age = my age
See how simple?
Well, as soon as I upgraded to the (secret, hard to find on
the site) 10.1.1 Director update, this no longer works. The object
is created (Director sees it as an object). Director can set and
get the values. BUT Flash no longer sees it as an object.
I've tried other methods:
- call a Flash function that creates an object and returns it
to Director
- Return a Flash object that already exists using getVariable
No matter what I try, Flash doesn't recognize any of the
properties that I add.
Arrays still work fine. Using the new "convert" method to
convert a list to a flashObjectArray works fine. But no objects.
Any ideas?
I tell you, the 10.1.1 update was meant to fix just a few
things (QuickTime and Flash 8 support), and I've had nothing but
problems with every one of the updates.

So I should have made the project AS2 if I wanted Director
functionality...
I guess I can just make the search feature a separate EXE and
have the SWF presentation open in a separate window.
I know this is a Flash forum question, but maybe you know the
answer Mike:
How can I open an EXE (or an .app file) from the SWF?
Rafael.

Similar Messages

  • Newbie needs help with passing variables or creating flash object based on parameters

    Hello Community,
    I'm an amateur developer of Ms Access databases. In one of my applications I want to visualize the options available when reaching a certain score.
    What I'd like to get from this trial period, is a flash animation of a dartboard. Depending on an array of variables that provides the fill color (or reference thereof) the layers of the flash object will be dynamicly created, altered, or switched. The dartboard itself remains "static". I'm hoping to use 9 colors.
    I can manipulate the array any way needed. I can provide XML coding to pass the array variables. I'm just too new and untrained to incorporate this in a Edge animation or Dreamweaver.
    There is no need for interaction, once the object is created (ie no user feedback).
    Can someone point me in the right direction?
    thanks in advance,
    Jay from Stockholm

    Hi,
    I see you're using System.Data.OracleClient (which has been deprecated by MS) rather than Oracle.DataAccess.Client, but this works for me with Oracle's ODP, maybe it will help.
    Cheers,
    Greg
    using System;
    using System.Data;
    using Oracle.DataAccess.Client;
    using Oracle.DataAccess.Types;
    public class dataadapterfill
        public static void Main()
            using(OracleConnection con = new OracleConnection("user id=scott;password=tiger;data source=orcl"))
                con.Open();
                using(OracleCommand cmd = new OracleCommand("select ename from emp where ename = :1", con))
                    cmd.Parameters.Add(new OracleParameter("myename", OracleDbType.Varchar2, 50)).Value = "KING";
                    OracleDataAdapter da = new OracleDataAdapter(cmd);
                    DataSet ds = new DataSet();
                    da.Fill(ds);
                    foreach (DataRow row in ds.Tables[0].Rows)
                        Console.WriteLine("ename: {0}", row["ename"]);
    }

  • Saving flash object in lingo?

    Hi,
    I want to use multiple Flash movies in one Director movie
    with one XML
    file (UTF8).
    Is it possible to load the XML data into flash and save it as
    object to
    a Director global and later put this object on another flash
    sprite?
    If I have lots of XML data my flash would take a long time to
    load and
    parase the XML data again and again.
    Is it a good idea to store flash data into director?
    TIA

    SylvainT wrote:
    > Global ocbject :
    >
    > myFlashObject = newObject("XML")
    > -- Add Date to it and Parse it.
    >
    > mySpriteFlashObject =
    sprite("myFlashSprite").newObject("XML")
    > mySpriteFlashObject = myFlashObject
    >
    > I hope this helps
    Sorry I don't understand this.
    First I parse my XML data in flash and create an array of it.
    I tried to get an array from Flash and store it's Data in my
    Director
    Movie. I tried just to get it via getVariables but I get an
    empty string
    instead of an array back.
    fl2 = sprite(9).getVariable("_level0.strary",false);

  • How to read a local file using as3 in a flash object in HTML? [urgent]

    My web site contains a flash object.
    I want to use as3 to read some local .txt file
    by getting the user directory of the file.
    i know AIR can support this by sth like:
    File.desktopDirectory.resolvePath
    but when i open a AIR file for this, it seems
    the action cant be run when i embed it in html.
    And i tried to use the above function in a normal
    flash file in the action script.
    But it cant recognize the File. class..
    How can it be done ?
    It's reli urgent,
    please help...
    Thanks !

    a web based flash app can't detect user directories.  you can use the filereference class'es browse method to let the user locate a file in any directory the user wants.  flash can then retrieve the file's name and type.  but, as mentioned before,  flash can't determine the file's directory.

  • Can there be buttons/links on or in flash object?

    Hi, I have no idea how to ask this question properly. I am only designing this, not making it, so simple answers for me would be good, but also technical answers that I can pass on to the flash person.
    On my home page, I am going to have 3 images that switch out, each that need to have a "learn more >" link and a 1, 2, 3, and pause buttons.
    My question is whether or not these image buttons/links can be placed on or embedded in the flash object. I read this is not possible and that buttons or links have to be separate from flash. Ideally if I wanted to place a "go" button on top of my flash image, that would be great.
    However I have been told the only option is to make one side of this in photoshop where I have the buttons and then place that next to the flash image. My example of this would be the msn.com home page.
    If further descriptions are needed I can post an example.

    Your image hasn't loaded yet, so I'll describe what you should do.  Chances are you will only need one set of buttons to manage everything rather than creating a set for each image.
    If you want to convert each of these items into usable buttons, then select one of them, being sure that all its pieces are selected, then right click on it and select Convert to Symbol ( select it and in the toolbar choose Modify -> Convert to Symbol).
    In the interface that appears, select Button (you could also select MovieClip, but for now, select Button) and give it a name that relates to its functionality in some way, just so it is recognizable by its name in the library.  Click OK.
    Do that for all of the items you want to turn into buttons.  To make things easier to manage, you should place the buttons on their own layer in the timeline.
    If you are handing this over to someone who knows Flash, they should be able to deal with coding the buttons to function the way you want.

  • HTML page with FLASH object doesn't reload upon a redirect

    Am using:  ECC 6.0 and ABAP SAPGUI development
    Hi All,
    I'm seeing a frustrating issue that i'm hoping others have seen and resolved.
    Here is what i'm attempting and below that is the issue:
    1)  I have created a ABAP program in which i'm using the HTML viewer (class:  cl_gui_html_viewer ) within a container that is on one of my ABAP screens.
    2)  I load up a web page on our (intra)network that displays an HTML page that has a nice FLASH navigation object.  This navigation object operates as such - when a node is clicked it will go to another html page (on the same network) that will then parse apart what node they clicked on and via javascript submit a form in which I've defined a SAPEVENT for.
    3)  My ABAP program has defined the event handler for this sap event and calls the appropriate method just fine (ON_SAPEVENT).  I am able to trap the event details and do some other things.
    This is all working just fine, except....I want it to then go back to the first page (original page) that contained the FLASH navigation on it upon after the page that trapped the SAPEVENT is complete automatically.  Easy? - that's what I thought...I tried several different ways to do this "go_back" on the html control, "show_url" (with the original URL)...even a redirect in the actual html page itself to go back.
    They all DO go back to the first page, however my flash navigation object on that page NEVER shows up!  It's almost like the frontend is thinking it is already loaded and will not load it again.  I thought maybe I need to do a "flush" or some such - but that didn't seem to solve it.  Has anyone seen this and resolved it or knows what this is?  The thing is...I can completely exit out of the program - and the flash object will load just fine (but only after I wait a minute or so).  What gives...anyone know?
    Thanks in advance,
    Matt

    Am using:  ECC 6.0 and ABAP SAPGUI development
    Hi All,
    I'm seeing a frustrating issue that i'm hoping others have seen and resolved.
    Here is what i'm attempting and below that is the issue:
    1)  I have created a ABAP program in which i'm using the HTML viewer (class:  cl_gui_html_viewer ) within a container that is on one of my ABAP screens.
    2)  I load up a web page on our (intra)network that displays an HTML page that has a nice FLASH navigation object.  This navigation object operates as such - when a node is clicked it will go to another html page (on the same network) that will then parse apart what node they clicked on and via javascript submit a form in which I've defined a SAPEVENT for.
    3)  My ABAP program has defined the event handler for this sap event and calls the appropriate method just fine (ON_SAPEVENT).  I am able to trap the event details and do some other things.
    This is all working just fine, except....I want it to then go back to the first page (original page) that contained the FLASH navigation on it upon after the page that trapped the SAPEVENT is complete automatically.  Easy? - that's what I thought...I tried several different ways to do this "go_back" on the html control, "show_url" (with the original URL)...even a redirect in the actual html page itself to go back.
    They all DO go back to the first page, however my flash navigation object on that page NEVER shows up!  It's almost like the frontend is thinking it is already loaded and will not load it again.  I thought maybe I need to do a "flush" or some such - but that didn't seem to solve it.  Has anyone seen this and resolved it or knows what this is?  The thing is...I can completely exit out of the program - and the flash object will load just fine (but only after I wait a minute or so).  What gives...anyone know?
    Thanks in advance,
    Matt

  • Problem for web service path for Xcelsius engage in flash object

    Hi, All
    I had created one xcelsius through Web Service of SAP B1.it works well.
    but when I run the flash object came from xcelsius by explorer,it gives one message
    "Can not access external data"
    thier I have to give path for swf file and web service path -- (which is given at the time of connection of xcelsius through web service in data manager)
    and I have to run the web service then it shows
    the dash board made from Xcelsius very well.
    but when i change the path of same web service to other m/c then flash file does work and it gives message
    "Can not access external data"
    but in practical my web service path can be changed, it should not fixed for path which is given in data manager in Xcelsius.
    I am using Xcelsius Engage 2008 sp3
    please give suggetions for solve the problem
    thanks in advance

    Hi Venky CRMIT, Bruce007
    Aside from the question, I tried another methods and I have succeeded calling webservice. A reference URL is
    http://www.webbasedcrmsoftware.com.au/crm-on-demand-tutorials/65-java-access-to-crm-on-demand#_Toc224720963
    Main cause may be jsessionID as you guess. When I try with EAI, I have send login information and message call at once, so URL may be incorrect.
    Thank you for your help.

  • Running flash objects in forms 6i

    Dear all,
    I am trying to run a flash object (.swf) file in my forms.
    My version of oracle forms 6i is Forms [32 Bit] Version 6.0.8.11.3 (Production)
    I created a new forms
    then placed an active X control
    Then by selecting its properties i select ShockwaveFlash.ShockwaveFlash.10.
    After this I select this control and right click and chose the same shockwave flash
    After this I chose full methods and properties for shockwaveFlash in program menu-->import ole library interface
    after doing all this i wrote the code in "when-new-form-instance"
    DECLARE
         oleitm1 OLEOBJ;
    BEGIN
    GO_BLOCK('DUMMY');
    SYNCHRONIZE;
         oleitm1 := :item('DUMMY.OLEITM').INTERFACE;
         ShockwaveFlash_IShockwa_0.Movie(oleitm1,'C:\1.swf');--it can be dynamic.
    END;
    I compiled it by Ctrl+shift+K
    no error.....
    But when i run this program it gives the following error
    FRM-41344: OLE object not defiend for OLEITM in the current record.
    I have tried to resolve this error by searching on Google, but found no proper solution.
    I might me missing some steps.
    Kindly suggest and guide.
    Thanks.....

    one more thing i want to say here is that
    even i try to use any other object like html file or something
    I got the same error..

  • Prevent the browser to read cached Flash object

    I have a slideshow Flash object which pics filename are
    supplied by an .XML
    file created dinamically every time the page loads.
    Unfortunately the .SWF is always being read from cache even
    though the .XML is changed
    correctly. The Flash movie always shows the pictures loaded
    at start of the application.
    I am able to refresh the Flash movie if:
    - I restart the application;
    - I set the browser setting to check for newer version of
    stored pages to "every time";
    - after 5/10 minutes have elapsed from the last reloading
    (couldn't find a real pattern here);
    To prevent caching I have tried the following:
    - Added a random number at the and of the URL that calls the
    page (...&r=#rundomNumber()#)
    - Added <META HTTP-EQUIV="Expires" CONTENT="Mon, 04 Dec
    1999 21:29:02 GMT">
    - Added <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    - Added <META HTTP-EQUIV="Cache-Control"
    CONTENT="no-cache">
    in various combinations.
    - Used <cfheader name="Expires"
    value="#GetHttpTimeString(Now())#">
    - Modified the param name="movie" to
    <param name="movie"
    value="Gallery.swf?id=#randomNumber()#" />
    or to
    <param name="movie"
    value="Gallery.swf?id=#randomNumber()#&xmlPath=gallery.xml&id=#randomNumber()#"
    />
    also
    Opening the Gallery.fla with Flash 2004 in the Component
    Inspector, parameter xml Path = gallery.xml changed to
    "gallery.xml?id=1"
    or
    "gallery.xm?Math.round(Math.random() * 99999
    all this to prevent the browser to read from cache and
    download a fresh copy from the server, but to no avail.
    Is there something else to be tried?
    Thank you for helping.
    ContiW

    Click in your page where you want the SWF to go, then select
    Insert > Media > Flash from the menu (or maybe Insert >
    Flash ... DWMX goes back a way).
    Charles Nadeau
    Dreamweaver
    Adobe Systems

  • Calling a Flash object HTTPS (  only in IE, not loading the first time )

    Hi everyone !
    I'm trying to call a flash object from a bsp page, I've uploaded the flash into the mime repository (via the SE80). It works quiet well in Firefox, but with IE, i need to refresh the page, it won't load the first time i access the page.
    Does anyone has any idea ?? do i have to customize something within the SICF ?
    thx for the help
    merry Xmas
    Quentin

    Solved it, I created a page to call the flex from the MIME
    here it is :
    DATA: w_xstring TYPE xstring.
    DATA: w_mimetype TYPE string.
    * References
    DATA: w_url TYPE string.
    CONCATENATE 'sap/bc/bsp/sap/Z0008/' url  INTO w_url.
    CALL FUNCTION 'Z_FLEX_MIME'
      DESTINATION sy-sysid
      EXPORTING
        url        = w_url
      IMPORTING
        l_xstring  = w_xstring
        l_mimetype = w_mimetype.
    response->set_data( w_xstring ).
    navigation->response_complete( ).
    EventHandler Oninitialization :
    sap/bc/bsp/sap/Z0008/ is the url to my swf file in the SICF
    Module Function  Z_FLEX_MIME
    FUNCTION Z_FLEX_MIME.
    *"*"Interface locale :
    *"  IMPORTING
    *"     VALUE(URL) TYPE  STRING
    *"  EXPORTING
    *"     VALUE(L_XSTRING) TYPE  XSTRING
    *"     VALUE(L_MIMETYPE) TYPE  STRING
    * References
    DATA: lo_mr_api TYPE REF TO if_mr_api.
    * instantiate MIME API class
    CALL METHOD cl_mime_repository_api=>if_mr_api~get_api
      RECEIVING
        r_mr_api = lo_mr_api.
    * Get file from MIME repository
    CALL METHOD lo_mr_api->get
      EXPORTING
       i_url             = url
      IMPORTING
        e_content         = l_xstring
        e_mime_type       = l_mimetype
      EXCEPTIONS
        parameter_missing  = 1
        error_occured      = 2
        not_found          = 3
        permission_failure = 4
        OTHERS             = 5.
    ENDFUNCTION.
    If you have any questions please fell free to ask
    good day
    Quentin
    Edited by: Quentin Dubois on Feb 6, 2008 5:55 PM

  • Flash Objects Glitch in SSI Header

    Hello,
    I am trying to use an 800px X 250px Flash object that I
    created as a header graphic to be placed directly above my main
    horizontal menu. I am placing this object as a Server Side Include
    (SSI) at the top of every page in the site.
    The problem I've been experiencing it that every time I
    select a link from the main menu, the entire flash object glitches
    or disappears and reappears as the new page is loading and it will
    do this every single time even if the link I'm clicking on goes to
    a page that has already been loaded.
    Surely there must be some kind of work around for this kind
    of behavior? Could anyone help explain to me why this is happening
    and if there is anything I can do about it? I would like to have a
    bit of animation in my main header graphic, but if it's going to
    glitch every time someone clicks on a link to another page, then it
    seems pretty much useless and I'll have to go back to using a
    static image instead.
    Any help would be greatly appreciated!
    Thanks,
    Greg

    Yes, the link is:
    http://www.testing.neptuniandesigns.com
    The menu was created by
    http://f-source.com/buy/adobeMenu/
    and modified to look as I needed. It's essentially the exact same
    navigational menu found at the top of this Adobe forum. Try
    clicking on some of the links from the drop down menu and see the
    whole header disappear and reload. It happens very quickly, but
    looks absolutely terrible. There must be some kind of work around
    because the menu at the top of this very page is also a flash
    object and it remains stable and solid when selecting other links
    from the drop downs.
    If anyone knows of some kind of script or code modification
    to prevent my entire heading from glitching every time a link is
    selected, I would be eternally grateful.

  • Flash Object Display in GUI HTML VIEWER

    Is there a way to display html string in html viewer which contains the flash objects?
    Regards,
    Santhosh.

    Hi Santosh,
    Yes, create ABAP program in which use the HTML viewer (class:  cl_gui_html_viewer ) within a container.
    Please refer following links -
       About CL_GUI_HTML_VIEWER   -  http://wiki.sdn.sap.com/wiki/display/profile/2007/08/30/About+CL_GUI_HTML_VIEWER
       PDF for reference - http://help.sap.com/printdocu/core/print46c/en/data/pdf/BCCIHTML/BCCIHTML.pdf
    Thanks.
    Kumar Saurav.

  • Adding a flash object behind another object

    Hi, using dreamweaver 8, and I want to add a flash object
    behind an image.
    Basically I have downloaded an image of a retro TV, edited in
    Photoshop and taken the screen out. The TV is sitting on a
    transparent canvas, so that the screen would be transparent as
    well.
    I have a flash slideshow that I have created with
    simpleviewer. If I insert this to the web page it runs ok, but I
    would like to insert it behind the TV image, so it appears it's
    coming out of the TV.
    Is there any way that I can do this?
    Thanks in advance.

    Yes, but it will require a bit more work.
    Consider a 3 column by 3 row table. Make the flash element
    appear in the
    middle cell of the table, and have the TV image appropriately
    sliced so that
    the required images appear in cells 1-1, 1-2, 1-3, 2-1, 2-3,
    3-1, 3-2, and
    3-3, in effect surrounding the Flash element.
    You can do the same thing with background images as well.
    I used this on this page -
    http://www.neapco.com/n_why-neapco.php
    for that main content Flash element.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "kidbrooke2" <[email protected]> wrote in
    message
    news:funed7$bar$[email protected]..
    > Hi, using dreamweaver 8, and I want to add a flash
    object behind an image.
    >
    > Basically I have downloaded an image of a retro TV,
    edited in Photoshop
    > and
    > taken the screen out. The TV is sitting on a transparent
    canvas, so that
    > the
    > screen would be transparent as well.
    >
    > I have a flash slideshow that I have created with
    simpleviewer. If I
    > insert
    > this to the web page it runs ok, but I would like to
    insert it behind the
    > TV
    > image, so it appears it's coming out of the TV.
    >
    > Is there any way that I can do this?
    >
    > Thanks in advance.
    >

  • - About the new Flash object fix in 8.0.2

    Any way to tell DW8.0.2 not to automatically create a Scripts
    folder and new
    .js file when inserting a Flash object, but STILL have it
    insert the HTML
    portion?
    Reason I'm asking is because I've got the .js part included
    in my main .js
    file on all my websites. I don't like using a different .js
    for each script
    I'm using. So all I really want DW to do is insert the HTML
    portion
    correctly when I insert a flash object -- not create a new
    scripts folder or
    place any unnecessary .js files in there.
    Thanks.

    To you, perhaps.
    "Ken Binney" <[email protected]> wrote
    in message
    news:e5idfk$hb4$[email protected]..
    > It was certainly more useful than your response.
    >
    > "Reese" <[email protected]> wrote in message
    > news:e5i9cf$cnn$[email protected]..
    >> Did that really require stating?
    >>
    >> "DownWithBugs" <[email protected]> wrote in message
    >> news:e5i570$7pj$[email protected]..
    >>> You could write your own code and not use
    DW8.02's built in code that it
    >>> generates.
    >>>
    >>>
    >>> "Reese" <[email protected]> wrote in message
    >>> news:e5i3tn$644$[email protected]..
    >>>> Any way to tell DW8.0.2 not to automatically
    create a Scripts folder
    >>>> and new .js file when inserting a Flash
    object, but STILL have it
    >>>> insert the HTML portion?
    >>>>
    >>>> Reason I'm asking is because I've got the
    .js part included in my main
    >>>> .js file on all my websites. I don't like
    using a different .js for
    >>>> each script I'm using. So all I really want
    DW to do is insert the HTML
    >>>> portion correctly when I insert a flash
    object -- not create a new
    >>>> scripts folder or place any unnecessary .js
    files in there.
    >>>>
    >>>> Thanks.

  • Right clicking on a flash object causes all flash objects to crash

    whenever I attempt to right click on a flash movie or other flash based object the flash plugin crashes and takes all flash objects including those in other tabs with it. There does not seem to be any other problems with the plugin just that it crashes when an attempt is made to right click on any flash object.

    Try to create a new profile as a test to check if your current profile is causing the problems.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer some files from an existing profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over the problem.
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    You can check for problems with current Flash plugin versions and try these:
    *disable a possible RealPlayer Browser Record Plugin extension for Firefox and update the RealPlayer if installed
    *disable protected mode in the Flash plugin (Flash 11.3+ on Windows Vista and later)
    *disable hardware acceleration in the Flash plugin
    *http://kb.mozillazine.org/Flash#Troubleshooting

Maybe you are looking for