Use the image as a background with drawRoundRect

Hi all

I would like to use an image as background on some dynamic movieclips... is this possible? Here is my code: -.

var stab: MovieClip = new MovieClip();

sTab.graphics.beginFill (0x007FC7);
sTab.graphics.lineStyle (1, 0xFFFFFF);
sTab.graphics.drawRoundRect (0, 0, 81, 50, 5);
sTab.graphics.endFill ();
sTab.x = 81;
sTab.y = 1;

sTab.addEventListener (MouseEvent.CLICK, sTabClick);
sTab.buttonMode = true;
sTab.mouseChildren = false;
sTab.mouseEnabled = true;
sTab.useHandCursor = true;

var t:TextField = new TextField();
t.antiAliasType = "Advanced";
t.Text = 'Up Time';

var tf:TextFormat = new TextFormat();
TF. Color = 0xFFFFFF;
TF. Size = 18;
TF.font = "Arial Black";

t.setTextFormat (tf);
t.Width = sTab.width;
t.y = 10;
sTab.addChildAt (t, 0);

addChild (sTab);

function sTabClick(event:MouseEvent):void {}
trace ("clicked sTab");
}

Thanks a lot for your help

Martin

Use the graphics class beginBitmapFill() method.

Tags: Adobe Animate

Similar Questions

  • I can't open the images in Yahoo mail with 7 Firefox, but IE works.

    After several years of success with Yahoo mail and Firefox, I can longer open mail of Yahoo (jpg, bmp) images. I can open them in gmail with Firefox or IE. I can open them in Yahoo mail using IE. I am running Firefox 7.0.1 and I think, but am not sure, all my trouble started after the update to this version of Firefox.

    RESOLVED: Here is the solution to "I can't open the images in Yahoo mail with 7 Firefox, but IE works." Just before I log on my E-mail Yahoo site I turn on cookies, but I never enable third-party cookies. That has always worked very well until October 2011. Just after I installed the new Firefox 7 this problem started. Now I just found out that the problem is solved, if I enable cookies from third party. Users should not have to enable cookies from third party read the Yahoo mail via Firefox!

  • I tried to write a script, the user can use. This return number file *.tiff associations back using the image viewer is caused each month.

    Original title: automation of file tiff without elevated rights association

    I tried to write a script, the user can use. This return number file *.tiff associations back using the image viewer is caused each month.

    Hi, Unclemarcus2002,

    You would be wiser to post on the Forum TechNet where there is COMPUTER experts.

    http://social.technet.Microsoft.com/forums/en-us/newThread

    Maybe using the ASSOC and FTYPE command in a script will do what you want? I think that these orders would also apply the association throughout the world, rather than on a per-user basis.

    ASSOC: http:

    FTPYE: http:

    Here is an example, that you can try.

    Let's say you have a text file called "foo.bar" and you want the extension .bar always open with Notepad. There is an association for text files, so get him by typing "Ftype | more' at the command prompt (it will make a major announcement). Finally, you'll see the line "txtfile". On mine, it's "txtfile=%systemroot%\system32\notepad.exe %1" without the quotes.

    First create your association: assoc .bar = FooBarText

    Now to assign your request to your file type association: ftype FooBarText=%systemroot%\system32\notepad.exe %1

    You should now be able to double-click the foo.bar file and it will automatically open in Notepad.

    If you already have a Microsoft Office Document Imaging association, I think that it should be relatively simple type of substitution. Use ftype /? for a little more help.

    http://community.Spiceworks.com/topic/119639-Windows-7-automate-file-assocations

  • Where can I use the Images I buy?

    I've been a customer of the Club Photo Dollar up to what Adobe bought them.

    I am now an Adobe customer with a ton of CPD credits.

    Can I use the images I buy:

    1. in my blog?

    2. in my LinkedIn messages?

    3. in my newsletter (3000 recipients)?

    I can't find the info anywhere use. Thanks - Rich

    Hi rich,

    I recommend you go through the purchase of licenses Adobe Stock conditions carefully.

    Please find the link below:

    Legal terms of use | Adobe

    Also look at the common FAQ frequently asked Questions, Adobe Stock

    In general, if you have the intention of any monetary gain you should go for the extended licenses.

    Please let me know if you need more information.

    Kind regards

    Gerard

  • Can I use the images I have licensed work for cd and cd packages, which will be sold commercially?

    Also, what is the purpose of 'License Again' one image that I already have a license?

    You should be able to use for a CD cover, as long as the distribution does not exceed 500 000. Good idea to add a photo with all other credit and credit. You could always get the extended license for $79 and be safe.

    The license is once again because the image is only allowed by the customer. For example if I was a web designer and I used a licensed image for a website customer and then wanted to use the image in another project for another customer should be a new license for this customer.

  • Don't want new tiff files saved in my catalog if I'm only using the image of a composite.

    During the edition of Photoshop CS4 of LR3, the new fit will not appear in the catalog unless I have save in PS. In the LR4, it saves a new tiff in my catalog without worrying if I save the image edited in PS or not. I have a library of clouds, I use often and don't want new files saved in my LR catalog if I'm only using the image open for compositing. Can someone help me understand how to change the workflow to resemble LR3?

    The behavior of LR, create and save a TIFF file is automatically used when LR and ACR do not run a version of equal. In order for Lightroom to be able to place an image without creating a TIFF file saved the LR and ACR version must match. This will be possible until CS6 and cab 7 fate PS. Then when LR RTAs versions and match, Lightroom image from Camera Raw to make in Photoshop using a thing called 'bridge Scriot"LR tracks to open the file in Photoshop. If you don't save it, LR knows and no file is added to the catlog. If you save or you save as in Photoshop, Lightroom knows and adds this file that you saved, regardless of where it was saved.

    So, again, there are two fundamental behaviours of Lightroom. If LR and ACR match, LR titles the image where (if) you save. If LR and ACR are out of phase of pf, Lightroom renders a file TIFF is saved before sending it to Photoshop. And no, ACR 6.7 does not count as in sync with LR4... 6.7 the cab is a stop gap measure to allow users of LR4 open images with parameters of PV 2012... It will not be until you get 7 ACR in CS6 you will get optimal integration between LR, ACR and Photoshop.

    BTW, this behavior is consistent across all versions of LR/ACR for LR2.

  • I have a psc 1350 HP which cannot me use the scanner, due to incompatibility with Internet Explorer 8.

    I have a psc 1350 HP which cannot me use the scanner, due to incompatibility with Internet Explorer 8.  When I use their "fix", it turns out that my screen blue and green. Aid others?

    Your support for the product is unfortunately - the manufacturer of the product.

    Suppose you tried everything here:
    http://h20000.www2.HP.com/bizsupport/TechSupport/document.jsp?lang=en&cc=us&TaskID=110&prodSeriesId=306884&prodTypeId=18972&ObjectID=c00802504

  • I installed Vista in a Virtualbox VM and the product key does not work, how to fix this? I use the same product key supplied with the computer originally.

    I bought a Dell Precision T3400 of Dell Financial Services and it came with Vista Business installed.  I installed a new hard drive and installed Vista in a Virtualbox VM by using the recovery disk that came with the computer, and the product key does not work for activation.  I get a message that says I need to activate Windows, but he says that the product key is not valid.  How can I fix it?

    Thank you

    If you have reinstalled the OEM of Vista Business copy on the new hard drive, as Bill says you can't also use it in a virtual machine.

    You can only reuse your OEM of Vista professional copy if it is no longer used on the computer. Do you have what operating system installed on the new hard drive? It was an upgrade copy or complete the license?

    If you used a license to upgrade to another edition of Windows to replace your copy of company then Vista Business license is still in use (for upgrade) and you cannot reuse it in your virtual machine.

    However if you replaced Vista business with a copy of the full license of another edition then you are able to use the OEM copy in a virtual machine, but only on the same computer. You must use the product key from COA to the label on the computer. The product key is put in the copy OEM cannot find the SLIC table on the host motherboard. You must use the phone activation from within the virtual machine. Click on start in Vista Business and typing "slui 4. Do not meet the audio guests until it asks you if you want to speak to an agent. Explain that you have completely replaced the OEM copy with a copy of the full license of the new windows and now want to use the OEM copy in a virtual machine on the same computer. Agent will then give you the activation string. Remember that the virtual machine is not transferable to any other computer.

    This information is offered by Darin Smith (MSFT) and the team of Windows licenses, November 18, 2011.

  • Adobe Stock membership allows me to use the images of the Photo Club of Dollar

    We want to use some images from the Photo Club of Dollar:

    https://www.dollarphotoclub.com/stock-photo/flooded%20village%20in%20lowland%20Of%20Great% 20river/86668945

    https://www.dollarphotoclub.com/stock-photo/alluvione%20A%20Genova/56483445

    However, you cannot purchase a membership to the Club Photo Dollar, Dollar Photo Club is bought by Adobe Stock.

    Last the Dollar Photo Club members can transfer their membership to the Adobe Stock (under certain conditions).

    How can we buy/use the images above?

    Antony

    Hi Antony

    You can find the images on Adobe Stock (stock.adobe.com) site by searching using the numbers of file - 86668945, 56483445

    Thank you

    Bev

  • Can I use the images I downloaded even after my months of stock is over?

    I will be able to use the images I downloaded during my month subscription after this subscription is complete?

    Yes, the license does not expire.

  • Adobe Creative SDK - guide "to using the Image Editing Component" does not open

    Hello everyone, I'm trying to open Adobe Creative SDK for Android, but it does not (tried it on several browsers). When I press on "to using the Image Editing Component", it is loading and loading, nothing happens. Can you help me? I'm new here, maybe I need to do something first? I just need this component for Android, nothing else, but I don't know how to install it without a guide.

    .Error.png

    Please post your query on: Adobe Creative SDK

  • Can I use the images I buy here to edit and design t-shirts for sale?

    Can I use the images I buy here to edit and design t-shirts for sale or would I need a special permit?

    This was taken up in Section 3.4 of the http://wwwimages.adobe.com/content/dam/Adobe/en/legal/servicetou/Adobe_Stock_Terms_en_US-2 0150313_hpc.pdf

    ~ David

  • Is it possible to make a reflection of the image that will change with the image? [was: reflection]

    Is it possible to make a reflection of the image that will change with the image?

    I believe that a dynamic object will solve your problem.

    Place your original image to a new file as a smart object and do the same for reflection (made by processing, reducing the opacity and introduce a slight blur horizontal) on its own layer, then:

    by double clicking on the smart object in the layers panel and return to the original image, any change in the original and save, automatically update the vertical image and its reflection.

  • Can I use the library of creative cloud with Illustrator CS5

    Can I use the library of creative cloud with Illustrator CS5

    Hi Ilys Ravel,

    No, CC libraries function is available in version CC 20141 sur-quartiers.

    Sanjay...

  • How to use the image of a seemingly the signature file.

    Hello

    I'm creating a Plugin for acrobat 9 using PubSec using DocSign sample as a base. I created the appearance using text objects and data of logos that accompanies the sample DocSign. But I want to use the image of a file (like jpg) to create signature appearance. So far the documentation does not say how to achieve this.

    Can you please tell me a little 'how-to' to achieve this way?

    Thanks in advance.

    Look through extracts in snippet Runner

