Newbie: Receipt happy Flash - need help with embedding - onClick

Hello

I received a web banner from one of our suppliers that I need to integrate into our website.  I have it in the web page, but do not know how to configure an action of "onclick".  In my reading I cannot find a setting to specify the action to take if someone clicks on the banner.  Good that now it opens a new window with an error message saying that it cannot find ' / undefined.  How to set the URL?  The salesman who gave us the marketing content was of no help.

Thank you.

Steve

You are / were close enough in your attempt.  I'll be honest and tell you that you are about to have a little less as much experience as I do with FlashVar... which means that I'll show you where to look (where I might look to get the answer for you):

http://KB.Adobe.com/selfservice/viewContent.do?externalId=tn_16417

Just be sure to include in the object and to incorporate sections of the code that they show on the page linked above.

Tags: Adobe Animate

Similar Questions

  • New to Adobe Flash, need help with a simple coding

    I'm new using Adobe Flash and need help. That means class static type?

    static text is entered in the authoring environment.  This is the text that will not change (that's why static) during execution.

    This is in contrast to the dynamic text, which is text that is assigned using actionscript and can change at any time actionscript runs.

  • Rookie Flash needs help with error messages when you perform a simple calculator in AS3.

    I'm doing a simple calculator I followed this guide:

    http://www.YouTube.com/watch?v=5k3h37YKZJI

    It's my code.

    var Hnum:String;

    var PCnum:String;

    var calc:Number = 25;

    var Total: String;

    NUM1. Restrict = "0-9";

    num2. Restrict = "0-9";

    Est_btn.addEventListener (MouseEvent.Click, Calculate);

    function calculate(event:MouseEvent):void {}

    Hnum = num1.txt;

    PCnum = num2.txt;

    Total = parseInt (Hnum) * calc;

    Total.toString ();

    Total_txt. Text = String (Total);

    }

    I get 3 errors:

    Scene 1, Layer 'Actions', frame 1, line 141067: constraint implied a value of type flash.text:TextField to a type unrelated to a String.

    Scene 1, Layer 'Actions', frame 1, line 151067: constraint implied a value of type flash.text:TextField to a type unrelated to a String.

    Scene 1, Layer 'Actions', frame 1, line 161067: constraint implied a value of digital type to type String unrelated.

    I have two areas named num1 and num2 and box input text and dynamic text named Total_txt.

    This should be so simple, I don't really know what im doing wrong?

    Any help would be really appreciated.

    MrB

    If you look at the tutorial, I think you will see that you are using "txt" where "text" is needed.  'text' is a property of a textfield, identify the text that contains the textfield object.  I don't know if you're doing something where the num1 object contains another object named txt, but I think that my first sentence catches the problem.

  • Quiz Flash need help with actionscript


    Hallo,

    I made a quiz in flash with four Pages:

    1. "welcome to quiz," etc. with a button to GO to THE QUIZ.
    2. the real test with two possible answers
    3. the correct answer
    4. wrong answer with link to start again.

    I've added the following script to jump between the pages:

    {We (Release)}
    gotoAndPlay (pagenumber)
    }

    It works perfectly. But...

    I would like to add several quiz that I figure out on my own, but I want to add a kind of counter, which, at the end of the quiz, will give a percentage or a count for example. 7/10 - 70% congratulations! or something like that.

    Anyone have an idea how I wanted to write this script?

    I am a total newbie Flash is told by the way!

    Thank you very much!

    Create an action layer that extends through all your pages and set an outcome variable...

    var score = 0;

    Maybe for each correct answer you increment the value 1...

    score += 1;

    When you arrive at the end or somewhere else, you have a textfield and you use the value of note in there somehow...

    tField.text = "you answered" + score + "out 10 correctly»;»"

  • Need help with coding for HTML5 with emergency Flash video

    Hello, need help with my coding in Dreamweaver CS5.5 for HTML5 with emergency Flash video. Not sure if the coding is correct. Do I need any other JavaScript etc.?

    code.jpg

    Another thing is that you don't have to include SWF as aid manual if you provide all 3 ogv, webm & mp4 video formats as one of these formats will certainly be played in any browser that is fully compatible HTML5.

    Still one thing you could do if you don't mind hosting your video on Youtube is to get an embed code for Youtube - in this way, you don't have to convert all the files. YouTube will do it for you and it will play on devices of HTML5 as well as supports Flash player of relief for devices that cannot play HTML5.

  • Need help with Flash - really basic!

    Hi, I really need help with Flash and quick. I have to create an auto-run cd, but before I can create that, I have to make everything works! I took a class in College Flash, which up to 1 1/2 ago so im kind of knowledge missing!

    My first problem is as follows:
    I have the homepage, and it contains a button English and french.
    When you click on buttons, it brings you to the next page, either resourcesFr or resourcesEn.
    I tried to use the loadMovie script but and it works but the new page loads on the home page you can still see the English/french under buttons. How can I fix? I know its simple but I am short on time... Should I still use the loadMovie script?

    My other problem is that im trying to have another button to link to a folder. Use the script for getURL for this as well?

    Help!

    I was able to solve my problem... it was only the forward slash that were in the wrong way... so the correct code is:

    on (release) {}
    DRV = _url.substr (8.1);
    getURL (drv + ": / English/brochures");
    }

    Only took me 5 days... I think I need to buy a script book action! Laughing out loud

  • Hi, I need help with my flash mp3 player

    Hi, I need help with my mp3 player, I wan't to add the pause button... Can you help me?

    I created the button I added btn_pause and it won't work.

    function soundStatus() {}

    var amountLoaded = _root.sound_mc.sound_obj.getBytesLoaded () / _root.sound_mc.sound_obj.getBytesTotal ();

    _root. Loader.loadBar._width = amountLoaded * 260;

    duration = _root.sound_mc.sound_obj.duration;

    position = _root.sound_mc.sound_obj.position;

    _root.playHead._x = position / duration * 272 + 5;

    }

    btn_play.onRelease = function() {}

    clearInterval (timeInterval);

    _root.timeDisplay_txt. Text = "00:00 / 00:00 ';

    This._parent.sound_mc.songStarter (songfile [song_nr]);

    };

    btn_pause.onRelease = function() {}

    clearInterval (timeInterval);

    _root.timeDisplay_txt. Text = "00:00 / 00:00 ';

    This._parent.sound_mc.sound_obj.pause ();

    };

    btn_stop.onRelease = function() {}

    clearInterval (timeInterval);

    _root.timeDisplay_txt. Text = "00:00 / 00:00 ';

    This._parent.sound_mc.sound_obj. Stop();

    };

    btn_fw.onRelease = function() {}

    clearInterval (timeInterval);

    _root.timeDisplay_txt. Text = "00:00 / 00:00 ';

    (song_nr == songfile.length - 1)? _Global.song_nr = 0: _global.song_nr ++;

    _root.sound_mc.songStarter (songfile [song_nr]);

    };

    btn_rev.onRelease = function() {}

    clearInterval (timeInterval);

    _root.timeDisplay_txt. Text = "00:00 / 00:00 ';

    (song_nr == 0)? _Global.song_nr = songfile. Length-1:-_global.song_nr;

    _root.sound_mc.songStarter (songfile [song_nr]);

    };

    < proposed by the mod to as3 - kglad >

    :

    function soundStatus() {}

    var amountLoaded = _root.sound_mc.sound_obj.getBytesLoaded () / _root.sound_mc.sound_obj.getBytesTotal ();

    _root. Loader.loadBar._width = amountLoaded * 260;

    duration = _root.sound_mc.sound_obj.duration;

    position = _root.sound_mc.sound_obj.position;

    _root.playHead._x = position / duration * 272 + 5;

    }

    btn_play.onRelease = function() {}

    clearInterval (timeInterval);

    _root.timeDisplay_txt. Text = "00:00 / 00:00 ';

    This._parent.sound_mc.songStarter (songfile [song_nr]);

    };

    btn_pause.onRelease = function() {}

    clearInterval (timeInterval);  you must re - set interval when the unpause button is clicked

    _root.timeDisplay_txt. Text = "00:00 / 00:00 ';

    This._parent.sound_mc.sound_obj. Stop()

    };

    {btn_unpause.onRelease = Function ()}

    This._parent.sound_mc.sound_obj. Start(position/1000);

    }

    btn_stop.onRelease = function() {}

    clearInterval (timeInterval);

    _root.timeDisplay_txt. Text = "00:00 / 00:00 ';

    This._parent.sound_mc.sound_obj. Stop();

    };

    btn_fw.onRelease = function() {}

    clearInterval (timeInterval);

    _root.timeDisplay_txt. Text = "00:00 / 00:00 ';

    (song_nr == songfile.length - 1)? _Global.song_nr = 0: _global.song_nr ++;

    _root.sound_mc.songStarter (songfile [song_nr]);

    };

    btn_rev.onRelease = function() {}

    clearInterval (timeInterval);

    _root.timeDisplay_txt. Text = "00:00 / 00:00 ';

    (song_nr == 0)? _Global.song_nr = songfile. Length-1:-_global.song_nr;

    _root.sound_mc.songStarter (songfile [song_nr]);

    };

  • Newbie needs help with cookie cutter in PSE8

    I'm new to PSE8, the cookie cutter tool and work with layers, what I need help with to accomplish what I want to do.

    I want to use one form of cookie cutter to make several 'holes' in an image, leaving a solid color background layer to show through. (Or another path, use the form of Cutter of biscuit as a solid 'rubber stamp' color to stop shape on the image in several places)?

    I opened my image in the editor and create a solid color fill layer, and then I select the shape of Cutter of biscuit that I want to use, for example a sheet.  Then I select the color fill layer, click and drag to create the sheet randomly somewhere in it.  When I release the mouse button, the window returns to the image and there is the leaf, locked in a box, in the color I want, on the image. I drag the box (leaves) to where I want it and click the green checkmark to accept. So far so good.  Here's the problem: in order to create another sheet on the image, I have to create another layer of fill and repeat the whole process.  If I try to use the same fill layer to a second sheet, the first sheet disappears.  I must be missing something very simple, but I can't figure out how to get out several sheets of a filling layer.  Also, I use a version without the constraint of the sheet because I would create several sheets of different sizes out of the fill layer as well.

    I would be grateful for any help or suggestion!

    Try the following:

    1. File > new > empty file - white
    2. Create a new layer, fill it red
    3. Create a new layer, fill it out of blue
    4. Access the marquee tool, drag the rectangle to the blue layer. You should see "ants in market". Press DELETE on the keyboard.  You should see red in the rectangular hole.
    5. Access to the custom shape (U) tool. In the form of culture library, select the heart shape black all and hang out on the blue layer. Press CTRL + left click the thumbnail of the layer of the capping layer for "mobile dotted." Hit delete on keyboard twice, and you should see red in the heart shaped hole.
    6. Continue with other forms.

  • Need help with windows defender. all my files folders pictures everythiing disappeared and I find myself with this black screen and it is not all good: o)

    Need help with windows defender. all my files folders pictures everythiing disappeared and I find myself with this black screen and it is not all good: o)

    I don't know why vista windows no longer charge, or when the files and folders disappeared

    How Windows Defender is on this problem?

    Follow these steps to try to solve your problems of boot.

     

     

    Restore point:

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

     

    If restore work not and you do not have a Vista DVD from Microsoft, do a repair disc to do a Startup Repair:

    Download the ISO on the link provided and make a record of repair time it starts.

    Go to your Bios/Setup, or the Boot Menu at startup and change the Boot order to make the DVD/CD drive 1st in the boot order, then reboot with the disk in the drive.

    At the startup/power on you should see at the bottom of the screen either F2 or DELETE, go to Setup/Bios or F12 for the Boot Menu.

    When you have changed that, insert the Bootable disk you did in the drive and reboot.

    http://www.bleepingcomputer.com/tutorials/tutorial148.html

    Link above shows what the process looks like and a manual, it load the repair options.

    NeoSmart containing the content of the Windows Vista DVD 'Recovery Centre', as we refer to him. It cannot be used to install or reinstall Windows Vista, and is just a Windows PE interface to recovering your PC. Technically, we could re-create this installation with downloadable media media freely from Microsoft (namely the Microsoft WAIK, several gigabyte download); but it is pretty darn decent of Microsoft to present Windows users who might not be able to create such a thing on their own.

    Read all the info on the website on how to create and use:

    http://NeoSmart.net/blog/2008/Windows-Vista-recovery-disc-download/

    ISO Burner:http://www.snapfiles.com/get/active-isoburner.html

    It's a very good Vista startup repair disk.

    You can do a system restart tool, system, etc it restore.

    It is NOT a disc of resettlement.

    And the 32-bit is what normally comes on a computer, unless 64-bit.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Data recovery:

    1. slave of your hard drive in another computer and read/save your data out there.

    2. put your Hard drive in a USB hard drive case, plug it into another computer and read/save from there.

    3 Alternatively, use Knoppix Live CD to recover data:

    http://www.Knopper.NET/Knoppix/index-en.html

    Download/save the file Knoppix Live CD ISO above.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    http://isorecorder.alexfeinman.com/isorecorder.htm

    Download the Vista software from the link above.

    After installing above ISO burning software, right click on the Knoppix ISO file > copy the Image to a CD.

    Knoppix is not installed on your PC; use only the resources of your PC, RAM, graphics etc.

    Change the boot order in YOUR computer/laptop to the CD/DVD Drive 1st in the boot order.

    Plug a Flash Drive/Memory Stick, BOOT with the Live CD, and you should be able to read the hard drive.

    When the desktop loads, you will see at least two drive hard icons on the desktop (one for your hard drive) and one for the USB key.

    Click on the icons of hard drive to open and to understand which drive is which.

    Click the icon for the USB drive and click on "Actions > Change the read/write mode" so you can write to disk (it is read-only by default for security reasons).

    Now to find the files you want to back up, just drag and drop them on the USB. When you're done, shut down the system and remove the USB key.

    See you soon.

    Mick Murphy - Microsoft partner

  • Need help with the settings of the firewall for Firefox

    My wireless connection is fine, but all of a sudden my mozilla firefox browser cannot connect to Web sites. I can connect using another browser. Looks like I need to change the firewall settings, but I don't know how. How can I distribute my browser to work again? Don't know what happened to start blocking it, but it just happened some time this morning.

    Hi Tara,

    You can check the link and follow the steps and check if this may help;

    Configure the firewall so that Firefox can access the Internet

    http://support.Mozilla.org/en-us/KB/configure-firewalls-so-Firefox-can-access-Internet

    Is has problems, I suggest you to contact the Mozilla Firefox support,.

    http://support.Mozilla.org/en-us/products/Firefox

    If you need help with Windows, please do not hesitate to post. We will be happy to help you.

  • Need help with screen Blus of death (BSOD) on my computer toshiba laptop

    Hello all, Ive had a little last week, or problems with my laptop. While playing a game (minecraft), I would randomly have a BSOD error and my laptop will re-start. Initially, I gave it no thought, but when it happened again, I decided to try to do a little research, but I'm not terrible with technology and other then I'm neither the case with my own research.

    If someone could point me in the direction of a few possible ways to get this problem.

    guys do you propose I make to the store and see if they can check it out, what would I need if I did.

    I got a program to read some sort of file "dump" made when occurs a BSOD, I publish what this program here says? the program is BlueScreenView, if yes, what I have post the spectator thing? There are has 2 main screens on it, SDO as Sho different dump files (which is on the top) and on the bottom, it lists the names of different files for each dump file I think that some of them highlighted.

    im not this product with tech so I don't know much but I need to post anything on my laptop or any information of the dumpfile and would have this info help in any way to determine the problem? just tell me what I have to post and ill get the information displayed in a response, thank you.

    -leoknighted

    PS: I don't think that playing minecraft is the cause of the BSOD and crashing, but I only get it when playing minecraft, so I don't know if minecraft is causing accidents and others. I watch videos and this all the time and I never have an accident. I'll try and play a different game and see if this causes my laptop down and the cause is perhaps high usuage to my laptop, as I've said games require a lot of power of a laptop/computer, if they are not the 'best' laptop for games. but yh, if someone thinks they can help me and need some information please tell me so I can get it for you. If you guys think it would be best to get a professional to look just mylaptop say, however im save as a last resort.

    Hello

    I suggest you to refer to this article to check if this help.

     

    Resolve stop (blue screen) error in Windows 7
    http://Windows.Microsoft.com/en-us/Windows7/resolving-stop-blue-screen-errors-in-Windows-7

    Important: System Restore will return all system files not as documents, email, music, etc., to a previous state. These files of types are completely affected by the restoration of the system. If it was your intention with this tool to recover a deleted file to non-system, try using a file instead of system restore recovery program.

     

    Important: while performing the check disk on the hard disk, if bad sectors can be found, then check disk will try to repair this sector. All the data available in this area may be lost.

     

    Custom installation WARNING: If you format the hard disk during the installation, the data files are saved in a Windows.old folder on the partition you installed Windows 7.  However, you should always back up the files. If you have encrypted data files, you may not be able to access them after installing Windows 7. If you have backed up your data files and then restored after Windows 7 is installed, you can delete the Windows.old folder.

    Let us know if you need help with this question, we will be happy to offer you our help.

  • I need assistance in the import of certain vectors, watercolor color chart and other creative market (step by step instructions).  Im a newbie to Illustrator and need help.

    I need assistance in the import of certain vectors, watercolor color chart and other creative market (step by step instructions).  Im a newbie to Illustrator and need help.

    Should be the subject of the file > open.  After the download.  The swatches will come with the file.

  • Need help with video scrolling

    Hello

    I need help with a project. Subsequently, I want is that a webcam controls the position of the mouse and the mouse position

    control of a video. But I would like the part where the mouse position controls the video.

    So, if the mouse is on the left on your screen, the video will be on the first image and when you move, you're the mouse for

    the right to the video play as a result traffic. and stop when the mouse is completely right.

    Effectivly the scrolles from the mouse through the video. It must be on the x-axis.

    I'm not that formilliar with flash, so any help would be great

    THX!

    Thijs

    what you need to do, is to designate a rectangle where users can use their mouse to scroll through the video.  If this rectangle has instance name bar, you can use:

    var m, b:Number;

    var lastSeek:int = getTimer();

    flv_pb.addEventListener (MetadataEvent.METADATA_RECEIVED, f);

    bar.addEventListener (MouseEvent.MOUSE_MOVE, moveF);

    function f(e:MetadataEvent):void {}

    paramF (0,0,stage.stageWidth,e.info.duration);

    }

    function moveF(e:MouseEvent):void {}

    {if (getTimer () - lastSeek > 1000)}

    flv_pb. Seek(m*e.stageX+b);

    lastSeek = getTimer();

    flv_pb. Play();

    }

    }

    function paramF(x1:Number,y1:Number,x2:Number,y2:Number):void {}

    m = (y2 - y1) / (x 1 - x 2);

    b = y1 - m * x 1;

    }

  • Need help with Sprite´s. (Rectangles and circle)

    Hello!

    I kinda need help with a project. I m supposed to do a script that responds to a click and moves the circle of one rectangle to another.

    (Here's a picture)

    howtosprite.JPG

    So, what I want is: when I click on the blue rectangle to the right, the circle must move instantly in the rectangle on the right. And same thing on the opposite path.

    Thanks in advance!

    -Best regards,.

    Aleksandar "Dyxir" B.

    import flash.events.MouseEvent;

    leftRec.addEventListener (MouseEvent.CLICK, fCircle);
    rightRec.addEventListener (MouseEvent.CLICK, fCircle);

    function fCircle(evt:MouseEvent)
    {
    Circle.x = evt.currentTarget.x;
    Circle.y = evt.currentTarget.y;
    }

    Note: Point for all alignment: Center

  • I'm suddenly needing help with my browser Firefox (6.0.2)

    Hello
    I'm suddenly needing help with my browser Firefox (6.0.2)

    (OS: I use Windows XP).

    When I open the browser, I don't see is a totally white screen of white, with all the toolbars at the top.

    I know that my physical connections are very good: I have tested the modem, turned the pc market etc and I can also receive/send emails.

    This problem started today, September 8, 2011 and has never happened before.

    Is it a coincidence that Firefox itself to day before I disconnected yesterday evening? Could this be something to do with this particular new update?

    I also noticed that just before I "opened" Firefox, I now get a small box indicating:

    [JAVASCRIPT APPLICATION]
    Handl exc in Ev: TypeError: this oRoot.enable is not a function

    This never appeared before - I hope that it offers a clue has what is wrong.

    The browser not be stuck in Mode safe, said by the way.

    Of course, I can't find solutions to the problem on the internet, I don't physically see all Web sites!
    (A friend sends this request in my name from their pc)

    Any light you can throw on this problem of confusion would be much appreciated. I'd rather not have to uninstall and reinstall Firefox if possible.

    If the only option is to uninstall Firefox and reinstall from your site, I'm also in trouble (I can not see the internet or download).
    In this case, would you be able to send the .exe file as an attachment to my e-mail address? In the affirmative, please let me know and I'll give you more details.

    Thanks in advance.

    One possible cause is security software (firewall) that blocks or limits Firefox or plugin-container process without informing you, possibly after the detection of changes (update) for the Firefox program.

    Delete all rules for Firefox in the list of permissions in the firewall and leave your firewall again ask permission to get full unlimited access to the internet for Firefox and the plugin-container and the update process.

    See:

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions of the origin of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

Maybe you are looking for

  • Yahoo password email changed computer but the iPhone and iPad can always GET mails without updating the password

    Yahoo password email changed computer but the iPhone and iPad can always GET mails without updating the password...Normally, it should show as 'could not load the mail' or 'impossible to download the mail' or 'Please verify your password... "It's rea

  • Satellite C645-SP4131L - video card update possible?

    Hi, I hope that this question is not repeated, I'm looking for the forum but not found a solution to my problem. Search online for information on my toshiba are capable of graphics card, ATI or another, and if so, what models are compatible?I hope no

  • New photos app messages images for false Facebook account

    When you use the new photos app to share your photos on Facebook, groups that appear belong to my daughter's account, and the photos are indeed posted on her account. She used my computer to check email and Facebook, but the connection active Faceboo

  • How to remove the connection identifier Apple Apps.

    My wife's iPhone had previously purchased with the help of a now deleted Apple ID applications. I deleted all original applications under the id now deleted and downloaded under its new Apple ID. However it cannot be updated because the iphone contin

  • Re: End of the data partition

    What is the purpose of the data partition? I see that he holds the files for HARD drive recovery, and I guess the hidden restore pictures are listed also, does it to other purposes? The reason why I ask is that I want to dual boot with Linux and I wo