Controlling flash behaviour

This post is just an informative post about how flash saves its settings and how some sites misuse it.
Well, like many other people i was having trouble with adobe flash player's hardware acceleration, similar to one mentioned here: https://bugs.archlinux.org/task/22878
So, i disabled it in /etc/adobe/mms.cfg and even by right clicking a flash element -> settings and unchecking enable hardware acceleration. But for some reason it used to get re-enabled. Then i realized that i was using bleachbit and it was clearing all contents of ~/.macromedia.
Now there's a file called settings.sol stored at
~/.macromedia/Flash_Player/macromedia.com/support/flashplayer/sys/settings.sol
This file stores flash settings such as the cache, hardware acceleration, allow camera and microphone for specific sites etc.
I wanted to prevent bleachbit from deleting settings.sol, but delete every other crap that's present in ~/.macromedia. One way was to edit bleachbit's cleaner for flash, but i didn't want to go that route, as i considered it less ideal. So, i set the immutable attribute to settings.sol by using
# chattr +i settings.sol
Now bleachbit couldn't delete this particular file, but did delete the rest of ~/.macromedia. This solved the above problem for me.
Later on after a browsing session i ran bleachbit, and found a file settings.sxx in bleachbit's log. I was sure i had never seen this file before, so i googled for it.
Seems like some sites change your settings.sol file without your permission, but if this file is set to read-only (which isn't by default), then they write to the file settings.sxx. And i suppose it is used for tracking purposes.
So i created an empty file settings.sxx aside settings.sol, and set it to read-only. So, i hope now i am sufficiently safe from flash based tracking.
I hope this post helps other people realize the problems that flash poses before us.
Please note that i am not overly paranoid, but i dislike sites doing stuff behind my back, especially on my computer.
Last edited by x33a (2011-03-29 12:24:59)

Moderator:  It has been pointed out to the mods that this rather informative thread does not show up in forum searches when users are not logged in because it is in the off-topic subforum.  I am going to move this to 'Multimedia and Games' because it is a useful topic.

Similar Messages

  • How to control Flash Player playback using JavaScript?

    I have a local file-based web page (HTML file) containing an embedded YouTube video.
    Now I want to write some JavaScript to control the Player's playback parameters, like volume, mute, play, stop etc., using JavaScript in the file. However, I don't seem to be able to access any of these function.
    Can someone please enlighten me on what I need to do to be able to control Flash Player from JavaScript?

    I'm not acquainted with Flash too much, I'm afraid... Both paged didn't give any example I could leverage.
    I'm searching for something equivalent to something like this:
    document.getElementById("MyMoviePlayer").mute();

  • Controlling flash in html.

    Here is my problem hopefully someone can help me.
    I need my swf to load a new level on a specific webpage url.
    There are a few ways I can think of doing this. (I am not a
    coder at all so bare with me)
    (a) inside flash a code that says this. If on www.webpage.com
    load swf on level 1000.
    (b) in html, I have no idea how to control flash, could move
    it to another frame. that would work. :)
    and I'm sure there is something I don't know. Please guys I
    am really stuck and need to figure this out.
    Any help is much appreciated. Thanks !

    Sounds to me like you need this:
    [quote]LOL, Adobe is definately paranoid... I can't write
    l-o-c-a-t-i-o-n in a post... so just remove the "-" in
    l-o-c-a-t-i-o-n below
    uh... maybe I'm completely wrong, but how about using
    ExternalInterface.call to access a Javascript function
    In HTML:
    <script type="text/javascript">
    function getLocation(){
    return(document.l-o-c-a-t-i-o-n.href);
    </script>
    From what I read you need to allow script access explicitly
    for this to work.
    <param name="allowScriptAccess" value="always" />
    In AS:
    import flash.external.*;
    String(ExternalInterface.call("getLocation"));[/quote]

  • Control Flash from HTML (k)

    I have a button in HTML that I want to use to control the
    flash on the
    page it sits on.
    When the button is rolled over, I want to pass a variable to
    the Flash
    movie so that something happens.
    How can I do this in Dreamweaver?
    -Kirk

    It's a stupid way of doing it, but I got it to work using the
    FSCommand.
    I send the user to a frame in the Flash movie. That frame has
    the
    variable set to the "On" state. I then have them go to
    another frame for
    the "Off" state.
    -Kirk
    W. Kirk Lutz wrote:
    > I know that it would be easier. But I have a very tall
    flash file of a
    > floorplan. I have a legend for the floorplan that I want
    to float in a
    > layer so that when someone scrolls down the page, the
    legend follows. I
    > Can make a scroller in flash, but would prefer to try
    and control Flash
    > via HTML.
    >
    > I know you can pass a variable in HTML to flash, but if
    it has to reload
    > the page each time the user will be throwing their
    machine out the window.
    >
    > Any way to control Flash?
    >
    > I've tried to send the user to a frame in Flash via the
    FSCommand, but
    > it doesn't seem to work. I have two scenes in my flash
    file. A loading
    > scene and the main scene. The FSCommand jumps me to the
    frame in the
    > loading Scene.
    >
    > -Kirk
    >
    >
    > -->dan mode wrote:
    >> It would be much easier to do the rollover button in
    Flash.
    >> Otherwise, you need a server side language that
    would populate a
    >> variable in the embedded swf code.
    >>
    >>

  • How to control Flash Player 10 with Javascript?

    Are there any turotials or examples of controlling Flash Player 10 from a web page with javascript?  I want the player to pop up when I mouseover a thumbnail image and play a short relevant flv file.  When the mouse moves away from the thumbnail the player should disappear.   I imagine I'm going to have something like
    <img src="thumbnail.jpg" onmouseover="javascript:  [call flv player with .flv name and parameters to autoplay with no controls )">
    but I don't know what the javascript code should be and I don't know how to embed the flv player in my HTML so the javascript code can call it. 
    Thanks for any help.
    Steve

    it would be nice if someone can suggest a solution.because i ve the same problem.
    Jon

  • Can Captivate 7's playback controls control Flash swf files?

    Hi folks,
    I have created a swf file using Adobe Flash and I have imported it as an animation slide in Captivate 7. I have turned on the playback controls to just have the play button and the progress bar. When I export the presentation, the playback controls do not work. The scrubber moves as the presentation is playing, but I can't pause the presentation. When I stop the scrubber or even move it left or right, it does not affect the presentation and it just keeps playing. Am I doing something wrong? I don't want to have to create a custom nav bar in Flash as it would just be easier to use Captivate's playback bar.

    I don't think it can be expained quickly as it can be very complicated. But...
    Select New Project/Widget in Flash and choose static widget. You need to be very adept in AS3 to actually get them to work.

  • Controlling flash movie from another

    hello
    i hope someone can help me.
    i have 2 flash movies in a page with a CMS and an iframe.
    so quite a complicated structure...
    QUESTION1:
    is it possible to control one of them from the other one?
    e.g. telling movie B to go to a label from a button in movie
    A?
    QUESTION 2
    is it possible to controll either a target movie is already
    loaded in the page or not?
    suppose i need to check from movie A is movie B is already
    loaded in the page
    , load it in case it is not loaded, then tell ti to go to a
    certain label?
    any help would be greatly appreciated.

    Will require some fancy javascript gyrations. Check out
    fscommand:
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_15692

  • Controlling Flash timeline with Javascript

    I have a project I'm taking over from a Flash designer. The
    way he created the project isn't the way I would have done it, and
    I'm trying to salvage what is there. My question: Is it possible to
    control the timeline of an .swf from Javascript?
    Basically, the movie has four different sections, each noted
    with a frame label. I'd like to be able to have the user click on a
    text link in HTML, and using javascript, load the movie in a new
    window, and immediately go to the frame label specified.
    Is this possible?

    Yes, Flash and Javascript can communicate. I would try using
    the toolkit from
    http://weblogs.macromedia.com/flashjavascript/

  • How to control flash media?

    I've got few flash buttons and one main flash movie set up in
    separate layout tables.
    Now what I wanna do is to make each button start flash main
    movie at a different keyframe.
    I've tried with behaviors this way:
    Add Behavior/~Deprecated/Control Shockwave or Flash
    /OnClick/Movie(my instance)/GoTo Frame x
    But nothing happened!
    Just to test behaviors, I tried to open link by clicking on
    inserted flash button with corresponding behavior setup, but that
    also didn't work out.
    Is there something I am missing when using behaviors?
    And is there another way to make my buttons control starting
    frame of main flash movie?
    Thx

    Hard to believe no one could help.
    Let me put it this way:
    Behaviors do not work in my case.
    Again, tried to start flash movie from specific frame, by
    setting right behavior to a flash button, but nothing.
    Also tried some other functions, to open a link in browser
    for instance, and nothing happened again.
    Please help, guess I'm just overseeing something....

  • Captivate controlling FLASH time line

    Please forgive if this question has been asked before.
    Does anyone know if I can put Actionscipt or javascript into
    my Captivate project so when my movie ends it controls the timeline
    in FLASH? I'm importing my Captivate file into a flash file using
    the Loader Component in FLASH.
    Thoughts anyone?
    Thanks to all who respond!
    Chris

    HI Chris
    As far as I'm aware, Captivate currently does not allow any
    form of ActionScript to be added. However, I believe that I have
    heard that ActionScript and JavaScript are very similar. So I'm
    assuming that if you can use JavaScript to control a Flash
    timeline, you can probably make it happen. However, I'm certainly
    not the person to tell you anything about how to go about making it
    happen. What I currently know about Flash would struggle to fill a
    small thimble. (but I'm working on it)
    Cheers... Rick

  • Hide controls flash video (flv)

    Is there a way to hide the controls on a flash video (flv) until the user scrolls over the video? So the page opens, the video starts playing (still no controls visable) and then when a user scrolls over the video, you then see the controls for the first time. I have searched high and low.
    Thanks
    Paul

    Thanks for your assistance Jim....
    I can't view the code in the library or action script. I am using a default skins (Corona Skin 3) that you apply through dreamweaver "Insert Media > Flash Video". I open up the skin in Flash, but it is a swf and I can't seem to find any code to alter.
    Here is a link to what the video where the client wants the hidden controls :
    http://www.harithproductions.com/index09.html
    I did find a more transparent skin, so If I can't figure it out, maybe he can live with it.
    I am not experienced in editing the skins, so I apologize for being a little naive.
    Paul

  • Strange Flash behaviour

    Here is a video explanation:
    www.youtube.com/watch?v=La5yFqNYWCk
    If I use the Pen tool and attempt to draw a line within a symbol, the anchor point on the other end of the line moves [out of my control] to the right. I'm not sure whether this is a bug or a feature, but I'm leaning towards the former; either way, please could someone offer me a solution?
    Adobe Flash CS5
    Mac OSX 10.7.2
    I will gladly supply any extra information.
    Thanks.

    Good question, I never thought to test that.
    I've found that the bug, curiously, is isolated to this one symbol. All other symbols in the same FLA do not exhibit the error, nor do those in new FLAs; however, this particular symbol is affected in the current and new FLAs.
    I can't actually recreate the error in any other symbol.
    Here is all the relevant information about the symbol (called 'Needle' [of a record player]) that demonstrates the bug:
    Type: button.
    Contains 4 keyframes.
    The first (up) contains 2 graphics, the second (over) and third (down) contain 3 graphics, the last (hit) contains a single shape.
    All the graphics only contain shapes.
    I have used the pen tool with no apparent errors in:
    Existing and new symbols on other layers (in relation to 'Needle') in the same FLA.
    New symbols on the same layer in the same FLA.
    Old and new symbols in other FLAs.
    I have also taken graphics from 'Needle' and pasted them outside; the pen tool then works within them.
    Thus, it can be said that within 'Needle', and all the symbol within 'Needle', and any symbols within those (etc.) will exhibit the bug.
    If there are any others tests you want me to do, please ask.
    (My progress on the project I am working should no longer be inhibited.)

  • Controlling Flash in Dreamweaver

    Hello all,
    Thanks in advance to anyone who can solve this problem!
    I am building a page in Dreamweaver 4.0 and adding a large
    Flash movie (using Flash 5.0) which I want to start by clicking or
    mousing over a smaller image elsewhere on the page. However when
    viewing in Firefox, the movie starts off as soon as I load the
    page, rather than when I mouse over the image that is being used to
    start the big movie. It works in IE 7 but not in Firefox. Is there
    a piece of code I need for Firefox.
    I have followed the directions for Controlling Shockwave or
    Flash within (Dreamweaver as follows:
    1 Choose Insert > Media > Shockwave or Insert >
    Media > Flash to insert a Shockwave or Flash movie,
    respectively.
    2 Choose Window > Properties and enter a name for the
    movie in the upper leftmost field (next to the Shockwave or Flash
    icon). You must name the movie to control it with the Control
    Shockwave or Flash action.
    3 Select the item you want to use to control the Shockwave or
    Flash movie. For example, if you have an image of a "Play" button
    that will be used to make the movie play, select that image.
    4 Open the Behaviors panel (Window > Behaviors).
    5 Click the Plus (+) button and choose Control Shockwave or
    Flash from the Actions pop-up menu.
    A parameters dialog box appears.
    6 Choose a movie from the Movie pop-up menu.
    Dreamweaver automatically lists the names of all Shockwave
    and Flash movies in the current document. (Specifically,
    Dreamweaver lists movies with file names ending in .dcr, .dir,
    .swf, or .spl that are in object or embed tags.)
    7 Choose to play, stop, rewind, or go to a frame in the
    movie. The Play option plays the movie starting from the frame
    where the action occurs.
    8 Click OK.
    9 Check that the default event is the one you want.
    If it isn't, choose another event from the pop-up menu. If
    the events you want are not listed, change the target browser in
    the Show Events For submenu of the Events pop-up menu.
    I have followed all these directions, but the big movie
    starts playing as soon as I load the page, rather than waiting
    until I mouse over/click on the small jpg below. I have even added
    the <param name=play value=false> to the big movie code to no
    avail. I am viewing the site on Firefox.
    Here is my code for the large movie:
    <td width="380" height="280" valign="top"><object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
    width="380" height="280" name="metal">
    <param name=movie
    value="images/fabrication/fab_movie_large.swf">
    <param name=quality value=high>
    <param name=play value=false>
    <embed src="images/fabrication/fab_movie_large.swf"
    quality=high pluginspage="
    http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
    type="application/x-shockwave-flash" width="380" height="280"
    name="metal" swliveconnect="true">
    </embed>
    </object></td>
    and here is the code for the jpg I am wanting to mouse over
    or click on to make the movie play:
    <td width="130" valign="top"><a href="javascript:;"
    onMouseOver="MM_controlShockwave('metal','','Play')"><img
    src="images/fabrication/Metal%20shop-s.jpg" width="130" height="87"
    border="0"></a></td>
    I'd appreciate any answers!
    Thanks!
    Pam
    aka Horgycat)

    Hello all,
    Thanks in advance to anyone who can solve this problem!
    I am building a page in Dreamweaver 4.0 and adding a large
    Flash movie (using Flash 5.0) which I want to start by clicking or
    mousing over a smaller image elsewhere on the page. However when
    viewing in Firefox, the movie starts off as soon as I load the
    page, rather than when I mouse over the image that is being used to
    start the big movie. It works in IE 7 but not in Firefox. Is there
    a piece of code I need for Firefox.
    I have followed the directions for Controlling Shockwave or
    Flash within (Dreamweaver as follows:
    1 Choose Insert > Media > Shockwave or Insert >
    Media > Flash to insert a Shockwave or Flash movie,
    respectively.
    2 Choose Window > Properties and enter a name for the
    movie in the upper leftmost field (next to the Shockwave or Flash
    icon). You must name the movie to control it with the Control
    Shockwave or Flash action.
    3 Select the item you want to use to control the Shockwave or
    Flash movie. For example, if you have an image of a "Play" button
    that will be used to make the movie play, select that image.
    4 Open the Behaviors panel (Window > Behaviors).
    5 Click the Plus (+) button and choose Control Shockwave or
    Flash from the Actions pop-up menu.
    A parameters dialog box appears.
    6 Choose a movie from the Movie pop-up menu.
    Dreamweaver automatically lists the names of all Shockwave
    and Flash movies in the current document. (Specifically,
    Dreamweaver lists movies with file names ending in .dcr, .dir,
    .swf, or .spl that are in object or embed tags.)
    7 Choose to play, stop, rewind, or go to a frame in the
    movie. The Play option plays the movie starting from the frame
    where the action occurs.
    8 Click OK.
    9 Check that the default event is the one you want.
    If it isn't, choose another event from the pop-up menu. If
    the events you want are not listed, change the target browser in
    the Show Events For submenu of the Events pop-up menu.
    I have followed all these directions, but the big movie
    starts playing as soon as I load the page, rather than waiting
    until I mouse over/click on the small jpg below. I have even added
    the <param name=play value=false> to the big movie code to no
    avail. I am viewing the site on Firefox.
    Here is my code for the large movie:
    <td width="380" height="280" valign="top"><object
    classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
    width="380" height="280" name="metal">
    <param name=movie
    value="images/fabrication/fab_movie_large.swf">
    <param name=quality value=high>
    <param name=play value=false>
    <embed src="images/fabrication/fab_movie_large.swf"
    quality=high pluginspage="
    http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
    type="application/x-shockwave-flash" width="380" height="280"
    name="metal" swliveconnect="true">
    </embed>
    </object></td>
    and here is the code for the jpg I am wanting to mouse over
    or click on to make the movie play:
    <td width="130" valign="top"><a href="javascript:;"
    onMouseOver="MM_controlShockwave('metal','','Play')"><img
    src="images/fabrication/Metal%20shop-s.jpg" width="130" height="87"
    border="0"></a></td>
    I'd appreciate any answers!
    Thanks!
    Pam
    aka Horgycat)

  • Controlling flash movie clips...

    I made a flash animation using timelines and broke my movie up into three clips. The clips run fine in their own time line. I was reading about clip.play() clip.stop() and it seemed like I could do this. I have a main timeline with three frames. Each frame has a movie clip symbol on it. Each movie clip symbol has a timeline a few seconds long in it.
    I did this because I want to put a click event that will go to a different url depending on which clip the viewer is currently seeing. This swf file will be embedded into an html document.
    When I run the resulting swf - the three frames on the main timeline zip along like crazy and the movie clips don't play at all. I've tried every combination of stop() and play() I can think of but this is just not working as advertised...
    My movie clips have instance names of Clip1, Clip2 and Clip3. Can someone help me with
    1) some sample code that works so that I can run these clips in consecutive order;
    2) the appropriate onClick code to use in the main timeline frames for my url events
    Thanks much.
    BC

    I had to put this on hold to make a deadline and never really got back to it until just now - another similar request. So here is a modification to the code provided to me that I made and seems to do exactly what I wanted. I am not an expert at script but I haven't had a problem with this so I am going with it. If this helps anyone else - great! I never got a reply from the original poster on how to fix the problem where the script they provided looped around on my final movie clip.
    This is the code I used in frame one to control the loop for the three movie clips:
    var myMov:MovieClip
    myMov = Clip1
    this.stop();
    // myMov.play()
    this.addEventListener (Event.ENTER_FRAME, onEnterFrame); function onEnterFrame (event:Event):void {
    // is "myMov" current frame, play head, at the end of "myMov"
    if (myMov.currentFrame >= myMov.totalFrames) {
    // if it is then move the main timeline on 1 frame  
    if (this.currentFrame == 3) {
      myMov = Clip1;
      this.gotoAndStop (this.currentFrame-2);  }
    else {
      this.gotoAndStop (this.currentFrame+1);  }

  • Dreamweaver CS3 & Controlling Flash Content

    I have been browsing the forums for this similar problem, and
    I've seen some that are close. Here's the deal:
    In DW8:
    I created an HTML file that had several smal (4kb) flash
    movies. I assigned the "Control Shockwave/Flash" behavior via the
    Behavior menu to play the movie on mouseover. This worked fine.
    I upgraded to CS3 and now this functionality is no longer
    working. When I assign the function, the swf files just sit there
    without any action whatsoever. Locally, the files are not working.
    I uploaded to our staging server (along with the Scripts folder)
    and the flash isn't even showing up at all.
    My gut (although I have limited experience with flash &
    java) is telling me that there is a js conflict going on with CS3.
    So, is there an update or patch that may help this situation?
    If anyone else has encountered this problem too, please reply
    back and maybe we can figure this out.
    Thanks All
    Keith

    Got the code cleaned up and the flash files are showing on
    the remote, but still there is no control via the DW
    java/behaviors.
    http://www.cftomlinson.com/PGA/g2.html
    Keith

Maybe you are looking for

  • Problem pirnting longer images on a Stylus Pro printer

    I amprinting on an Epson Stylus Pro 4800 using Photoshop CS3. Although the printer will accommodate lengths up to 55 inches, when I try to print something longer than 30 inches, Photoshop crashes. Epson adives the purchase of RIP software. Is there a

  • Query Report Using Shuttle List

    Greetings I am using Apex Version 4.2 At first, I had created an item P31_JOB_CATEGORY that was a radio button. Upon selecting a value for the radio button, a report was generated. The query is as follows select a, b, c from Table A where A.Job_Categ

  • Migration from Oracle application server from Windowsto Solaris

    Hi Friends, I want to migrate Oracle application server from Windows to solaris. Please share the document for this. Thanks in advance Anil Pinto

  • Oracle report or crystal report ?

    hello, I am in the process of choosing a reporting tool to access an oracle database, I end up with two tools , oracle report and crystal report. i hear that oracle report is too complicated and is not flexible. Is that true, i need some advisement t

  • Where can I find the Lion OS Download

    I have a Macbook from 2007 that I can't update to Mountain Lion on.  I just updated to Snow Leopard and now I want to update to the most current OS I can on my computer.  My first question is, Will Lion work on my computer?  The second question is wh