Flash sprite in Director: slow, slow!

It's not a new problem but maybe there's a new solution?...
I have a Flash game in a Director projector. The Flash games
works fine by itself (not embedded in Director), but inside
Director, everything runs much slower. Is there any ways to speed
things up?
Thanks
Serge

Yea Flash tends to run a bit slower in director, be sure the
default
direct to stage flash member property is set.
Mx 2004 has an updated flash xtra that runs a little more
effeciently,
with an option to run multiple flash sprites in the same
memory space.
There's a downloadable director update for flash 8.0

Similar Messages

  • How can I control the playback of a Flash sprite in Director?

    I'm trying the sprite(#).movierate method to specify playing,
    pausing, and rewinding but it's not working. What's the proper way
    of doing it? Any help will be very appreciated!

    sprite(X).play()
    sprite(X).stop()
    sprite(X).rewind()
    The movieRate property belongs to digital video member types.
    Rob
    Rob Dillon
    Adobe Community Expert
    http://www.ddg-designs.com
    412-243-9119
    http://www.macromedia.com/software/trial/

  • Passing flash array to flash sprite

    Hi,
    I am trying to pass a flash array like [{x:1,y:2},{x:1,y:2},{x:3,y:5}] from a flash sprite to Director lingo and back to another flash sprite. In director all looks fine when passing it back to the second sprite but the flash trace command just gives me undefined values. Can't I do this in lingo?
    in lingo:
        put " flashAry.length " &  flashAry.length
        flashObject.DrawAry(flashAry,"testxy")
    Output window:
    -- " flashAry.length 23.0000"
    in ActionScript
        function DrawAry(points:Array,test){
        trace(">DrawAry " + points + " " + points.length + " >" + test + "<")
    Output window:
    -- >DrawAry undefined undefined >testxy<

    Had a very similar problem and found a solution...
    Hope this helps....
    -- This GETS an array from Flash to Director
    -- 'myFlashArray' is the name of the array in your Flash file
    -- 'flaArray' is the new list created in Director
    -- And obviously, the flash file is on sprite 1
      flaArray = convert(#list, sprite(1).myFlashArray)
      put flaArray
    -- This SENDS a Director list to flash (as an array)
    -- 'zz' is just a temporary variable so the script is easier to read
    -- 'dirList' is your Director List
    -- 'myNewFlashArray' is the name of the newly created array in your flash file
    -- again, the flash file is on sprite 1 in this case
      dirList = ["item 1","item 2","item 3"]
      zz = convert(#flashObjectArray, dirList).toString()
      sprite(1).createVariable(#myNewFlashArray, zz )
    NOTE: I'm using an undocumented 'convert' function that is only available in Director 10.1.1 onwards...

  • Carriage return in TextArea Flash component in Director 11

    Hello.
    I have a very big problem now
    Neither embedded Flash movies with textareas or standard flashcomponent TextArea from Director tool pallete do not react on keyboard button "Enter" pressings. There is no carriage return after ENTER button is pressed. The same with End and Home buttons!!
    Please help with any advise.
    Is that a common bug?
    See attached test.dir file. Try to type something in both textareas and then press ENTER button on keyboard. You should realize then what I'm crying about(((
    Alexey

    I too struggled with this issue. If you're looking for a solution still I have written one. Used the attached script in your Flash document, I spent a few days going back and forth between Director and Flash to figure this one out. Basically what I do is attach a key listener to the movieclip containing the textfield object that on keyDown gets the currently focused textField (this way it will work with multiple textField objects). After that it determines if the enter key is hit and if it is inserts a "/n" break at the selection starting point. The only issue is if you select a whole word in the textField and hit enter a break will be placed at the beginning of the highlighted word and that word will not be deleted. Hopefully this helps.
    -b
    // BY / contempt.productions inc.  10.30.09
    // Director 11.5 fix for bug where dynamic textfields don't register ENTER or RETURN key in Flash sprites
    // Solution involves inserting a \n carriage return wherever cursor insertion point starts.
    // In Flash this adds 2 carriage returns for every hit of the enter/return key
    // In Director 11.5 it adds 1 carriage return
    // Change "body_txt" to represent the dynamic textField object this script is referencing
    myListener = new Object();
    myListener.onKeyDown = function() {
    _global.textFocus = Selection.getFocus();
    // get a string of the path to the currently focused textField object
    _global.selStart = Selection.getBeginIndex();
    // get the insertion point, this is the start of any selection
    var multiText = body_txt.text;
    // get the text from the current textField object
    var theKey = Key.getCode();
    // get the current keyCode (13 is the keyCode for "enter/return" key)
    if (eval(textFocus) == eval(body_txt)) {
    // determine if focused textField and current textField are the same
    if (theKey == 13) {
    // enter key is pressed
    var firstPart = multiText.slice(0, selStart);
    // get the current textField's text from the beginning to the insertion point
    var secondPart = multiText.slice(selStart, multiText.length);
    // get the textField's text from the insertion point to the string's end
    body_txt.text = firstPart+"\n"+secondPart;
    // concatenate the first and second part of the textField's text with a carriage return
    Selection.setSelection(selStart+1,selStart+1);
    // place the text insertion point properly
    myListener.onKeyUp = function() {
    var theKey = Key.getCode();
    Key.addListener(myListener);

  • I-beam cursor in flash sprites

    I'm having a problem with the I-beam cursor dissapearing in
    text fields in flash sprites. I'm using Director MX and flash MX. I
    see that this problem is fixed in the latest version of Director,
    but my client requries WinNT4 support, so I'm stuck using MX. Is
    there any way I can fix this, or at least minimise it?

    sussed it. i'd dimmed the screen brightness with 3rd party prog. Shades.
    colour change of cursor was affected by that, turning cursor white. whack the brightness up and all becomes normal again.
    hope that helps someone.

  • Playing Flash SWF in Director 11

    I created a simple navigation slide type show in Flash CS3
    and tried to use it in a portfolio that I'm creating in Director
    11. I imported the Flash SWF into Director and when I go to the
    file it plays automatically and keeps looping; my navigation
    buttons and actionscript 3.0 that I applied in Flash do not work
    (they do work in the SWF file played with Flash Player 9). I assume
    that I need a sprite script for my SWF cast member in Director, but
    I haven't got a clue as to what to script. I learned Director about
    12 yrs. ago, but haven't used it much since then . . . and I've
    just learned Flash CS3.
    PLEASE HELP . . .
    Thanks
    weet335

    Thanks for the tip, Dan! Now, I've got to ask . . . how
    different is AS2 from AS3? I don't know AS3 good enough to convert
    it to AS2. Where might I find some help for my AS3 script?
    Thanks
    weet335

  • Flash sprites user response

    When integrating Flash with Director - I have always in the
    past done the
    following:
    on (rollOver) {
    getURL ("lingo:cursor 280");
    on (rollOut) {
    getURL ("lingo:cursor 0");
    on (release) {
    getURL("event: gotoQ3PDF");
    I have always done the above as flash objects do not respond
    to mouse
    events - on rollOver and rollOut the basic, single lingo
    command to change
    the cursor, then on release I am executing an event (to
    perform multiple
    lingo commands) restoring cursor, goto frame/marker, etc...
    Has anything changed recently where you can do anytype of
    "global"
    command/script the does this across the board or does it
    still have to be
    hand-coded for each button in flash?? Our London office is
    doing some
    elements for us (in the US) for a CD project where there is a
    number of
    buttons in multiple flash movies....
    Thanks in advance!!!

    Thanks Rob --
    Dir MX2004 (w/flash 8 asset/xtra update) - Flash 8
    Excellent! Yes -multiple buttons (menu's) within individuals
    swf's
    Much better approach - as I am currently manually scripting
    individual
    events for each button - on(release)...
    Appreciate it!
    Michael
    "Rob Dillon - Adobe Community Expert"
    <[email protected]> wrote in
    message
    news:[email protected]...
    > What version of Director and what version of Flash are
    you working with?
    >
    > There is a Flash cursor behavior in the Director Library
    that will
    > handle the cursor change in Director, so you don't have
    to use getURL
    > for that part.
    >
    > What sort of action do you want to perform with these
    Flash buttons?
    > From you example it looks like you want some simple
    navigation control
    > in Director. Is each button a unique Flash .swf? Or do
    you have a number
    > of buttons in one Flash .swf? If each button is
    separate, then you could
    > just write a behavior as if the Flash sprite was any
    other button.
    >
    > If you have multiple buttons in any given .swf then
    you'll have to send
    > out a message from the .swf to initiate an action. There
    is a
    > mouseOverButton property for Flash members, but it can
    only tell if the
    > cursor is over a button, not a particular button.
    >
    > To give you flexibility and maybe simplify things, you
    could use a
    > getURL function in a behavior and set up a naming
    convention for your
    > Flash buttons. For instance, if you have four buttons in
    a Flash .swf,
    > name their instances sequentially, "one", "two", etc.
    then you can write
    > a simple actionscript function for the .swf:
    >
    > var buttonArray:Array = new Array(one,two,three,four);
    >
    > for (i in buttonArray) {
    > buttonArray
    .onRelease = function() {
    > getURL(this);
    > }
    > }
    >
    > this will send the name of the button instance that was
    clicked on to
    > the Director movie.
    >
    > Then you can just place a behavior like this on the
    Flash sprite:
    >
    > on getURL me,data
    > if data contains "one" then ....
    > end
    >
    > or use a case statement to parse out the string that was
    sent from the
    > Flash .swf.
    >
    > This might at least simplify the Flash development
    process.
    >
    > --
    > Rob
    > _______
    > Rob Dillon
    > Adobe Community Expert
    >
    http://www.ddg-designs.com
    > 412-243-9119
    >
    >
    http://www.macromedia.com/software/trial/

  • Flash slider in director

    I have a volume slider built in flash and i want to use it in
    director.
    In flash it works well. While the mouse is down i can drag it
    from one side to another.
    But in director, it works has a simple click. The drag
    doesn't work.
    How can i solve this?

    Do you have a behavior attached to the Flash sprite?

  • What is happening with Firefox; it is getting slower & slower from v5 thru 6 & now v7; it basically will not load webpages on start and is then very slow?

    Firefox
    Version
    7.0
    User Agent
    Mozilla/5.0 (Windows NT 6.1; rv:7.0) Gecko/20100101 Firefox/7.0
    Since V5 thru v6 and now v7 firefox has been getting slower & slower particularly at logon and is now virtually useless.
    IE9 is working Ok.
    Problem is occurring on two different computers.
    Have doe necessary maintenance clearing cache, etc and on computer running registry mechanic, win Optimiser * and norton computer maintenance regularly
    Any suggestions appreciated?
    Regards
    Bob

    Hi lda1979, 
    Welcome to the forum and thanks for your post. 
    I am so sorry that your order has been delayed and you are not getting any information on this. 
    Can you send me in your details using the "Contact The Mods" link found in my profile and I will find out what is happening. 
    Cheers,
    OlgaC 
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry that we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Urgent, DEADLINE : Editable Flash field in Director

    Hi
    Following problem
    we have Flash Textfields in Director
    At start the are not editable, then on demand they are made
    editable - .
    If there is some text in the field, it becames selected.
    Not when I enter some text from keyboard, the text in flash
    field
    disappears. It looks, like it looses focus or something like
    this
    But when I press left or right arrow before and then enter
    some text, the
    text appears in the field as desired.
    What can be the cause of this?
    And another question - can I simulate klick on left arrow
    from director to
    flash field?
    Any help will be appreciated
    Thanx in advance

    Hi,
    You need to use the USER_COMMAND in the ALV function module
    {CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    i_callback_program = gd_repid
    i_callback_user_command = 'USER_COMMAND'
    i_callback_pf_status_set = 'GUI_STAT'
    *i_grid_title = outtext
    is_layout = gd_layout
    it_fieldcat = fieldcatalog[]
    *it_special_groups = gd_tabgroup
    *it_events = it_events
    i_save = 'X'
    *is_variant = z_template
    TABLES
    t_outtab = i_final
    EXCEPTIONS
    program_error = 1
    OTHERS = 2.
    then you need to write the below FORM
    *• FORM USER_COMMAND *
    *• --> U_COMM *
    *• --> RS_SELFIELD *
    FORM user_command USING u_comm LIKE sy-ucomm
    rs_selfield TYPE slis_selfield.}
    Here in the Form, Write the UPDATE statment to update the database table
    Regards
    Sudheer

  • Slow Slow Slow emac: More

    There have been some discussions over the past few months that apply to me:
    +Slow Slow Slow eMac, Desperately need help with eMac, Can I salvage my e-mac, or is it time to upgrade to an iMac.+
    Background: I have an eMac: Purchased in 1984: Panther 10.3.9 It's 1.25 GHz PowerPC G4; 1GB DDR SDRAM; 80GB HD; DVD/CD Superdrive. It came with 2@256 but I upgraded memory to 2@512 (crucial memory) about 12/2006. Of the 80GB about 23GB is left=~57 in use. Of this, a lot is in iPhoto, perhaps 26GB or so. We upgraded the memory as the speed was slow back in 2006, but it didn't markedly increase speed. We also have a 120GB LaCie drive (Firewire) that we put a copy of our eMac Hard Drive onto for back up.
    I'm wondering how to get the eMac to be peppier/faster.
    Ideas/Questions/Issues:
    (1) _General Maintenance:_ The Slow Slow Slow eMac thread mentioned MacJanitor if the maintenance needs help. I did this: OK, but not much change. Perhaps it’s not altogether necessary as the eMac may normally run the appropriate scripts.
    (2) _Defragmentation Software_: Again, the Slow Slow eMac thread mentioned two things from the MacUpdate site: (1) a tool, +ShowVolumeFragmentation (0.80)+ that will show the level of fragmentation, & (2) a commercial tool to use to actually do the defragmentation work. (1) This tool didn’t load on my Panther machine & the +HFS Debug-3.10+ (a part of the ShowVolumeFragmentation tool) didn’t install, BUT perhaps it doesn’t matter because it might be good to just use a commercial defragmentation tool anyways. (2) MacUpdate identified a tool +iDefrag 1.6.6+ for (a) Demo which is limited to only 100MB drives & (b) a $35-$36 download version. Questions: (1) has anyone used this tool +(iDefrag 1.6.6)+ & if so does it work well; (2) is there another defrag tool that works well? The MacUpdate site brings up some others for the Defragment search; and (3) based upon my background information above, is defragging a reasonable thing to pursue?
    (3) _Tiger O/S:_ Not that anyone has suggested this, but would upgrading to the next—albeit not the most current—O/S be worthwhile?
    (4) _Panther O/S reinstall_: (a) +Erase & Install+ (b) +Archive & Install+. The Slow Slow eMac mentioned the +Erase & Install+, but it would erase everything. I understand that this would be effective as it goes back to a clean starting point, but what’s the experience & value in doing this (comment?). Perhaps saving everything on our LaCie drive first, then pulling back what’s needed would keep the process/eMac clean(er). (2) However, would the +Archive & Install+ method be effective? Pros/Cons?
    (5) _Other places to house iPhoto_: What’s the process & benefit of housing iPhoto on a separate Hard Drive?
    (6) _Other (General)_: Any other ideas &/or comments.
    Prior to doing this I did copy my entire Hard Drive to the LaCie so that I had a back up. I then started deleting any old/unused stuff. I freed up some space, but the speed didn’t really change much.
    Thanks--gse

    Hello, and welcome to Apple Discussions!
    First, see if your model falls under this repair extension program:
    http://www.apple.com/support/emac/repairextensionprogram/
    Your symptoms don't sound like it's haivng the probelms the extension covers, but still worth checking.
    Your 1G of RAM should be adequate with Panther. That's enough to reduce virtual memory writes to the hard drive, which is good when free space on the drive gets small. However, your space is OK for now.
    I understand that the Mac OS now handles defragging on it own pretty well. More farther down.
    Use Activity Monitor ( in HD > Applications > Utilities ) to see if any odd applications you don't know about are eating a lot of processor usage. You want to change the view to "all processes" if it's currently set to "my processes." Post any apps that sound suspicious here before removing one; there are some things that are supposed to be running in the background.
    Tiger will not make the computer faster by itself but will open access to newer software versions, especially browsers. The Dashboard Widgets and Spotlight that come with Tiger could reduce performance on a machine that's already acting up. You have a SuperDrive so installing from the Retail DVDs is no problem.
    A great place to start is this third-party site hosted by one of our Level 4 members, Dr. Smoke:
    http://thexlab.com/faqs/faqs.html
    There is info on defragging is in the article titled Maintaining Mac OSX. Focus on articles whose titles have words such as "cleaning," "maintenance," and "troubleshooting." However, all the articles are good and you will come away with a much fully understanding in your Mac.
    If the computer has been used for years with little if any maintenance and other maintenance procedures don't seem to help, a full reinstall to a nicely cleaned hard drive can help limber things up. As you have a full backup, this is not so daunting.

  • Flash sprite has to be visible (from YOU !) in authoring mode to   work !

    If this can help (and if you can confirm !).
    I already went through the trouble that you can't put a Flash
    sprite off
    stage otherwise you loose control over it (you have to keep
    one pixel on
    stage), but this is more tricky :
    I suddenly had my Flash sprites working only in projector
    mode and I
    discovered that lower right corner of the stage was not
    visible (stage
    window was resized), which is where I hide my Flash sprites.
    As soon as
    I could see the corner, problem was gone in authoring mode !
    PJ

    Why not make your FlashSprite invisible?
    Or change it's z-index and put it behind everything
    else?

  • Flash sprite not updating

    Is there a technique to force a flash sprite to refresh?
    Basically when I send the flash movie to another frame eg -
    sprite(16).goToAndStop(6) it seems like the code in frame 6 of my
    flash movie doesn't execute until i mouse over the flash sprite!
    Any ideas?
    Many thanks

    What action are you using to tell sprite 16 to run? Is it a
    mouse event?

  • Flash movie in director heard but not seen... mostly not seen!

    Using flash i made a flash movie to use as an intro to my
    director project, I imported the flash movie into director and
    placed it on the stage. When i play the director file i can hear
    the audio from the flash movie but cannot see the flash movie,
    untill right near the end i have an image on a motion tween in the
    flash movie which i can see.
    Can anybody tell me why i cannot see the rest of the flash
    movie?

    Hi Ajrobson,
    I'm guessing you're using Flash 8 and haven't updated
    Director for Flash 8
    compatibility.
    Go to:
    http://www.adobe.com/support/director/downloads.html
    make sure you've downloaded and installed the 10.1 update.
    Then install the 10.1.1
    update. This will update your Flash support.
    regards
    Dean
    Director Lecturer / Consultant
    http://www.fbe.unsw.edu.au/learning/director
    http://www.multimediacreative.com.au

  • Problems with panoramic flash files in Director

    i have some problems trying to put panoramic photo flash files into director.
    I get this software Pano2VR to create 360 and sperical photos in flash format. So finaly i have the swf file.. but when i try put this file in director, does work.
    check the flash file here
    http://costaricaspirit360.com/
    any help
    Regards
    Ginod

    Sean the file is in here:
    http://costaricaspirit360.com/sampler/panoSampler.zip
    This is one type of swf pano that not work good (flash 9).... but i did what you say... and works fine.
    So in the app pano2vr... i export the .swf in flash 8 with no controls layer...
    Next, i put this file in my web server and import from director using linking file (internet path)... WORKS FINE.
    I still have to make some controls buts but that's fine by me. I'm mac user
    Thank's
    Ginod

Maybe you are looking for

  • How do I change the page size of a pdf?

    I'm trying to send a manuscript to a printing service in another city. It was produced using Microsoft Publisher. In Acrobat Pro I changed the page size from the default (8 1/2" x 11") to the size of my finished document --- 7.8" x 10". Yet when I se

  • Airplay in classroom

    I have a class set of iPad2 and just bought apple TV for the airplay function. How do I convert HDMI to VGA to sync with classroom projector? Anyone know of a converter from HDMI to VGA or RCA?

  • How do i stop itunes dupicating songs, it just seems to do it off its own bat??

    as above how do i stop i tunes duplicating my songs??

  • HFM to pass data into Essbase

    Hi One of my clients requirment is to pass the data from HFM into Essbase after doing teh journal entries. Is EIS the only way or is there a better way of synchronizing HFM and Essbase together. Also, if EIS is included with teh license deal with Ess

  • Adobe Reader forgets my view settings.

    I have installed Adobe Reader X for Windows XP SP3. Everything working fine. I have customized my toolbar, shown the left pane with page previews and hidden the menus. I like this layout. But everytime I close Adobe Reader and open it again, the menu