Flash Volume in Director

Hi,
I have a number of flash files in .swf format that I need to
incorporate into a Director Movie. I would like the user to be able
to adjust the voume of them through Director but cannot find a way
to adjust the volume of flash files through Lingo. I understand
that if I had the original .fla files then I could assign the
volume to a variable and manipulate that through Lingo but I do
not.
sound(1).volume does not work, presumably becasuse the sound
of the flash files is not being run through the director sound
channels. I'm pretty new to flash but comfortable with Lingo so is
there anything opbvious that I'm missing?
Any pointers greatfully received,
Cheers,
Si

Cracking! Thanks a lot for that. How does that work then? Is
thesound essentaily playing through the sprite channel and ecah
sprite channel has a voume property that can be adjusted?
Either way works like a charm!
Si

Similar Messages

  • 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

  • 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

  • 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 Remoting in Director

    Hi guys,
    Does anyone has a sample on flash remoting inside director
    2004 mx?
    Thanks.
    Kind Regards
    Jun Canonigo

    Well, to be clear, the DataGrid component did not come with
    Director 2004. A developer can copy the SWC file over and have it
    available within Director.
    I can tell you that any of the Flash components which were
    not included in the release of Director 2004, were left out on
    purpose. The reason was because there was some degree of
    incompatibility at release. Specific what that is? I don't know the
    specific details.
    This does not mean that the DataGrid will not function in
    your project. It could simply mean that data binding doesn't work.
    Test Test Test is my main suggestion.
    As for using the DataGrid... You have access to all the
    exposed methods and properties to any component you add to
    Director. Thus you should be able to uses anything found here....
    http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/js/html/wwhelp.htm?href=Part4_ASLR2. html

  • Dynamic Flash text in Director MX

    Hi,
    I have a presentation which needs to display user-changable
    messages. I have a flash file that reads from a .txt file. Every
    time the flash file opens, it reads the new text, updates, and
    everything is great. I'm using
    loadVariablesNum("/dynamic.txt", 0);
    to read the text from the file.
    But, when i put that flash file in Director, the text stops
    updating. I made sure the file was linked externally. I'm sure it's
    a simple code fix in director, but can't figure it out.
    Any help is appreciated.

    Hello,
    The AS below works getting fresh data from a server, not sure
    about locally,
    you tag a random bit of text at the end of what you're
    grabbing, and it
    makes Flash think it's a new file everytime. I'm an AS noob,
    but this might
    help.
    randVar=Math.random()*9999;
    loadVariablesNum("/dynamic.txt?" + randVar, 0);
    "Couch" <[email protected]> wrote in message
    news:e61o7c$91$[email protected]..
    > Hi,
    > I have a presentation which needs to display
    user-changable messages. I
    > have a
    > flash file that reads from a .txt file. Every time the
    flash file opens,
    > it
    > reads the new text, updates, and everything is great.
    I'm using
    > loadVariablesNum("/dynamic.txt", 0);
    > to read the text from the file.
    >
    > But, when i put that flash file in Director, the text
    stops updating. I
    > made
    > sure the file was linked externally. I'm sure it's a
    simple code fix in
    > director, but can't figure it out.
    >
    > Any help is appreciated.
    >

  • 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?

  • No sound except Flash, volume control doesn't work for that.

    My sound seems to be cursed. Everything else works fine for me, but in the few years I've been using Arch I've been plagued by constant sound problems. Apparently something in a recent update broke my sound. I get no sound for anything but Flash, except Flash sound is SUPER LOUD, and doesn't adjust with the volume control. Everything else, there's just no sound. Not in VLC, Amarok, Battle for Wesnoth, or other various programs I tried. I tried VLC using the default sound output, the pulse output, and even the ALSA output just for the heck of it. No dice. I was reading in another similar topic that KDE might be the culprit, and indeed I'm using Pulse and KDE. My asound.conf is the default one that comes with the pulseaudio-alsa package. I've tried both gstreamer and xine as backends, they both have the same problem. In pavucontrol, it looks like sound is playing. If I play music or a test sound, the sound bar moves, but you still can't hear anything.
    Now here's where it gets weird. Selecting a device within Phonon is screwy. In the output section, the devices listed are as follows. All but the top one are grayed out.
    Internal Audio Digital Stereo (IEC958)
    Internal Audio Digital Stereo
    Dummy Output
    Internal Audio Analog Surround 4.1
    Internal Audio Analog Surround 4.0
    Now, in the audio capture section, the devices are different.
    Internal Audio Analog Stereo
    NVidia CK804 with ALC655 (NVidia CK804)
    NVidia CK804 with ALC655 (NVidia CK804 - MIC ADC)
    Pulse Audio
    In that list, pulse is greyed out. Are they supposed to be different like that?
    In any case... I'm at a bit of a loss. I just can't seem to keep the sound working on this thing. Any ideas?

    I think I encountered the sound problem too. I'm using a thinkpad T42, installed gnome, using ALSA. Normally I just enter runlevel 3 into the console, I have ALSA configed and the soundcard is well recognized. But when I play .mp3 using mpg123, everything goes fine but just no sound output (I setted up alsamixer previously, and had all necessary channels unmuted.). That goes several days. And one day, after setting up alsamixer, I also did a alsactl -f /var/lib/alsa/asound.status store, miracle the sound is there. But the day after, the sound disappeared again. Now I'm totally lost, leaving me thinking whether it's a Arch sound bug?
    By the way, my system is most updated and upgraded.
    Last edited by universalpoe (2011-01-12 01:57:42)

  • 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);

  • Help with controlling a flash video in director

    I have imported a flash file into my director movie and would like a replay button but can not
    find the correct lingo. The flash file is called equation. Any help appreciated!! thank you

    Solved using the following method:
    spr = sprite("equation"); 
    function mouseUp() {
    spr.rewind();}
    Thank you for all your help pretty easy in the end!

  • Flash Content in Director MX 2004 10.1

    I used director to create my shell or base program. This way I could make a shaped and draqgable projector. The main content with in this file is in a linked swf file. All animated buttons, Scrolling menus, rollovers, video and text hyperlinks are in this SWF.  All the buttons and menu in this swf file direct it to other locations within the SWF or call out to URL's. No buttons in the director file call to the SWF or vise versa. The buttons, scrolling menus and rollovers all animate while running in director but wont control the SWF.
    Any Idea's

    Post an example of the ActionScript that runs when you interact with a widget in your Flash file, but isn't doing what it should.

  • Severe issues when integrating flash paper in director

    I'm trying to integrate flash paper documents into director
    projector, but there are 2 severe problems about usability:
    1. the mouse wheel doesn't work, so i can't scroll document
    with mouse
    2. i see two cursor on document, the standard arrow cursor
    and the simulated flash paper hand cursor; it is possible to hide
    the simulated hand cursor in flash paper?
    I'm referencing to integration guidelines found at
    http://www.adobe.com/devnet/director/articles/flashpaper_in_director.html
    Please help, thanks

    quote:
    Originally posted by:
    Chunick
    if you can access a command or event in the flash paper that
    will scroll the flash paper then you can try the free scrollWheel
    Xtra that can be found here:
    http://www.mods.com.au/xtras/default.htm
    Thanks for the reply,
    i've fixed the 2#, and i've come up searching at the
    mousewheel xtra, and i've got your same idea: send to Flash Paper
    some command to force the scrolling, but it seems that such command
    doesn't exists... or maybe it is undocumented?
    Someone have more informations?

  • Flash 10 in Director 11 (import)

    Hello!
    I want to include a Flash 10 -file (swf) in Director 11. When
    I do this, Director dont play the SWF.
    A Flash 9-file works without problems.
    What can i do?

    You can pray and wait for a new version of FlashAsset Xtra
    supporting
    Flash 10 and possibly AS3. But for the time being Adobe is
    only
    pretending interest in Director and its customers base. Seems
    every
    bloody bum in NY metro is better supported by Salvation Army
    than Adobe
    is looking after Director enthusiasts.
    Rgs,
    Ziggi
    ckaj wrote:
    > Hello!
    >
    > I want to include a Flash 10 -file (swf) in Director 11.
    When I do this, Director dont play the SWF.
    > A Flash 9-file works without problems.
    >
    > What can i do?

  • 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

Maybe you are looking for

  • How to pop up a new browser window to point to an external site

    Please help. we want to popup an new browser window when click on a button and the new window is pointing to an external web site. I can make it work to point to an external site in the same window. But that is not we want to. I do see some old posti

  • How I can get Logic pro 7?

    I have used Logic since the day it was "born" till version 5.5 (on Pc). Now I bought Logic pro 9  (& Mac...) and succeeded to load songs from version 5.5 but when I loaded songs from former version, I think 4.0, I have got a note says that I need ver

  • Sales order level partner Function error

    Hi, I created New Partner Function ZB (Agent ) and also i have done partner Determination According to my client requirement each customer having more than 2 agents so i have assigned in the customer master Coming to Sales order, i created sales orde

  • Gnome jerky mouse upon altering ac power state

    Hi, I am having a problem with gnome in that when I remove the ac power from my laptop the mouse cursor goes jerky and stutters for a few moments and occasionally there are poping sounds coming from the speakers. This also occurs when I replace the p

  • I refuse to repair my ipad!

    I refuse to repair my ipad! Authorized resellers are sent to another city for repairs! Warranty service is still in force, I throw out my ipad? I'm not happy with this service! Why the buyer should suffer because of defective devices???? What to do w