Graphics using graphic API are drawn below the loaded content created using Flash authoring tool

Here is my problem.
I am developing a Analog Dial component. Here , I am
extending UIComponent and loading a swf file generated using Flash
CS3 authoring tool ( the swf basically has the circle and needle)
and adding the loaded content as child of Dial class.
Next I use Graphics API to draw the major and minor ticks on
the dial.
As mentioned in the curveTo method of flash.display.Graphics
class documentation (
http://livedocs.adobe.com/flex/201/langref/index.html),
if you are using graphics api and also loading content created
using the flash authoring environment the vector graphics will be
drawn underneath the loaded content.
Well , Is there any way to make the graphics appear on top of
the loaded contents?

It appears that this may be accomplished more easily if I do something similar to the StrobeMediaPlayback implementation. Looking at the StrobeMediaPlayback source code it looks like Adobe has done something a little different than their ControlBarPlugin, placing the controlbar and root media element inside separate MediaContainers and then adding those containers to the display list. Is this recommended over using the frameworks ParallelElements? If so, is communication between the control bar and root media element still a matter of just updating the target reference via metadata?

Similar Messages

  • In iOS7 the titles of movies are NOT below the films

    In iOS7 the titles of movies are NOT below the films.  I have 24 work demo films that I have made on my iPad and and now I have to search through them one by one to find the title in the current design.  How do I get the titles back?
    They all start with the name of my company ... and then the subject so a "The" has to be accounted for.
    iOS7 is not shown below as an option!

    I'm right there with you guys. Same problem. I'm repairing permissions with the disk utility to see if that helps. I'll let you know.

  • Please help on the Loader.content to movieclip

    Hello there,
    I have been search around and got some mixed solutions,
    summarized as follow:
    If I need to load external swf into the main swf file, I need
    to Loader with appropriate URLRequest for this purpose.
    After loaded, you can listen to the complete event and
    addChild the loader.content to the main swf.
    Because I have a stop on the loaded swf first frame, I need
    to start the swf with a button. Some solutions on the net pointed
    that to make this happened, you need to cast the loader.content to
    MovieClip and have to through a tricky way to accomplish it like
    var movie:*=loader.content ;
    var clip:MovieClip=movie;
    clip.gotoAndPlay(4);
    I tried this method and still got Type Coercion failed
    ::cannot convert flash.display to MovieClip
    Please help, don't know why some experts said it is working
    while I can not get it to work. Thanks in advance

    Thanks WL, you are very close. I have a flash8 movie (purely
    animation)
    and I actually opened it in CS3 and saved as CS3. after
    publishing that's the movie I am tring to load.
    I recreate the whole animation in CS3 and everything start to
    run as supposed to. By trace the loader.content I find out one is
    [object AVM1Movie] for sudo as2 movie and [object MainTimeline] for
    the pure as3 movie. Thanks again.

  • I am unable to attach scanned documents or Pictures to eamils. The size of the scanned documents and the pictures are well below the 20MB limit. I can connect Exl and Word documents with not problem

    When trying to attach a scanned document or picture to and email, the process goes not forever and there is no end, it just keeps working and tries to attache these documents/pictures. In the lower left hand corner of the screen it says "waiting for mail. yahoo. com"

    Purplehiddledog wrote:
    I do backup with iCloud.  I can't wait until the new iMac is available so that I can once again have my files in more than 1 location without needing to rely solely on the cloud. 
    I also rely on iTunes and my MacBook and Time Machine as well as backing up to iCloud. I know many users know have gone totally PC free, but I chose to use iCloud merely as my third backup.
    I assume that the restore would result in my ability to open Pages and Numbers and fix the problem with deleting apps, but this would also mean that if my Numbers documents still exist solely within the app and are just not on iCloud for some reason that they would be gone forever.  Is that right?
    In a word, yes. In a little more detail.... When you restore from an iCloud backup, you must erase the device and start all over again. There is no other way to access the backup in iCloud without erasing the device. Consequently, you are starting all over again. Therefore, it would also be my assumption that Pages and Numbers will work again and that the deleting apps issues would be fixed as well.
    If the documents are not in the backup, and you do not have a backup elsewhere, the documents could be gone forever.

  • How can I specify an area path for the work item created on build failure?

    In our department we are working with multiple build definitions for different parts of one Team project. We heavily use the Team Project feature. Teams are defined by area path nodes, so each team can only see it's area path. No one (except the admins)
    can see the root project node.
    When a build breaks, TFS generates a Bug. Unfortunately, this bug is assigned to the area path root node, so nobody can see the generated bug and act on it.
    We would prefer to specify the area path for the generated work item in the build definition (not template, but property of a build definition), as every build belongs exclusively to one team.
    I have found that you can populate fields of the generated work item by filling the "custom fields" of the "create work item" activity. But how do I set the area path as a parameter?
    Guenter

    Hi Cuenter, 
    Thanks for your post.
    You should set the value like below in that activity:
    New
    Dictionary(Of
    String,
    String)
    From {{"Area
    Path",
    "teamprojectname\areaname"}}
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • The Change time of the file is getting modified when no changes are made to the file content

    While doing save operation of a MS-WORD file, (in my example "1M.doc" ) with client (Windows 8) and server(either Win 2008 R2 or Win2012 R2). Observing the following scenario.
     After Renames are done(eg, xx.tmp renamed to 1M.doc) , all the file handles are being closed one by one.
    When the xx.tmp file is closed, immediately followed by Create of 1M.doc, the LastWrite time values between Close and Create are same but LastChanged time values are different. The LastChanged and LastWrite times are noted from
    the Close Response and Create Response packets.
    No modification is done on the file between this last close and next create. So, why LastChanged time values are different for the file? We are observing this almost everytime with Win8- Win2k8R2/Win2012R2, but not observed
    till now with Win8-Win2012.

    Hi,
    Is only word files have the issue? You could refer to the articles below to troubleshoot the issue:
    The "Modified time" file attribute of a registry hive file is updated when an application loads and then unloads the registry hive file without making any changes on a computer that is running Windows Server 2008 R2 or Windows 7
    http://support.microsoft.com/kb/983544
    File “Date modified” property are not updating while modifying a file without closing it.
    http://blogs.technet.com/b/asiasupp/archive/2010/12/14/file-date-modified-property-are-not-updating-while-modifying-a-file-without-closing-it.aspx
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Noob Question  Guides/Anchors are not "on" the object I create

    I know this is probably a setting I am not getting the right way... but here is my problem.
    When I create an object... the path/guide/anchor is not "ON" the object I create... it "floats" outside of that object... INSTEAD of on the object like everyone else's that I see in tutorials etc.
    Take a look
    all of the objects I create seem to have this... so when I try to move the two parts of the flag together... they have a buffer area between them... and I can't move them together to overlap.
    Thanks for any help...
    I am usiing Illustrator CS6 by the way....

    Scott is right. Your Appearance Panel shows that somes effect is applied to the stroke. Click the triangle to the left of Stroke to reveal. I suspect you'll find something like this:
    Peter

  • The Java APIs - are we speaking the same language?

    Hello again world.
    I was reading in someone's response a suggestion to "write a different actionPerformed() method for each button."
    So I thought, let me see if I can do that and came up with this:
    import  java.awt.*;
    import  java.awt.event.*;
    import  javax.swing.*;
    public  class  MyActionListeners
       private  JButton  myButtons[]  = new  JButton[3];
       public  MyActionListeners()
          myButtons[0] = new  JButton("Button 1");
          myButtons[1] = new  JButton("Button 2");
          myButtons[2] = new  JButton("Button 3");
          myButtons[0].addActionListener(new  ButtonListener());
          myButtons[1].addActionListener(new  ButtonListener());
          myButtons[2].addActionListener(new  ButtonListener());
          JPanel  panel = new  JPanel();
          panel.add(myButtons[0]);
          panel.add(myButtons[1]);
          panel.add(myButtons[2]);
          JFrame  frame = new  JFrame("Action Listeners");
          Container  contentPane = frame.getContentPane();
          contentPane.add(panel);
          frame.pack();
          frame.setLocationRelativeTo(null);
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          frame.setVisible(true);
       public  static  void  main(String[]  params)
          new  MyActionListeners();
    class  ButtonListener  implements  ActionListener
       public  void  actionPerformed(ActionEvent  ae)
          JOptionPane.showMessageDialog(null , "You pressed " + ae.getActionCommand());
    }which works fine but, of course, there's only one actionPerformed() method.
    My first program, which I got to work as suggested, had three but when I noticed they all did the same thing (just announce which button was pressed), I decided to further test my skill to see if I could reduce it to the program above.
    My question has to do with my difficulty in locating that getActionCommand() method.
    It's not that it was actually difficult to find, it's more that I saw it and figured it was not what I was looking for.
    The API describes the getActionCommand() method as "Returns the command string associated with this action."
    I thought, "command string . . . I don't need no stinkin' command string"
    I naturally tried the paramString() and the inherited toString() and getSource() methods first.
    Indeed, it was the API description for the return value of paramString() - "a string identifying the event and its associated command" - that clued me in to looking at the getActionCommand() method.
    So, why is my button text considered a "command string"?
    I'm not playing semantics, I'm just trying to understand how to read the APIs.
    Thank you one and all.
    Ciao for now.

    Anyway, for buttons, typically, what I do is either:
    1) 1 listener for all buttons, usually the same class:
    public class MyClass implements ActionListener {
       public MyClass() {
          button1.setActionCommand("new");
          button1.addActionListener(this);
          ... etc. for each button...
       public void actionPerformed(ActionEvent ae) {
          if("new"equals(ae.getActionCommand()) {
             doNewThing();
          } else if(...) ...
       public void doNewThing() {
          // do new stuff...
    }The advantage here is that often you have buttons and menu items (which are buttons) and maybe even text fields which all fire action events for the same command, and can use the same listener.
    The disadvantage here is that you typically end up with long sets of if/else statements to check for each command.
    A modification on this is not using action commands, but if the buttons are all variables defined at the class level, you can use the event source to check if it's this or that component.
    2) Use anonymous listeners to call methods.
    public class MyClass implements ActionListener {
       public MyClass() {
          button1.addActionListener(new ActionListener() {
             public void actionPerformed(ActionEvent ae) {
                doNewThing();
          ... etc. for each button...
       public void doNewThing() {
          // do new stuff...
    }The disadvantage (sorta) is you end up with a lot of MyClass$#.class files. Of course, using Ant to compile and package everything in a Jar makes this more or less a non-issue. And it does often look cleaner. But doing that means you have separate listeners for the button and the menu item and whatever, which may call the same class. You can, of course, create 1 listener and reuse it for multiple components:
    public class MyClass implements ActionListener {
       ActionListener newListener = new ActionListener() {
          public void actionPerformed(ActionEvent ae) {
             doNewThing();
       public MyClass() {
          button1.addActionListener(newListener);
          ... etc. for each button...
       public void doNewThing() {
          // do new stuff...
    }3) You can also use Action classes, which incorparate the action listener and several other things (text, icon, etc) for a button or menu. But honestly, I almost never use this.
    4) Option 4 this code I wrote here:
    http://forum.java.sun.com/thread.jspa?forumID=31&threadID=548168
    An example based on what I've already shown using that would be:
    public class MyClass implements ActionListener {
       public MyClass() {
          button1.addActionListener(new MethodInvokeAction(this, "doNewThing"));
          ... etc. for each button...
       public void doNewThing() {
          // do new stuff...
    }I've used all these ways in real apps. Generally, I use something like 2 (a or b) if there's lots of buttons and menus, and 1 if there's only a few buttons. The one app that I wrote the MethodInvokeAction class for, I actually used several ways.

  • The tabs aren't at the very top in windows 7 for me, they are just below the top

    The firefox button is at the top, but the tabs aren't. Where then name of the program normally is, and the minimize buttons on the left are. Like in chrome it works, but not here.

    You appear to be describing what Firefox 4 should look like, see these mockups - https://wiki.mozilla.org/Firefox/4.0_Windows_Theme_Mockups
    You can change the appearance of Firefox by the use of CSS code, though this is mainly aimed at advanced users. One way to do this is to use the [https://addons.mozilla.org/en-US/firefox/addon/2108/ Stylish] add-on to add the code. You may need to use the [https://addons.mozilla.org/en-US/firefox/addon/15003/ Add-on Compatibility Reporter] add-on in order to install Stylish since Stylish is only shown as compatible with up to beta 2, though reports state it works with beta 6.
    You can also add the code yourself to he [http://kb.mozillazine.org/UserChrome.css userChrome.css] file. For an overview on modifying that file see http://www.linnhe2.free-online.co.uk/firefox/chrome.html
    For some examples of the code that you can add see:
    * [http://userstyles.org/styles/35167 Firefox 4.0 "Perfect"]
    * [http://userstyles.org/styles/32627 Slimmer Firefox 4.0]
    * [http://userstyles.org/styles/35240 Firefox 4 menu button in Vista/7 style animated!]

  • Not all fields in my adress book cards are available in the list to create an intelligent group.

    How come,  and how do I add the missing field to that defiling list?
    Thanks for any insight
    Jef

    Thanks Eric
    Unfortunately (debatable...) I am still running Snow Leopard. The field is already added but does not appear in the pop-up list which defines the first of the three elements forming a selection condition in an intelligent group.
    Q: Is that pop-up list limited to certain fields?
    The disappearing field is called "profession" in my Address Book. Poptentially useful to sort professional contacts...
    Q: Does it normally exist or was it added in some obscure way (which I am unable to reproduce now) ?
    Hopeful yet
    Jef

  • Why are some of the songs I created in garageband and then pushed to itunes "ineligible for icloud"?

    I create songs in garageband on my iMac, then "share" them to itunes. I purchased Itunes Match so that I could hear them on my iphone 5 (7.1.2), but some of the songs will not show up on my phone. When I checked them on the computer, it says, "This item is ineligible for icloud". Why not?

    Aec, I'm have the same issue as well with mine.  I deleted some music a few week back to give room for sum pics and movies and now that i want to restore them from off my itunes only 1 or 2 songs are actually able to play and the rest out of the albums are greyed out and non responsive.  Have never had an issue like this b-4.  Anyone have any insight or some problems?  Thanks in advance.

  • Clip stuff drawn by graphics object to boundaries of  the UIComponent

    Hi,
    i'm wondering if there's any built-in functionality in flex
    to clip everything that is drawn by
    the graphics object of a UIComponent to stay within its
    bounds (it's width and height).
    For example, drawing a line from x=0 to x=150 in a
    UIComponent that has a width of 100 clips the
    line automatically at x=100.

    I just noticed this yesterday in the doc for the Loader
    class. Might be of help. You use a mask to prevent drawing outside
    the control.
    When loading a SWF file from an untrusted source (such as a
    domain other than that of the Loader object's root SWF file), you
    may want to define a mask for the Loader object, to prevent the
    loaded content (which is a child of the Loader object) from drawing
    to portions of the Stage outside of that mask, as shown in the
    following code:
    import flash.display.*;
    import flash.net.URLRequest;
    var rect:Shape = new Shape();
    rect.graphics.beginFill(0xFFFFFF);
    rect.graphics.drawRect(0, 0, 100, 100);
    rect.graphics.endFill();
    addChild(rect);
    var ldr:Loader = new Loader();
    ldr.mask = rect;
    var url:String = "
    http://www.unknown.example.com/content.swf";
    var urlReq:URLRequest = new URLRequest(url);
    ldr.load(urlReq);
    addChild(ldr);

  • Flash graphics API on mobile

    I have an android application that uses the the graphics api to draw on the screen.  It worked well in Android OS 2.X.  With versions 3 and 4 it became a bit more laggy.  Actually the entire app seems to become very laggy.  I set out to learn more about optimization and gpu acceleration and was able to get everything to perform much better with the exception of the graphics, in particular free hand doodle.  The cursor can lag behind where the users finger is.  Is there a better performing api?  Do touch events perform better than mouse events on mobile?

    Touch events might be better for your needs since they target mobile specifically and they allow for multiple inputs where with mouse inputs if a finger is resting on the screen the app will ignore your second input.

  • Graphics(Styles) are not Affecting in HTML Format of Smart Form

    Hi,
    I have converted a Smartform from PDF format to HTML. but the Graphics ( Styles ) are not Affecting the out put.
    Can any body Give me the solution.

    Please suggest me ,how to convert from pdf to html workformat,if any program is available for that.Please send it

  • Events Created in iCal get cut off Below the Screen

    For the last few versions, iCal has had a problem with Event windows going below the screen; when this happens, users can no longer see what they are typing in the Event. I was able to duplicate this problem on every current Mac model in an Apple Store, so it is not a hardware issue, or an issue with screen size. Models tested include all MacBook Pros, Macbook, MacBook Air, iMac, Mac Pro with 24" Display, and Mac Pro with 30" Cinema Display. The problem was also reproduced by Apple Support.
    I use a MacBook Pro 15" with a display resolution of 1440 x 900. All software is up to date. (Mac OS 10.6.1, and iCal 4.0, Build 1362). Here are the steps to reproduce the problem:
    1) Set the System Preferences for the Dock to 'Automatically hide and show the Dock', to get it out of the way.
    2) In iCal 'Month View', create a new Event in any day on the bottom row of the calendar.
    3) The easiest way to duplicate the problem is to type about 7 lines of text in the 'note' section.
    If more than 7 lines total (in Event Description and 'note' sections) are entered, the bottom of the Event pop-up window goes below the screen and is obscured. This means that if you are typing something in the 'note' section, you cannot see what you are typing. Also, the 'Done' button can no longer be accessed when you are finished.
    NOTE: When you leave the Event, then come back to edit it again, the window often moves up, eliminating the cut-off problem, but this does not always happen.
    Here are the two problems that need to be fixed in order for the user to be able to view what is being typed, and to access the 'Done' button when finished:
    1) The Event Description window (at the top of the Event) currently will stop moving the bottom down after typing 4 lines, and then begins to scroll upward, in order to save space. However, at this point, the 'Done' button has already disappeared below the screen. This needs to changed so that the 'Done' button never goes below the bottom edge of the screen.
    2) When typing in the 'note' window of the Event, a vertical bar eventually appears on the right, but only after the bottom lines of text have disappeared below the screen. The data ABOVE the note window begins to scroll up, but the bottom area of the note remains obscured, so users cannot see what they are typing. Moving the bar up and down still does not let users see what they are typing below the screen. The 'note' window needs to be changed to scroll like the Event Description window does, and not have the 'Done' button go below the bottom edge of the screen.
    NOTE: A similar problem happens in Day View and Week View, when listed Events start going below the bottom edge of the screen. They do not scroll either, and everything past a certain point cannot be viewed. Scrolling would solve this problem as well. In the absence of scrolling, the only way around that problem currently, is to cut Events from that day and paste them into another day. Then you can see the rest of the Events.
    So, anyone else out there notice these problems or have an explanation for them?

    HI,
    Can you drag the bottom right corner of the Safari window to the left then click and hold the title bar and move the window to the right?
    You can zoom in Safari on your keyboard, Command + or -
    Carolyn

Maybe you are looking for