Professional Web Applications Themes

How to comunicate with Flash Player 8 animation per JSonly OFF-LINe? - Macromedia Flash Player

I come from Slovakia. I have a problem with the Security in Flash Player 8. I make my diploma work. I want to have it on CD and demonstrate on a PC, that is not conect on Internet. Because this I can not use the "Global Security Settings Panel" which is only per Internet available. I use the HTML , CSS and Javascript technologies only. I want to have Flash object in HTML page. In tne text of the pages I want to have a lot of links to a specifical frames of this Flash. The Flash presentation -swf is ...

  1. #1

    Default How to comunicate with Flash Player 8 animation per JSonly OFF-LINe?

    I come from Slovakia. I have a problem with the Security in Flash Player 8.
    I make my diploma work. I want to have it on CD and demonstrate on a PC, that
    is not conect on Internet.
    Because this I can not use the "Global Security Settings Panel" which is only
    per Internet available.

    I use the HTML , CSS and Javascript technologies only.
    I want to have Flash object in HTML page. In tne text of the pages I want to
    have a lot of links to a specifical frames of this Flash.

    The Flash presentation -swf is attached as the object in HTML with name/id
    cepel.
    With this code: "javascript:window.doent.cepel.GotoFrame(1) ;"
    I want to see the second frame of this SWF Animation. (Zero is for to see the
    first frame...)

    Here is a bit of my code:

    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    rsion=8,0,22,0" width="320" height="350" id="cepel">
    <param name="allowScriptAccess" value="sameDomain">
    <param name="movie" value="cepel.swf">
    <param name="quality" value="high">
    <param name="bgcolor" value="#ffffff">
    <embed src="cepel.swf" swliveconnect="true" quality="high" bgcolor="#ffffff"
    width="320" height="350" name="cepel" allowScriptAccess="sameDomain"
    type="application/x-shockwave-flash"
    pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
    </object>

    <a href="javascript:window.doent.cepel.GotoFrame(0 );">start</a>
    <a href="javascript:window.doent.cepel.GotoFrame(1 );">first frame</a>

    It works on IE 6.0 sp1 with Flash Player 7 OK, but with Flash Player 8 it
    doesn?t work corectly. I see only the flash animation, but the links to
    specificial frames don?t work. I know, that my teachers are using Flash Player
    8.
    Online per internet it works with Flash Player 8 OK too, but off-line on my PC
    only with Flash Player 7!!!
    You can see a little part of my demonstration on WEB: [url]www.peter.sbb.sk[/url]

    I know, that the problem is with SECURITY in Flash Player 8.
    Although I want to comunicate per JS with flash animation and no vice-versa.

    I hope, that you understand my problem, when no, please contact me, I will
    tell you more...

    thanks, I hope You will help me.

    a student of Biologie Peterko Drotik

    matelko Guest

  2. #2

    Default Re: How to comunicate with Flash Player 8 animation per JS onlyOFF-LINe?

    matelko wrote:

    See this thread:
    [url]http://groups.google.com/group/macromedia.flash/browse_frm/thread/32f558095081fdc2/6e6e23c8f278f5f1?lnk=st&q=trust+group%3A*flash*+au thor%3ABentley+author%3AWolfe&rnum=1&hl=en#6e6e23c 8f278f5f1[/url]

    -- Regards,

    Bentley Wolfe
    Senior Escalation Engineer, Flash
    Macromedia, now part of Adobe Systems
    Bentley Wolfe: Adobe Support Guest

  3. #3

    Default Re: How to comunicate with Flash Player 8 animation perJS only OFF-LINe?

    Bentley

    Thanks, but yuo really mean, that is it a normal way, how to do it?

    Do you mean, that the old teachers understand it?
    OK, when I make it so (for example an instalation packet) I don?t know, what
    label have the theachers for CD-mechanic...D: or E: etc.
    And when the system will be not on disk C:?

    I don?t understand why the security rules are so wrong.

    matelko Guest

  4. #4

    Default Re: How to comunicate with Flash Player 8 animation perJS only OFF-LINe?

    One man said me to write it in to flash as AS in one of layers:

    import flash.external.*;
    function funkcex(number) {
    gotoAndStop(number);
    }
    ExternalInterface.addCallback("gotoframe", null, funkcex);

    to permit this JS in HTML:
    <a href="javascript:window.doent.cepel.GotoFrame(1 );">first frame</a>

    (cepel is The ID/NAME of the OBJECT)

    But it doesn?t work coretly in Flash Player 8. Can You help me ?!
    By the way, I am not very good in working with Flash and in AS.

    matelko Guest

Similar Threads

  1. How to download and install Flash Player off line?
    By DavidW7 in forum Macromedia Flash Player
    Replies: 0
    Last Post: March 7th, 10:17 PM
  2. Flash Player Command Line Options
    By migodfrey in forum Macromedia Flash Player
    Replies: 0
    Last Post: October 23rd, 09:52 PM
  3. flash audio player affecting animation
    By ricki in forum Macromedia Flash
    Replies: 0
    Last Post: July 27th, 02:30 PM
  4. Can Flash Player export jpeg (ie screenshot of Animation)?
    By jerrygarciuh in forum Macromedia Flash
    Replies: 2
    Last Post: January 28th, 11:26 PM
  5. Replies: 2
    Last Post: September 25th, 06:29 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139