Flash cs3 - script

Hello,
I have ensambled a web, but in a scene, I could link email on address:
With actionScript cs3 I wrote:
getURL:(email:[email protected]);
Colour line is green, but this order no active.
Well, if someone knows one solve, help me please.
Thanks a lot.
disenografica.

cpu_text_mc.addEventListener(MouseEvent.MOUSE_DOWN,drag)
cpu_text_mc.addEventListener(MouseEvent.MOUSE_UP,stopdrag)
function drag(e:MouseEvent){
var mc:MovieClip=e.target as MovieClip;
e.target.startDrag()
mc.addEventListener(Event.ENTER_FRAME,checkHit)
function stopdrag(e:MouseEvent){
e.target.stopDrag()
function checkHit(e:Event){
var mc:MovieClip= e.target as MovieClip;
if(mc.hitTestObject(cpu_mc)){
mc.removeEventListener(MouseEvent.MOUSE_DOWN,drag)
mc.removeEventListener(Event.ENTER_FRAME,checkHit)
mc.stopDrag()
trace("hit")
This should do the trick

Similar Messages

  • Flash CS3 fl.* package cannot be used in Flex Builder 3

    Hi,
    I was very disappointed to find out that one cannot import
    the fl.* package, which is available for flash CS3. I found a work
    around by creating swc file and importing them, however it's
    disappointing that flash CS3 would have such a major advantage over
    Flex Builder 3 when building an Action Script 3.0 Application.
    Best, E

    I've looked over that sample.
    Part of the problem is that I don't have access to
    mx.effects. I think this is because that example is a Flex 3
    Project and has a MXML file attributed to it. I opened a Flex 3
    project and was able to access mx.effects - but my project is
    different in that it's an ActionScript project - meaning, I opened
    an ActionScript project in Flex Builder 3. Apperantly the
    ActionScript projects don't have access to mx.effects.Tween. And
    niether do they have access to fl.transitions.Tween. It's strange -
    and I'm trying to find a way to access them by connecting the build
    path to the Tween classes somehow.
    My project preferences already have the fl.* folders in the
    build path. It just still doesn't seem to work.

  • Can't get rid of Flash CS3 Trial !

    I did a search first, no real solutions in prior posts that I
    could see. Searched the rest of Adobe too.. no solutions found that
    apply.
    In January I downloaded and installed the Flash CS3 Trial.
    I'm not going to buy it, so now that the trial has expired, I want
    it OFF my machine. I ran it thru the usual Add/Remove Programs.
    Well, my machine rebooted (I was doing something else at the time
    and never did see any prompts to reboot from the installer
    program), but when it came back up the Flash CS3 trial
    was still there ! So, I tried the add/remove again - only
    this time the only thing it would uninstall are the Flash Player
    and the Flash Player 9 ActiveX component ! NO choice to get rid of
    the actual program.
    What do I have to do to get this program OFF my hard drive ?
    There's no other uninstall program, the add/remove programs is
    useless, and the only thing even close for getting rid of it was
    some CS3clean script - which was apparently meant for deleting the
    early BETA versions.
    How can Adobe NOT supply an uninstall mechanism other than
    add/remove programs - most other software I've ever used does
    !!

    Thanks, wasn't sure about that. It's not a problem, Flash CS3
    is the ONLY CS3 product on my machine. I have Studio 8 currently
    installed, and CS2 Suite too, so hopefully that won't be trashed.

  • Problem displaying dynamically loaded text in Flash CS3

    I created a Flash CS3 application that does not display
    dynamically loaded text (from internal AS3 scripts) on 3/6 of my
    client's computers. All computers run IE 6 and Flash Player 9. I
    cannot replicate the problem on any computer in my department. The
    problem seems to be related to Flash Player 9 or a browser
    setting/IT restriction. Has anyone encountered this? If so, have
    you found a solution?
    If I cannot find a solution, then I will need to almost
    completely redo the application.
    One slightly insane idea I have considered is to, if
    possible, convert dynamically loaded text to an image real-time. Is
    that possible?
    Btw, I have created a font in my library. Should I try
    manually embedding the font from the Properties menu and selecting
    all characters?
    Thanks in advance.

    yes, even though you may be using a font from the library,
    you still have to specify that each text field that uses that font
    embeds the font, and you'll need to select all characters(well not
    all, unless you require all the different scripts of the world -
    upper-case, lower-case, numerals and punctuation usual suffices).
    I bet if you checked, the computers where the font did not
    appear did not have the font on their system.
    Good luck
    Craig

  • Flash CS3 Issues ..?

    Hi - General question ii hope some cna help me with.
    Recently downed Flash CS3 - Dreamweaver and PS
    No issue on install - things i thought were going fine
    Comps got a fresh OS and updated drivers new - 2 gig of
    memory.
    i've been noticing little things like - when i save my fla -
    i updates other .fla's in the same folder - (not with the same
    name)
    I just built a CF and now - with no change to the swf - when
    i saved the .fla after a minor update - it changed all the other
    versions of .fla and the .swfs - all were empty - 1k swf and 1k
    .fla's after saving.
    when attempting to preview the fla's i had been using and is
    working fine on my site. Flash stated it had preformed and illigal
    something? and crashed and keeps crashing upon attempting a preview
    whethr browser or flash.
    I checked all code and code in the xml's js nad action
    scripts html etc etc - it was fine
    Now here is the kicker - my flash player ? seems to be
    missing over and over - i go to the adobe site - it shows it's not
    installed - i've installed it at least 8 damn times today. I dont'
    know if this is realated - but - it seems to be happening
    after deleting the 1k .swf's and fla files it produced
    I coped and pasted a back up copies of the .swfs and .fla's -
    which worked fine while in the back up folder - worked perfectly -
    till i opened it up the .fla in flash ( rechecking code to be sure
    i didn't miss something.
    Flash did it again, emptied or changed the back-up copy of
    the .swf and .fla down to .1k - empty nothing there. all i did was
    open it up?
    did a virus scan - a spy ware scan - nothing - didnt' think
    there would be - but better safe than sorry.
    These issues just really kicked in today - while i was
    working on a final .fla and considering some changes additions -
    going to experiment and get deeper into what i wanted to create.
    Till around 4pm today my .fla's and .swf Previewed fine and
    played fine - then just quit - and though it won't preview - i
    tested a export movie - the new .swf worked???
    any thoughts on the cause?
    Possible software conflict - maybe?
    but that wouldn't explain the Flash player not showing as
    installed on the adobe site or would it.
    I need to finish this fla soon, so i could use some help with
    this if any one has some suggestions as to what may be causing the
    issues.
    tia
    - c -

    thanx for the reply jdmajor -
    as mentioned - i scanned yesterday - first thing was a boot
    scan - memory scan - file scan - took 3 hrs to scan everything so
    many times - nothing popped up - well.....
    a Avast stated a cab file was corrupted on the boot scan -
    reinstalled Avast - re-updated signatures and Re-Boot scanned,
    memory scanned.
    Nothing showing as corrupted as far as viruses trojans worms
    etc
    did the usual maintanence - defrag - etc etc which
    maintanance is done nightly anyway.
    checked all updates for wares - nothing.
    drivers - nothing new.
    The flash player needing to be re-installed has been from the
    begining - lasts usually a couple days - then it shows as not being
    installed and i have to re-install it - now it's worse - yet
    thoughit shows not installed via the Flash Player page - it plays
    flash fine so i know it's installed.
    there are no hacked warz on the comp.
    Tried again last night - with some other back-up copies of
    the fla. -
    it keeps bring the 12k file to 1k and it refuses to work -
    now claiming it can't load the .xml file which is ...
    aaaarrggh! frustrating to say the least... lol up till 2:30am
    trying to fix it
    rebilt another mini file - worked fine - maybe there is
    something conflicting with paper vision.
    though there shouldn't be - i'm not re-writting the files.
    Just opening an existing previously working .fla file.
    I downed flash again last night - thought maybe a re-install
    of flash cs3
    - but...??? haven't done it yet
    tried debugging the script - nothing other than it keeps
    staing now that it can't load the .xml file
    checked pathways - a hundred times - they're correct.
    issue is somewhere... that's for sure.
    thanx for the suggestion
    i'll try a safemode scan - maybe it will reviel somthing
    though to be honest i hope not - not wishing for virus or worm I'd
    rather it be something else to be honest.
    Doesn't anyone come up with viruses and hacks that do good
    things ?
    lol theres a thought

  • Flash CS3 or CS4 Developer Certification

    Hi,
         I am a flash developer, I am looking for Flash Developer certification in CS3 or CS4 but Adobe still don't have any certification for Flash Developer.
         Only Flash CS3 certification are there in Adobe. If Any one know When Adobe Planning to release Flash Developer certification please add that
    details  in this Forums or If you know any mail id for Adobe certification preparation team also please let know. Thanks

    Adobe hasn't in the past broken the Flash certification down into Developer v Designer.  Adobe only puts an ACE certification on Flash as a whole, with every part of the IDE, including scripting, in the exam.
    It looks like they haven't completed a CS4 Flash ACE exam yet, so the only one available is the Flash CS3 ACE.
    http://partners.adobe.com/public/ace/main.html
    There are, however, specialist certification groups that you can go for, which require passing multiple exams.
    http://www.adobe.com/support/certification/ace_certify.html
    Look under the two expandable items (designated by "+ Products available for proficiency")

  • Is flash 8 pro or flash cs3 better

    I am about to buy either flash 8 or cs3 so can some one help
    me. Now i have used both trials and noticed flash cs3 had better
    grapics design but flash 8 i mainly used action script and noticed
    it had a bar to the side that told what each script did and when
    you put in the script a bar came up and help you fill in the action
    script and i was wondering if flash cs3 had that same feature
    because im still new at flash and action script. If you can help me
    i will be grateful.

    Yes. CS3 has that same feature.
    Dan Smith > adobe community expert
    Flash Helps >
    http://www.smithmediafusion.com/blog/?cat=11
    http://www.dsmith.tv
    "shnaru" <[email protected]> wrote in
    message
    news:fobbcj$67g$[email protected]..
    >I am about to buy either flash 8 or cs3 so can some one
    help me. Now i have
    > used both trials and noticed flash cs3 had better
    grapics design but flash
    > 8 i
    > mainly used action script and noticed it had a bar to
    the side that told
    > what
    > each script did and when you put in the script a bar
    came up and help
    > you
    > fill in the action script and i was wondering if flash
    cs3 had that same
    > feature because im still new at flash and action script.
    If you can help
    > me i
    > will be grateful.
    >

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

  • 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 newbie help - setting up a clicktag

    I am just about to pull my hair out - please help as I don't have that much hair to pull out.
    I created a flash file in Flash CS3 and was told I need to add a click tag for an agency who want to keep track of the click throughs for the ad.
    I have created the invisible button layer and set up the 'hit' and tried and tried and tried to select the button and add some action script to it.
    (which I have seen three different codes to use)
    Each time I export it or publish it I get the error message: mouse events are permitted only for button insances on release. I have read and understand I need to assign the code to the button and not the frame but for the life of me, I cannot figure out how to do that.
    I select the button (which I have converted to a 'button') and F9 or left click to get the Actions panel and once I am there and try to use the '+' to add code, it automatically shows 'Current Select/Frame 1 in the left side of the Actions panel. I get that it is adding the code to the frame but how do I get it to add the code to the button???
    So my question is 1) how do I add the code to the button and not the frame and 2) what code should I use?
    Any and all help is GREATLY appreaciated!
    oops...forgot to add I am using AS2. Thanks!

    Kglad - thanks so much for all your help.
    I spoke to a friend who corrected what I was doing.
    Here's an explanation for those who may find the thread...
    Click on the invisible button you created and press F9 (opens Actions)
    (Ensure it says 'Actions: button' at top)
    Put this code in:
    on(release)
    var clickTAG="http://www.yourwebsite.com";
    if (clickTAG.substr(0,5)=="http:")
    getURL(clickTAG, "_blank");
    Seems it's always a simple answer for a baffling question.
    Thanks again.

  • 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."

  • Flash8 or Flash CS3 determine what frames and objects use a given library object

    I am doing cleanup on a FLA file(a large fla file). I am
    looking for an easy way to determine where each library item
    may be used in the given flash document and at what frame and
    layer it may be used at.
    Yes I have updated the use counts by selecting "update use
    counts". Which is really nice. Becuase I can then
    easily delete all the unneeded objects(note: I was also
    guaranteed they(library items) were not called into the FLA file
    dynamically by action script, Which was a relief).
    So what I am looking for is a way to run a report for one
    object or for the entire library to show me where
    a given symbol, button,swf, flv or picture is being used in
    the parent or it's chidren or in another library item.
    Here is an example of the report I am looking for.
    Library Item "logo.jpg":
    ocurrence #1> _root;layer8,frame 25
    ocurrence #2> _root;layer(showlogo),frame 25(imageframe)
    ocurrence #3> _root;layer(showfinishpage),frame
    125(exitpage)
    occurence #4> LIBRARYITEM(logoTween),frame23,layer2
    Does anyone know how this can be done...?
    Additional search item references
    ==============================
    report library items
    Flash 8 library report
    Flash MX library report
    Flash CS3 librarry report
    Flash Library objects usage counts
    Keep use counts updated
    update use counts now
    determine where library items are used in a give fla file
    flash library "update use counts" objects frames report
    flash "library use" objects frames report
    flash 8 fla library usage where are they being used

    Will Edit > Find and Replace help?
    I don't know of any report, other than Generate size report
    (found in publish settings under Flash), but you could probably
    write a .jsfl script to do it for you I imagine.

  • Can't install Flash CS3!

    Hey!
    I've got a MacBook (about a year old), and when i'm trying to
    install adobe flash cs3 i get 2 errors, the installation completes
    but "Adobe Flash CS3 and Adobe Asset Services CS3" failed to
    install..
    I've tried with the free trial and the full version (design
    premium cs3.
    What to do??

    I fixed it myself with the CS3 clean script. I seems the
    ruins of Photoshop CS3 beta were all over the place (even though
    that never worked and i uninstalled it with the uninstaller). Whats
    with the nick name? There has to be some reason why these apps get
    twice as large every time they update, and installation gets ever
    more painful. Loving the Flash though, native at last.

  • Comunication and events: Flex Builder 2 with Flash CS3

    Hey hello...well, my question is: how can i comunicate Flex
    Builder 2 with Flash CS3?
    this is my code on Flex Builder 2:
    <mx:Script>
    <![CDATA[
    import mx.controls.*;
    import mx.events.*;
    public function CargaCompleta(e:Event):void
    try
    e.target.content.objeto_salida.addEventListener(Event.COMPLETE,uno);
    catch(er:Error) { Alert.show(er.message,"Error"); }
    public function uno(e:Event):void
    try
    s1.content["objeto_salida"].removeEventListener(MouseEvent.CLICK,s1.content["Finaliza"]);
    s1.source = null;
    s1.source = "recursos/reactivos/208M-1R.swf";
    catch(er:Error) { Alert.show(er.message,"Error"); }
    ]]>
    </mx:Script>
    <mx:SWFLoader id="s1" width="278" height="251"
    complete="CargaCompleta(event)"
    source="recursos/interactivos/208M-1I.swf">
    </mx:SWFLoader>
    and when it change from one file to another, on the event
    "Complete" for the SWFLodar, an error happend
    TypeError: Error #1009: No se puede acceder a una propiedad o
    a un método de una referencia a un objeto nulo.
    at 208M_fla::MainTimeline/frame1()
    Hope somebody can help me...for your time thanks...

    "Jorge EdOardo" <[email protected]> wrote in
    message
    news:gfcfcr$9s2$[email protected]..
    > Hey hello...well, my question is: how can i comunicate
    Flex Builder 2 with
    > Flash CS3?
    >
    > this is my code on Flex Builder 2:
    > <mx:Script>
    > <![CDATA[
    > import mx.controls.*;
    > import mx.events.*;
    > public function CargaCompleta(e:Event):void
    > {
    > try
    > {
    >
    e.target.content.objeto_salida.addEventListener(Event.COMPLETE,uno);
    > }
    > catch(er:Error) { Alert.show(er.message,"Error"); }
    > }
    > public function uno(e:Event):void
    > {
    > try
    > {
    >
    >
    s1.content["objeto_salida"].removeEventListener(MouseEvent.CLICK,s1.content["Fin
    > aliza"]);
    > s1.source = null;
    > s1.source = "recursos/reactivos/208M-1R.swf";
    > }
    > catch(er:Error) { Alert.show(er.message,"Error"); }
    > }
    > ]]>
    > </mx:Script>
    > <mx:SWFLoader id="s1" width="278" height="251"
    > complete="CargaCompleta(event)"
    > source="recursos/interactivos/208M-1I.swf">
    > </mx:SWFLoader>
    >
    > and when it change from one file to another, on the
    event "Complete" for
    > the
    > SWFLodar, an error happend
    >
    > TypeError: Error #1009: No se puede acceder a una
    propiedad o a un m?todo
    > de
    > una referencia a un objeto nulo.
    > at 208M_fla::MainTimeline/frame1()
    >
    > Hope somebody can help me...for your time thanks...
    http://weblogs.macromedia.com/pent/archives/2007/04/using_actionscr_1.html

  • Loop then stop Flash CS3 vs Flash CS5

    I recently upgraded from Flash CS3 to CS5. I'm creating a banner in Flash CS5 using ActionScript 2.0. I want it to loop 3 times then stop. I'm using the same code as I did in CS3. When I view it using Flash Player, its fine but my client is saying it loops continuously when they view it. Has the code changed since CS3? Here is the code I'm currently using:
    ON FIRST FRAME I ENTERED:
    var count;
    if(!count){
         count = 0;
     THEN ON THE LAST FRAME I ENTERED:  
    count += 1;
    if(count == 3){
    stop();
    I'm Action Script challenged, so please be specific. Thank you in advance for your help.

    Hello kglad,
    Thanks for confirming that the script was fine. Seems like there was something wrong with the swf file, not the script. Thanks for ruling out the script as the problem source.
    Judy

Maybe you are looking for

  • HT3728 Backup stopped and error message-need help

    My backup won't work and I get this message  The backup disk image "/Volumes/Data/C......'s MacBook.sparsebundle" is already in use  Help is greatly appreciated! Thank you in advance!

  • Validations in ABAP webdynpro

    Dear friends,    I am trying to find out what is the simplest and best way to have validations in an ABAP webdynpro. There are a bunch of fields in a view in one of the webdynpros that iam working on. I would like to set up validations to some of the

  • Xcelsius 2008 Component SDK is now available

    Post Author: abrat CA Forum: Xcelsius and Live Office The Xcelsius 2008 Component SDK is now up on Diamond:: http://diamond.businessobjects.com/xcelsius/sdkDownload the Xcelsius 2008 Component SDK and install it.The folder you install to also contain

  • JTABLE INPUT AND OUTPUT...ALMOST WORKING! PLZ HELP!

    Here's my program. Please try it out for yourself first, PLEASE. And do the following when you run it: 1) Click the modify entries button (the table displays perfectly). 3) Click the back button. 4) Click the modify entries button AGAIN. 5) WHY WON'T

  • Variants for Auto Settlement of Projects in CJ8G

    Hello I am having a batch job for auto settlement of capital projects (starting with C). Just need some input to chk the logic on which I am setting those variants: 1.Create a Variant starting with C* (i.e. all Capital Projects) 2.Use dynamic selecti