Maybe you are looking for

  • Webcam integrated Satellite P200 - Solution

    Hi Jaba Because you have locked the built-in webcam on Satellite P200 recently ceased to theme of work and it doesn't seem to be a way to send you an email or private message then I will reply to you here. No I'm not despised. Just that it would just

  • Transcript of the audio conversation from Skype

    Hi, something I didn't know before today started with Skype and I use an IPod touch gen5. I noticed when I got a call today that Skype is transcribing the audio call in the chat window. This is a feature that I accidentally introduced on somehow, or

  • Camera on W540 does not work

    I tested the following on 2 identical W540 machines. After you have installed Windows 8.1, internal to the device does not work. I don't remember if the device worked until we have installed 8.1. I installed all the drivers involved and updated all w

  • I would like to replace my system disk.  Have a Mac Pro 2010, 4 drive bays

    My system disk is full and I can't put more on it 320.  It is a Mac Pro 2010, with 4-Bay.  I could put a larger capacity drive in one of the other berries, but I don't know how to transfer the info on the old drive to the new.  If I use Migration Ass

  • How is - anyone not in it / IS having administrator rights on my work/desktop?

    I was the sole owner of the computer (its only 6 months), and the colleague is not even a manager of any kind... My direct boss doesn't have administrative rights, and this person has a similar position in society that I'm (Analytics data/Finance) I