Customize "FLVPlayback.as" provided by Flash CS3

How can we modify & recompile "FLVPlayback.as" provided
by Flash CS3 located at [C:\Program Files\Adobe\Adobe Flash
CS3\en\Configuration\Component Source\ActionScript
3.0\FLVPlayback\fl\video]
Thanks in advance,
Siraj Khan
[email protected]

Link
to same question
Please don't cross post.

Similar Messages

  • FLVPlayback Memory Leak in Flash CS3

    Hi There,
    I' making a flash file with AS2 in Flash CS3. I put a FlVPlayback in stage and let it load a couple of FLV files from my local HDD and playing continuously. I use "addEventListener" to check the current running flash movie is completed. After complete event occur, I load another flv movie to paly again.Here, I noticed that memory usage is increasing every time a new flv file is loaded and played. I heard "addEventListener" in CS3 is causing the memory leak and not being detected by GC.
    Please let me know if there is a solution to solve the memory  leak issue. I posted my codes here to know something I'm doing wrong.
    Thanks in advance...
    ================================
    onClipEvent (load)
        function _fun_complete(eventObj)
            this.autoRewind = "true";
            var _v1 = _root.v;
            var _v2 = _root.FLVlists.length;
            --__v2;
            if (_v1 < _v2)
                ++_v1;
            else
                _v1 = 0;
            this.contentPath = _root.FLVlists[_v1].path;
            var _v3 = _root.listVids[_v1].width;
            var _v4 = (stage._width - _v3) / 2;
            this._x = _v4;
            _root.v = _v1;
            this.play();
        this.addEventListener("complete", _fun_complete);

    Helllo Friend,
    Thanks for your feedback. The problem with removeEventListener is that , the player stops and not playing anymore. In my application, I nned to loop and play one FLV files after another. For example, I need to play 3 flv files, File1.flv, File2.flv, File3.flv. I load and play File1.flv first. Once complete event trigger from "addEventlisterner" , then I load File2.flv and then File3.flv and then Flie1.flv. So it needs play continuously and causing memory leak. Please let me know if there is another way of working around.
    Regards

  • FLVplayback component mod help (Flash CS3, as3)

    can anyone help me with the actionscript needed to
    dynamically call a flv video into cs3's default
    flvplaybackcomponent with a variable?
    i have it working on as2 but the scripting must be different
    in as3 cause it dosnt work there.
    my as2 code is as follows:
    stop();
    var passed:String = video;
    player.contentPath= video;
    this allows me to use videoplayer.swf?video=[video].flv
    but i need this to work in cs3 flash9 player with the
    fullscreen support
    any help would be greatly appreciated.

    which version of flash cs3 do you have?

  • Customizing DataGrid component in Flash CS3 using AS3

    Can anyone please explain how to customize the DataGrid
    component in Flash CS3 using AS3???
    How do you remove/change the grid lines for the rows and
    colums?
    How do you remove/change the border?
    My day has been lost searching for this answer. Flash
    Documentation is worthless and Google finds nothing with regards to
    AS3. ASDGRH.
    Thanks in advance,
    TedWeb

    I hope you've found a resolution to this by now, but I just noticed the discussion title when posting a captioning issue.
    In a nutshell, create a listener on your FLVPlayback module with a VideoEvent.SKIN_LOADED event. You'll also need to set the showCaptions in your FLVPlaybackCaptioning object to true. Apparently, if the captions are set to false when the player object loads the skin, the captions aren't recognized and your captions toggle will require an extra click to activate the captions.
    Here's the link to another discussion on the same topic with all of the details:
    http://kb2.adobe.com/cps/402/kb402452.html
    Also, have you had any issues with the caption button in the FLVPlayback skin not showing up? That's my current issue. Here's the discussion for it:
    http://forums.adobe.com/thread/796423?tstart=0

  • AS3 - 1) Countdown Timer to the designated Date for Live-Broadcast-Event yet to take place; 2) Detect End of Live Stream on FLVPlayback with FLVPlayback.isLive = true - ActionScript 3 - flash cs3 cs4

    Hi folks,
    Ronny's here again on forums, having particularly 2 (two) questions/problems to resolve:
    1) Countdown Timer to the designated Date for Live-Broadcast-Event yet to take place
    2) Detect End of Live Stream on FLVPlayback with FLVPlayback.isLive = true
    attached is the .zip file (as3_Countdown Timer_ver 1.0.1_by Ronny Depp.zip) with all flash source files containing:
    a) The FLash Source (file: timer_module.fla) - (FLA flash source file - Flash CS3 Professional, Flash Player 9, actionscript 3.0)
    b) com.othenticmedia.utils.dateAndTimeManagement package including 2 .as actionscript 3.0 Class files.
           i) com.othenticmedia.utils.dateAndTimeManagement.DateAndTimeManager Class in the said package. (file: DateAndTimeManager.as)
           ii) com.othenticmedia.utils.dateAndTimeManagement.CountdownTimer Class in the package. (file: CountdownTimer.as)
    c) The compiled SWF file version of this Application's blueprint. (file: timer_module.swf).
    What i need to confirm is: ........................................................ see the next post of mine. (for Problems  need to be Resolved)

    Problems to Resolve:
    Problem#1) - Countdown Timer to the designated Date for Live-Broadcast-Event yet to take place.
    Problem#2) - Detect End of Live Stream on FLVPlayback with FLVPlayback.isLive = true;
    Problem#1 Description:
    I need to pinpoint the Logical TimeSync Exception, i am still unable to figure out. That is I'm using a webservice in my Application to Synchronize the Time with the actual ET (eastern time) with accomodation of auto-adjustment for EDT GMT-4 (eastern daylight time) & EST GMT-5 (eastern standard time), times. I am using the zipcode: "10012" to pass it to the Web Service in urlRequest object, to retrieve the Current ET eastern time according to EDT & EST time settings for Manhattan/Brooklyn areas or others within  New York, NY 10012.
    Currently the Web Service is returning accurate date/time based on local EDT GMT-4 daylight time.
    Is there some defined set of dates for EDT & EST times for New York region that I can check for to ensure the correct Dates/Times for Eastern Time in New York area ??? I am using NY zipcodes because i am sure to get correct ET values.
    The Major Problem Part: is I need to correct the time by 2 seconds or approx. 2 secs, some millisecs.
    When I retrieve the Time Value from WebService, it lags behind for 2 seconds as compared to DateObj i create using computer's local time, on my Windows XP Service Pack 2 with Automatic Updates turned-on. And I'm sure about my Windows will be having latest updates for Time Management already installed. I also added the 2 secs. to the TimeSync(ed) Date to make correction to this Date obj.
    I call my custom fucntion addSeconds(dateObj:Date, secs:int) to add 2 seconds to the Date by Converting Seconds to Milliseconds.
    Please comb through the as code in files attached and Help Me Out !!!
    Problem#2 Description:
    Secondly I need to Detect the End of Stream state while using FLVPlayback component, an rtmp:// live Stream from FLASH MEDIA SERVER.
    I need to Play a YuMe Post-Roll Ad when Steam Finishes/Ends.
    Live Broadcast Stream Event starts every night on Wednesdays & Saturdays exactly  at 10:59 PM EDT GMT-4.
    Live Events only Streams/Broadcasts the stream for 50secs. exactly. When [playback stopped] it plays a PostRoll Ad and after the CountdownTimer again comes back to life. The Next upcoming Event is calculated & the Countdown begins until Next Event's time/date is reached.
    Here is the  code on the frame 1 on the MainTimeline: (rest of the params like source, volume, skinAutoHide are Set using Property Inspector for FLVPlayback instance on Stage)
    //myStream instance of FLVPlayback is on the Stage
    myStream.isLive = true;// Frame 1 Actions in the FLA
    myStream.addEventListener(VideoEvent.COMPLETE, onEndOfStream);
    myStream.addEventListener(VideoEvent.STATE_CHANGE, onState);
    myStream.addEventListener(String(VideoError.NO_CONNECTION), onStreamError);
    myStream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
    /*if(myStream.stopped){
         trace("tracy: "+myStream.state);
    } else if(myStream.state == VideoState.STOPPED){
         trace("tracy: "+myStream.state);
    function onStreamError(event:VideoError) {
         trace(event.code + "\n\t" + event);
    function onState(event:VideoEvent) {
         trace(event.state + "\n\t" + event.toString());
    function onEndOfStream(event:VideoEvent) {
         trace(event.state + "\n\t" + event.toString());
    function netStatusHandler(event:NetStatusEvent):void {
         switch (event.info.code) {
              case "NetConnection.Connect.Success":
                   //connectStream();
                   break;
              case "NetStream.Play.StreamNotFound":
                   trace("Stream not found: "/* + myStream.source*/);
                   break;

  • Flash CS3 and FLVPlayback

    Hello.
    Is there a way to dynamically instantiate a FLVPlayback with
    ActionScript 3?
    I imported fl.video.FLVPlayback and Flash accused not knowing
    this class...
    Thanks,
    Ian L.

    Ian,
    > Is there a way to dynamically instantiate a FLVPlayback
    with
    > ActionScript 3?
    Sure thing.
    > I imported fl.video.FLVPlayback and Flash accused not
    knowing
    > this class...
    Just make sure to drag the FLVPlayback component from the
    Components
    panel into your Library. After that, the following four lines
    (just for
    example) will do it:
    import fl.video.FLVPlayback;
    var player:FLVPlayback = new FLVPlayback();
    player.source = "
    http://www.helpexamples.com/flash/video/caption_video.flv";
    addChild(player);
    David Stiller
    Co-author, Foundation Flash CS3 for Designers
    http://tinyurl.com/2k29mj
    "Luck is the residue of good design."

  • Problem with FLVPlayer in Flash CS3 (need to save out as Actionscript 3.0 SWf file)

    I am using Flash CS3 and am trying to publish a SWf file that
    makes use of the "FLVPlayback" component. I need for this SWF file
    to be published as an Actionscript 3.0 file, so I have set my
    publish settings to Flash Player 9.0 and Actionscript 3.0, but keep
    getting an error as follows:
    "WARNING: The component 'FLVPlayback' requires ActionScript
    2.0."
    Has anyone encountered this?? I am doing something wrong? I'm
    pretty comfortable within Actionscript/Flash 2.0, but am only
    beginning my first steps into the relam of CS3 and AS3.
    I have also attached a screenshot of the files that represent
    my FLVPlayback component (or so I assume). (see this link for
    attachments
    http://www.actionscript.org/forums/showthread.php3?t=140886)
    Thanks all,
    Mark
    http://www.actionscript.org/forums/showthread.php3?t=140886

    Mark,
    > I have set my publish settings to Flash Player 9.0 and
    Actionscript
    > 3.0, but keep getting an error as follows:
    >
    > "WARNING: The component 'FLVPlayback' requires
    ActionScript 2.0."
    Gotcha. You must have started the document in AS2, then
    changed the
    publish settings. Each version of the language has its own
    version of the
    FLVPlayback Component (written in the relevant language).
    Start over and
    compare two compleley new FLA documents: make one for AS3 and
    one for AS2.
    Open the Components panel and note the differences between
    the two. There
    are a different set of Components depending on the language
    chosen for the
    document. Drag the FLVPlayback Component from the Components
    panel in an
    AS3 document, and you'll have the AS3 version.
    David Stiller
    Co-author, Foundation Flash CS3 for Designers
    http://tinyurl.com/2k29mj
    "Luck is the residue of good design."

  • How do you build an image gallery in Flash CS3 actionscript3?

    I am building my entire website in flash cs3, actionscript3
    but I really need help building an image gallery. What I need is a
    horizontal scroll bar that contains thumbs within it and then loads
    the full size image right above the scroll bar. Anyone has any
    suggestions for books, tutorials or even safe places to purchase
    the fla that I can customize it?

    if you want help understanding as3 check:
    http://www.senocular.com/flash/tutorials/as3withflashcs3/
    if you want to purchase a custom fla that does exactly what
    you want send me an email via my website.

  • More FMS & Flash CS3 not  loading FLV

    I consider myself an intelligent fellow, but getting Flash
    CS3 to stream vis FMS is killing me. I've read the posts here where
    people are describing similar situations. I've read several
    websites that show kinda similar methods of getting this done, but
    none are working! The docs on FMS & CS3 are like in an infinite
    loop "see AS2.0/3.0 documentation on how to stream videos" &
    when you get there "See FMS documentation on how to stream
    videos"!!
    I've read this & did it all, no dice:
    http://www.mcalister.cc/ddd/flv/index.html
    Read this which linked me to above, no dice:
    http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveD ocs_Parts&file=00003495.html
    Here is my config:
    SERVER running FMS2, Windows Server 2003, IIS6, offsite, but
    am able to RDP in.
    File structure:
    C:\Program Files\Macromedia\Flash Media Server
    2\applications\ForRentFlash\streams\small\Cosmo_Small.flv
    C:\Program Files\Macromedia\Flash Media Server
    2\applications\ForRentFlash\main.asc (sole content being:
    load(components.asc))
    Where: ForRentFlash = appName
    small = instanceName
    Flash CS3 development locally & testing movie produces
    WHITE SCREEN.
    Component Inspector for FLVPlayBack AS3.0 dropped on stage:
    Source Content Path:
    rtmp://1.2.3.4/ForRentFlash/small/Cosmo_Small.flv (of course with
    correct IP)
    No matter how I go about this, I end up with: FAILED TO LOAD
    rtmp://1.2.3.4/ForRentFlash/small/Cosmo_Small.flv.
    Port 1935 was opened on the firewall of the remote
    server.

    Try placing your flv files in a _definst_ directory.....
    Here is how mine are set up:
    C:\Program Files\Macromedia\Flash Media Server
    2\applications\aniridia\streams\_definst_\V032v.flv
    I don't use any .asc files, but I'm fairly certain that they
    would be in the root of the " aniridia " directory (which is the
    application), rather than in the " aniridia\streams\_definst_ "
    directory.
    My videos would not stream until I put them in the _definst_
    directory.
    I use an xml playlist with my flv player to call my videos.
    My stream syntax looks like this:
    rtmp://mydomain.com/aniridia
    Don't reference the flv file name.
    Good luck!

  • Audio from Flash CS3 Video overlapping

    audio from Flash CS3 Video overlapping
    help stopping the FLVPlayback instance (which has an instance
    name of theVideo) when another button is clicked!
    How do I stop flv playback when user clicks a navigation
    button ...
    Excuse me in advance for asking about a topic that may be
    very popular!
    I'm using the attached code to go from the main stage to one
    subset of .swf files (loaded movies) and I apparently have no
    problems with overlapping. Hell, the files even seem to unload
    themselves correctly. Then, when I go to my second subset of .swf
    files (with the exact same AS3 structure), which has a Flash Video
    file (made by the FLV Playback component), I get into an
    overlapping problem associated with the audio.
    How can I stop, cancel, or unload the audio when the file is
    clicked away from (the user selects another button on the main
    stage)?
    Code attached. Please let me know if anything else is needed.
    Yours Sincerely,
    Jntspecialty

    I have tried to clean up code and do this right.
    I need help referencing (storing the value in the variable
    "stopsoundoverlapReq") the "flvplayback instance AFTER theVideo is
    instantiated (ie, the frame that contains theVideo has rendered)"
    correctly.
    Also, now I need help with the name of my nav bar button's
    method followed by parentheses, which should include the
    appropriate method parameter.
    On my main timeline, I tried to clean up the code and use:
    var stopsoundoverlapReq:FLVPlayback =
    stop("videopage.swf/MovieClip(ldr.content).theVideo");
    Then for my nav bar button on this same timeline use:
    any_btn.addEventListener(MouseEvent.CLICK, stopsoundoverlap);
    function stopsoundoverlap(event:MouseEvent):void
    stopsoundoverlap.stop(stopsoundoverlapReq);
    The 3 errors I get now are :
    1046: Type was not found or was not a compile-time constant:
    FLVPlayback. var stopsoundoverlapReq:FLVPlayback =
    stop("videopage.swf/MovieClip(ldr.content).theVideo");
    1061: Call to a possibly undefined method stop through a
    reference with static type Function.
    stopsoundoverlap.stop(stopsoundoverlapReq);
    1137: Incorrect number of arguments. Expected no more than 0.
    var stopsoundoverlapReq:FLVPlayback =
    stop("videopage.swf/MovieClip(ldr.content).theVideo");

  • Creating flash cs3 component

    Hi,
    There is great and easy way to create flash based component
    in flash cs3 using action script 3.0.
    I am going to make a simple My button component which will
    behave likely same as flash native button component.
    You can modify this according your requirement this is just
    you give an idea about how we can go for creating a component in
    flash cs3.
    Follow these steps…
    1. Create a fla file and save this file with any name
    2. Create a movieClip and draw a rectangle shape on first
    frame.
    3. Right click on movieclip in library, select linkage
    4. Provide class name in text field area [MyButton] (you can
    use any name here which should matched with your class)
    5. Click Ok button
    6. Write class [MyButton]
    (you can copy and use this)
    * author @ sanjeev rajput
    * [email protected]
    * A flash action script 3.0 based component without extending
    UIComponent class
    package {
    import flash.display.Sprite;
    import flash.text.TextField;
    import flash.events.MouseEvent;
    import flash.events.Event;
    import fl.motion.Color;
    public class MyButton extends Sprite{
    private var _tf:TextField;
    private var _Label:String="My Button";
    private var _bgColor:uint=0xCCCCCC;
    private var _rollOverColor:uint=0xFFCCCC;
    private var _borderColor:uint=0x000000;
    private var _borderThickness:int=1;
    private var _width:Number = 100;
    private var _height:Number =100;
    private var _background:Sprite;
    public function MyButton() {
    init();
    createChildren();
    initEventListeners();
    draw();
    //-------------property section [Start]
    [Inspectable]
    public function set Label(lbl:String){
    _Label=lbl;
    draw();
    public function get Label(){
    return _Label
    [Inspectable]
    public function set bgColor(color:uint):void{
    _bgColor=color;
    draw();
    [Inspectable]
    public function set borderColor(color:uint):void{
    _borderColor=color;
    draw();
    [Inspectable]
    public function set borderThickness(thickness:int):void{
    _borderThickness=thickness;
    [Inspectable]
    public function set rollOverColor(color:uint):void{
    _rollOverColor=color;
    //-------------property section [End]
    private function init():void {
    trace('welcome');
    _width = width;
    _height = height;
    scaleX = 1;
    scaleY = 1;
    removeChildAt(0);
    private function initEventListeners():void{
    addEventListener(MouseEvent.MOUSE_OVER, eventHandler);
    addEventListener(MouseEvent.MOUSE_OUT, eventHandler);
    private function eventHandler(event:Event):void{
    if(event.type == MouseEvent.MOUSE_OVER){
    toggleColor(_rollOverColor);
    if(event.type == MouseEvent.MOUSE_OUT){
    toggleColor(_bgColor)
    private function createChildren():void {
    _background = new Sprite();
    _tf = new TextField();
    _tf.autoSize = "center";
    _tf.selectable=false;
    addChild(_background);
    addChild(_tf);
    protected function draw():void {
    toggleColor(_bgColor);
    _tf.text = _Label;
    _tf.x = Math.floor((_width - _tf.width)/2);
    _tf.y = Math.floor((_height - _tf.height)/2);
    //width = _tf.width;
    private function toggleColor(color:uint):void{
    _background.graphics.clear();
    _background.graphics.beginFill(color, 1);
    _background.graphics.lineStyle(_borderThickness,
    _borderColor, 1);
    _background.graphics.drawRoundRect(0, 0, _width, _height,
    10, 10);
    _background.graphics.endFill();
    public function setSize(w:Number, h:Number):void {
    _width = w;
    _height = h;
    draw();
    7. Now right click again on your movieclip in library and
    select component definition.
    8. In class name text field provide same class name
    [MyButton]
    9. Click on ok button
    10. Right click again on movieClip in library and select
    Export SWC file.
    11. Same your exported SWC file in (For window only)
    [c:\Documents and Settings\$user\Local Settings\Application
    Data\Adobe\Flash CS3\en\Configuration\Commands\
    12. Now just open another new flash file open component
    panel/window reload component you will your component in component
    panel with MyButton name.
    13. Drag your custom component on stage provide inputs form
    property window and text it.
    Enjoy!

    Lt.CYX[UGA] wrote:
    > if anyone is using Flash CS3, try creating a flash
    movie, using the FLVPlayer
    > component to play an flv video and make it an executable
    projector. Run it
    > fullscreen and watch how the screen just stays black
    when the video should
    > appear. If you stay windowed, it works fine.
    >
    >
    steps to reproduce:
    > 1. create flash movie
    > 2. put an FLVPlayer component on a frame that's not the
    first (for testing
    > purposes)
    > 3. before the projector reaches the frame with the
    FLVPlayer component, change
    > it to fullscreen (by script or CTRL+F)
    >
    >
    observed behaviour:
    > not only the video doesn't play, but the whole screen is
    black until the
    > player goes back to windowed mode
    >
    >
    expected behaviour:
    > video should play
    >
    >
    remarks:
    > if you skip step 3, video plays correctly
    >
    Works just fine.
    Made new movie, on frame 2 places Full screen action, on
    frame 5 placed video component
    and stop(); action attached to frame. Projector pops large
    following by video playing
    just fine.
    I tried variety, first frame, many frames, all on one. Not
    able to reproduce your problem.
    Works on first go.
    Best Regards
    Urami
    Beauty is in the eye of the beer holder...
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Flash CS3 vs. Flex Builder 2

    Here's the $64,000 question: should we be developing in Flash
    CS3 or should we shift over to Flex Builder 2? I maintain that AS
    3.0 is a pain in the proverbial, but I've been researching and
    finding as much help as possible online about it, and I've found
    that by and large people are using Flex Builder 2 as the basis of
    tutorials about AS 3.0. Does anyone have an official slant on this
    question? Should we abandon Flash for Flex? Will it help? Will it
    mitigate the difficulties non-programmers are experiencing with AS
    3.0 - or as I call it simply ***? Would I be getting more responses
    to my *** questions if I post them over in the *** forum under Flex
    Builder?
    Any thoughts on this matter would be most welcome, thank
    you.

    Beatie3,
    >> Help please.
    Sorry about that ... some days are crazier than others. :-/
    [From an earlier reply ...]
    > Thank you very much, that's exactly the sort of answer I
    > needed. Hmmm, cheque's in the mail. ;)
    Heh, good on ya! :)
    > I'm definitely a 'deseloper' and will stick with Flash.
    I wish
    > I had the luxury of only dipping into AS3.
    I don't know that I'd call it a luxury, really. Work is
    work. ;) As
    you might imagine, though, Flex Builder 2 provides a number
    of scripting
    improvements over the Actions panel (there's really no
    comparison; if you've
    tried them both, the Actions panel barely feels useful) and
    the Flex
    framework offers significantly more UI Components. Ideally,
    if the pocket
    book allows it, using both applications is the killer setup.
    > My problem is that I built a little program that draws
    scale bars
    > on uploaded images that can then be printed. It did
    everything
    > it needed to, but in AS2.0 you can't control the quality
    of the
    > imported jpgs.
    When you say imported, you mean dynamically loaded (loaded
    at runtime),
    right? Otherwise, I'm confused. The Flash IDE itself allows
    you to
    determine the quality of imported JPGs. In ActionScript 3.0
    ... are you
    talking about the Stage.quality property?
    > I'm experimenting with Sprites and I have something
    appearing
    > as the line is drawn but I can't crack the new way to
    express
    > coordinates.
    Not sure what might be tripping you up, actually. The
    coordinate grid
    is the same. Horizontally, higher numbers move toward the
    right;
    vertically, higher numbers move toward the bottom. That's the
    same as it's
    been.
    > I just want a blue hair line with a nice green dot at
    each end
    > that can be seen while the line is drawn. Once the
    mouseUp
    > happens the drawing guide should disappear and the black
    > line appear.
    Having heard what you're after, I just started a quick
    experiment from
    scratch. Here's my version, below. Note: I've made no effort
    to optimize
    my code. This is just a first draft to achieve a blue line
    segment with
    green dots on each end that becomes a black line segment when
    the mouse
    lifts.
    var startX:Number;
    var startY:Number;
    var canvas:Sprite = new Sprite();
    addChild(canvas);
    canvas.stage.addEventListener(MouseEvent.MOUSE_DOWN,
    mouseDownHandler);
    canvas.stage.addEventListener(MouseEvent.MOUSE_UP,
    mouseUpHandler);
    function mouseDownHandler(evt:MouseEvent):void {
    startX = mouseX;
    startY = mouseY;
    var dot:Sprite = new Sprite();
    dot.name = "dotStart";
    dot.graphics.beginFill(0x00FF00);
    dot.graphics.drawCircle(mouseX, mouseY, 5);
    dot.graphics.endFill();
    canvas.addChild(dot);
    dot = new Sprite();
    dot.name = "dotEnd";
    dot.graphics.beginFill(0x00FF00);
    dot.graphics.drawCircle(0, 0, 5);
    dot.graphics.endFill();
    canvas.addChild(dot);
    canvas.addEventListener(Event.ENTER_FRAME,
    enterFrameHandler);
    function enterFrameHandler(evt:Event):void {
    var dot:DisplayObject = canvas.getChildByName("dotEnd");
    dot.x = mouseX;
    dot.y = mouseY;
    canvas.graphics.clear();
    canvas.graphics.lineStyle(1, 0x0000FF);
    canvas.graphics.moveTo(startX, startY);
    canvas.graphics.lineTo(mouseX, mouseY);
    function mouseUpHandler(evt:MouseEvent):void {
    canvas.removeEventListener(Event.ENTER_FRAME,
    enterFrameHandler);
    canvas.removeChild(canvas.getChildByName("dotStart"));
    canvas.removeChild(canvas.getChildByName("dotEnd"));
    canvas.graphics.clear();
    canvas.graphics.lineStyle(2, 0x000000);
    canvas.graphics.moveTo(startX, startY);
    canvas.graphics.lineTo(mouseX, mouseY);
    There's a lot of repeated code there, and this isn't how I'd
    leave the
    above in an actual project, but by spilling out a rough cut
    like this, I'm
    hoping it gives you something to work with -- showing the
    mechanics of how
    this might be done.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Flash CS3 Activation in Vista Business 32bit

    I'm posting this here since I just don't know what else I can
    do... Flash customer service seems to be clueless.
    We have a volume license for 10 installs of Flash CS3 Pro.
    We've installed 2 of these already on XP machines without any
    problems at all. Next, I tried to install it on my 32bit version of
    Vista Business. I've ran into issues here, and I had to download
    the file from adobe in order for it to install properly (it would
    not install from the DVD). In any case, I've got Flash CS3
    installed on the Vista machine.
    However, when I try to activate it using the serial number
    provided, I get an error screen that says "Too Many Activations"
    and it points me to where I can buy another key or enter a
    different serial number. At first, we thought there was something
    wrong with our license, but since then, two other people have
    installed Flash CS3 on their XP machines using the same license,
    and none of them have a problem. However, each time I try to
    activate under Vista, I get the "Too Many Activations" error.
    We've contacted the volume licensing department, and they
    decided it was not a volume licensing error and gave us a phone
    number of their tech support. We next called the tech support
    department, and after many transfers, uninstalls, reinstalls, etc,
    technical support decided it was not a technical issue and sent us
    to the activation department. We then called the activation
    department and they told us they do not deal with volume licenses,
    and sent us back to the volume licensing department!
    It seems pretty clear that Adobe has no clue how to fix this
    issue, and no department is willing to even take a serious look at
    it. On our final call to the volume licensing department, we spoke
    for a while and they told us this issue will take a bit longer to
    fix and that they will call us within two days. It has been 5 days
    now, and it seems Adobe has decided to ignore us. This is extremely
    frustrating.
    If anyone has ran into this issue when attempting to activate
    under Vista, and has a workaround, could you please post something
    about it here? Thank you very much.

    Here is a little update for anyone who may be experiencing
    the same issue...
    I was able to find the phone activation screen. In the screen
    shot I posted above, you can click next while having the first
    option selected. It will go to another screen that allows you to
    select phone activation via "other activation options" link (or
    something similar).
    However...
    I attempted to activate over the phone. The phone activation
    failed, and I spoke to a person who determined that this is not an
    activation issue. I was then transferred to the volume licensing
    department (sound familiar? scroll up), and they said they do not
    deal with activation, and transferred me back to the activation
    department. The activation department again said it was not an
    activation issue, and they attempted to transfer me back to the
    licensing department... after I complained that they just keep
    bouncing me back between the same departments, they again said that
    they will escalate the issue, and will call me back (the EXACT same
    response I received several days ago when I spoke to them). So,
    again, I'm waiting for a phone call back from Adobe which will
    probably never come. Good luck!

  • Flash CS3 HTML/Javascript template files

    Has anyone heard of the javascript file that flash cs3
    produces causing .swfs to behave differently between browsers? It's
    happening to me and can't figure out why. If I use the basic of
    html to get the .swf to work, it behaves properly. When I use the
    CS3 HTML template chosen from publish settings, the file doesn't
    work properly in Internet Explorer but still works in Firefox and
    Safari. Anyone ever hear of problems with this code?

    Todd Bluewater;
    Hard to guess based on the information provided. Is
    index.html
    configured as a home page name on that particular server? Can
    you provide a
    url to check? -Tom Unger

  • Flash cs3 crashes when I try to publish

    Hello,
    my flash cs3 is crashing every time I try to publish a file,
    why? I run vista business 32 bit
    I didn't have problems until today,using flash cs3 for the
    last month
    here is what the os says:
    Problem Event Name: BEX
    Application Name: Flash.exe
    Application Version: 9.0.0.494
    Application Timestamp: 46015140
    Fault Module Name: Flash.exe
    Fault Module Version: 9.0.0.494
    Fault Module Timestamp: 46015140
    Exception Offset: 00c5958f
    Exception Code: c000000d
    Exception Data: 00000000
    OS Version: 6.0.6001.2.1.0.256.6
    Locale ID: 1033
    Additional Information 1: bd02
    Additional Information 2: b71b5bf9ea5ff08d6fffcb887aba95ff
    Additional Information 3: 1fd9
    Additional Information 4: 0053c83f18f91bf1d56eaad6275e8c5b
    Hint:
    If I save the same .fla in another folder, flash cs3 doesn't
    crash when publishing. why? this looks that is happening in the
    root of the folder

    quote:
    Originally posted by:
    Newsgroup User
    I Love Doing Websites,
    > my flash cs3 is crashing every time I try to publish a
    file, why?
    That description is about as wide open as it gets! ;)
    Troubleshooting
    is often like a detective story: the more clues one has to
    work with, the
    more confidently one can begin the chase.
    Well, my problem is that the cs3 starting to crash doesn't
    really have an explanation for me. but I will put details here.
    > I run vista business 32 bit
    > I didn't have problems until today,using flash cs3 for
    the last
    > month
    I don't have CS3 installed on Vista, so I'm afraid I can't
    provide any
    offhand suggestions. Since you haven't seen problems until
    today, the first
    thing that strikes me is: what happened with today's FLA that
    was different
    from your previous efforts? Did you import an unusual
    external asset (even
    if only unsual for you)? Maybe you imported a corrupted JPG
    or PNG. Maybe
    a bad font?
    I did nothing with the fla that started the crash, I imported
    some bitmaps and when trying to publish it, it crashed. Also, I
    created another fla, imported some random jpgs 2 I believe, tried
    to export it to the same folder, and cs3 crashed, saved the fla
    with another name garbage.fla No fonts were used
    > Hint:
    > If I save the same .fla in another folder, flash cs3
    doesn't crash
    > when publishing. why? this looks that is happening in
    the root
    > of the folder
    Believe me, I'd be asking these "why" questions myself in
    your shoes.
    What you're describing doesn't sound like a well known issue,
    so my hunch is
    that something is awry with this particular FLA file --
    something not likely
    to be easily reproduced. Since you can publish when saving to
    another
    folder, I would run with that workaround for the time being.
    After saving
    to a different folder, try using File > Save and Compact,
    then move the FLA
    back to your original folder and try again. Or ... try File
    > Save As from
    the new folder, and save the copy into your original folder.
    In your duplicate post, you mentioned starting a thread of
    your own
    (this one) but not hearing any responses. Obviously, I can
    only speak for
    myself in this reply, but it may be that you didn't get
    responses because
    your question is on the vague side. It doesn't describe a
    common issue
    (like, for example, "Why can't I mask dynamic text?" [answer,
    "Make sure to
    embed your font outlines"]).
    When I read these forums, I tend to skim the subject lines
    looking for
    descriptive summaries. Many people post questions like "How
    did they do
    this?" or "Help!" or "Flash question" ... none of which
    describe meaningful
    topics. In my opinion, your subject line is useful, because
    it briefly
    summarizes your question. That's a good thing. When I read
    the actual body
    of your post, though, I quickly realized there wasn't enough
    (for me, at
    least) to give you a solid answer. In this case, I've tried
    to give you a
    few pointers anyway, but I'm only hazarding a few "try this"
    type
    suggestions.
    It may be that others who read your post felt equally unable
    to answer
    your questions with confidence -- at least, as stated.
    Well, I did some research on the internet and there is a
    quite more few people having the same problem, here is the other
    forum I found:
    cs3
    flash crash when publishing
    I am sorry that I didn't post any more specifications of what
    I was doing, but what I was doing was not something different or
    unusual of what I have been doing for the last week at least. I was
    just working with dw and flash together importing the .swf into an
    html and launching the html from dw.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

Maybe you are looking for

  • TS2890 will I no longer be able to sign into my apple account using AOL after 30th March

    I received an e-mail in my junk folder in AOL, claiming to to be from iTunes, saying that after the 30th March I will no longer be able to sign into my Apple account using AOL. Is this correct, or is this a Spam?

  • Bounded task flow task-flow-return to unbounded task flow throws 404

    I'm using an unbounded task flow (adfc-config.xml) to call a bounded task flow (task-flow-definition). All navigation in the bounded task flow works well, data is committing. (I am omitting many of the pages from the bounded task flow to keep this po

  • Your current security settings do not allow this file....

    Trying to download the latest version of iTunes and get the message "Your current security settings do not allow this file to be downloaded." I have made no changes at all, previous to attempting to download this update and have never had a download

  • Problem with FreeTDS

    Hi, I have: Created dblink: CREATE DATABASE LINK "TANDOIEPS_LECCE.DBP.ONET" CONNECT TO "tandoieps" IDENTIFIED BY "tandoieps" USING 'TANDOIEPS_LECCE_TNS'; In tnsnames: TANDOIEPS_LECCE_TNS.DBP.ONET = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL

  • Its the motion of the ocean, not the size of the ship...

    Will a HP 250 GB Internal Hard Drive Part # PY278AA fit in my Compaq Presario CQ50-107NR Notebook PC? The hard drive that came preinstalled has enough room for Windows OS and a few pictures. Thanks This question was solved. View Solution.