Resizing Swf at runtime based on content

Hi I am working on a project and I am trying to figure out how to resize the swf at runtime based on the content (which is brought in by xml) .  What I am trying to do is similar to http://www.mustardlab.com/developer/flash/objectresize/  but unfortunately this is written in AS1 and doesnt help me much!  If anyone could please explain to me how to do this in AS3 I would really appreciate it.  I know I need to use the ExternalInterface but I am very new to AS3 and am not sure how to do this.  I have searched and searched all over the internet and still can't figure it out.  Any source code you might have would be AWESOME!
Thanks again,
Kathy

Hi again:)  I guess that’s the problem, I'm not sure of the code..i mean I guess I understand the basics..i need to call on the textField.height and send it to the javascript via the ExternalInterface..then I'm stuck..how to get the javascript to resize the div which is what I'm assuming it needs to do?  Again, this I'm really new at this and I'm working on a site for a client..I have been struggling to get it to work..i'd dump the flash all together but she reallllllllllly wants it!
Here is the site if you want to see it.  Its not finished yet but I'm getting there!
www.daedaldesigns.com/jackiegood/
Right now the issue is the text on some pages is short and on others is long..so I need to get it to expand.
Thanks again..I really appreciate your time!
Kathy

Similar Messages

  • How to dynamically resize JPanel at runtime??

    Hello Sir:
    I met a problem, I need to resize a small JPanel called panel within a main Control JPanel (with null Layout) if I click the mouse then I can Drag and Resize this small JPanel Border to the size I need at runtime, I know I can use panel.setSize() or panel.setPreferredSize() methods at design time,
    But I have no idea how to do it even I search this famous fourm,
    How to dynamically resize JPanel at runtime??
    Can any guru throw some light or good example??
    Thanks

    Why are you using a null layout? Wouldn't having a layout manager help you in this situation?

  • How to resize JPanel at Runtime ??

    Hi,
    Our Project me t a problem as below, we hope to resize JPanel at Runtime , not at design time, ie, when we first click the button called "Move JPanel" , then we click the JPanel, then we can drag it around within main panel, but we hope to resize the size of this JPanel when we point to the border of this JPanel then drag its border to zoom in or zoom out this JPanel.
    Please advice how to do that??
    Thanks in advance.
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import java.util.Vector;
    import javax.swing.*;
    import javax.swing.border.LineBorder;
    import javax.swing.event.*;
    public class ResizeJPanels extends JPanel
        protected JLabel label1, label2, label3, label4, labeltmp;
        protected JLabel[] labels;
        protected JPanel[] panels;
        protected JPanel selectedJPanel;
        protected JButton btn  = new JButton("Move JPanel");
        int cx, cy;
        protected Vector order = new Vector();      
         public static void main(String[] args)
            JFrame f = new JFrame("Test");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(new ResizeJPanels().GroupJLabels());
            f.setSize(600,700);
            f.setLocation(200,200);
            f.setVisible(true);
         private MouseListener ml = new MouseAdapter() {  
              public void mousePressed(MouseEvent e) {   
                   Point p = e.getPoint();      
                   JPanel jp = new JPanel();
                   jp.setLayout(null);
                   Component[] c = ((JPanel)e.getSource()).getComponents();
                   System.out.println("c.length = " + c.length);      
                   for(int j = 0; j < c.length; j++) {        
                        if(c[j].getBounds().contains(p)) {     
                             if(selectedJPanel != null && selectedJPanel != (JPanel)c[j])
                                  selectedJPanel.setBorder(BorderFactory.createEtchedBorder());
                             selectedJPanel = (JPanel)c[j];            
                             selectedJPanel.setBorder(BorderFactory.createLineBorder(Color.green));
                             break;             
                        add(jp);
                        revalidate();
    public JPanel GroupJLabels ()
              setLayout(null);
            addLabels();
            label1.setBounds( 125,  150, 125, 25);
            label2.setBounds(425,  150, 125, 25);
            label3.setBounds( 125, 575, 125, 25);
            label4.setBounds(425, 575, 125, 25);
            //add(btn);
            btn.setBounds(10, 5, 205, 25);
                add(btn);
           determineCenterOfComponents();
            ComponentMover mover = new ComponentMover();
             ActionListener lst = new ActionListener() {
                 public void actionPerformed(ActionEvent e) {
                     ComponentMover mover = new ComponentMover();
                           addMouseListener(mover);
                           addMouseMotionListener(mover);
              btn.addActionListener(lst);
              addMouseListener(ml); 
              return this;
        public void paintComponent(final Graphics g)
             super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,RenderingHints.VALUE_ANTIALIAS_ON);
             Point[] p;
            g2.setStroke(new BasicStroke(4f));
           for(int i = 0 ; i < order.size()-1; i++) {
                JPanel l1 = (JPanel)order.elementAt(i);
                JPanel l2 = (JPanel)order.elementAt(i+1);
                p = getCenterPoints(l1, l2);
                g2.setColor(Color.black);
               // g2.draw(new Line2D.Double(p[0], p[1]));            
        private Point[] getCenterPoints(Component c1, Component c2)
            Point
                p1 = new Point(),
                p2 = new Point();
            Rectangle
                r1 = c1.getBounds(),
                r2 = c2.getBounds();
                 p1.x = r1.x + r1.width/2;
                 p1.y = r1.y + r1.height/2;
                 p2.x = r2.x + r2.width/2;
                 p2.y = r2.y + r2.height/2;
            return new Point[] {p1, p2};
        private void determineCenterOfComponents()
            int
                xMin = Integer.MAX_VALUE,
                yMin = Integer.MAX_VALUE,
                xMax = 0,
                yMax = 0;
            for(int i = 0; i < labels.length; i++)
                Rectangle r = labels.getBounds();
    if(r.x < xMin)
    xMin = r.x;
    if(r.y < yMin)
    yMin = r.y;
    if(r.x + r.width > xMax)
    xMax = r.x + r.width;
    if(r.y + r.height > yMax)
    yMax = r.y + r.height;
    cx = xMin + (xMax - xMin)/2;
    cy = yMin + (yMax - yMin)/2;
    private class ComponentMover extends MouseInputAdapter
    Point offsetP = new Point();
    boolean dragging;
    public void mousePressed(MouseEvent e)
    Point p = e.getPoint();
    for(int i = 0; i < panels.length; i++)
    Rectangle r = panels[i].getBounds();
    if(r.contains(p))
    selectedJPanel = panels[i];
    order.addElement(panels[i]);
    offsetP.x = p.x - r.x;
    offsetP.y = p.y - r.y;
    dragging = true;
    repaint(); //added
    break;
    public void mouseReleased(MouseEvent e)
    dragging = false;
    public void mouseDragged(MouseEvent e)
    if(dragging)
    Rectangle r = selectedJPanel.getBounds();
    r.x = e.getX() - offsetP.x;
    r.y = e.getY() - offsetP.y;
    selectedJPanel.setBounds(r.x, r.y, r.width, r.height);
    //determineCenterOfComponents();
    repaint();
    private void addLabels()
    label1 = new JLabel("Label 1");
    label2 = new JLabel("Label 2");
    label3 = new JLabel("Label 3");
    label4 = new JLabel("Label 4");
    labels = new JLabel[] {
    label1, label2, label3, label4
    JLabel jl = new JLabel("This is resizeable JPanel at Runtime");
    jl.setBackground(Color.green);
    jl.setOpaque(true);
              jl.setFont(new Font("Helvetica", Font.BOLD, 18));
    JPanel jp = new JPanel();
    jp.setLayout(new BorderLayout());
    panels = new JPanel[]{jp};
              jp.setBorder(new LineBorder(Color.black, 3, false));
    jp.setPreferredSize(new Dimension(400,200));
    jp.add(jl, BorderLayout.NORTH);
    for(int i = 0; i < labels.length; i++)
    labels[i].setHorizontalAlignment(SwingConstants.CENTER);
    labels[i].setBorder(BorderFactory.createEtchedBorder());
    jp.add(labels[i], BorderLayout.CENTER);
    jp.setBounds(100, 100, 400,200);
    add(jp);

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import javax.swing.event.MouseInputAdapter;
    public class Resizing extends JPanel {
        public Resizing() {
            super(null);
            addPanel();
            PanelControlAdapter control = new PanelControlAdapter(this);
            addMouseListener(control);
            addMouseMotionListener(control);
        private void addPanel() {
            JLabel jl = new JLabel("This is resizeable JPanel at Runtime");
            jl.setBackground(Color.green);
            jl.setOpaque(true);
            jl.setFont(new Font("Helvetica", Font.BOLD, 18));
            JPanel jp = new JPanel();
            jp.setLayout(new BorderLayout());
            jp.setBorder(new LineBorder(Color.black, 3, false));
            jp.add(jl, BorderLayout.NORTH);
            jp.setBounds(50,50,400,200);
            add(jp);
        public static void main(String[] args) {
            JFrame f = new JFrame("Test");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(new Resizing());
            f.setSize(500,400);
            f.setLocation(100,100);
            f.setVisible(true);
    class PanelControlAdapter extends MouseInputAdapter {
        Resizing host;
        Component selectedComponent;
        LineBorder black;
        LineBorder green;
        Point offset = new Point();
        Point start = new Point();
        boolean dragging = false;
        boolean resizing = false;
        public PanelControlAdapter(Resizing r) {
            host = r;
            black = new LineBorder(Color.black, 3, false);
            green = new LineBorder(Color.green, 3, false);
        public void mouseMoved(MouseEvent e) {
            Point p = e.getPoint();
            boolean hovering = false;
            Component c = host.getComponent(0);
            Rectangle r = c.getBounds();
            if(r.contains(p)) {
                hovering = true;
                if(selectedComponent != c) {
                    if(selectedComponent != null)  // reset
                        ((JComponent)selectedComponent).setBorder(black);
                    selectedComponent = c;
                    ((JComponent)selectedComponent).setBorder(green);
                if(overBorder(p))
                    setCursor(p);
                else if(selectedComponent.getCursor() != Cursor.getDefaultCursor())
                    selectedComponent.setCursor(Cursor.getDefaultCursor());
            if(!hovering && selectedComponent != null) {
                ((JComponent)selectedComponent).setBorder(black);
                selectedComponent = null;
        private boolean overBorder(Point p) {
            Rectangle r = selectedComponent.getBounds();
            JComponent target = (JComponent)selectedComponent;
            Insets insets = target.getBorder().getBorderInsets(target);
            // Assume uniform border insets.
            r.grow(-insets.left, -insets.top);
            return !r.contains(p);
        private void setCursor(Point p) {
            JComponent target = (JComponent)selectedComponent;
            AbstractBorder border = (AbstractBorder)target.getBorder();
            Rectangle r = target.getBounds();
            Rectangle ir = border.getInteriorRectangle(target, r.x, r.y, r.width, r.height);
            int outcode = ir.outcode(p.x, p.y);
            Cursor cursor;
            switch(outcode) {
                case Rectangle.OUT_TOP:
                    cursor = Cursor.getPredefinedCursor(Cursor.N_RESIZE_CURSOR);
                    break;
                case Rectangle.OUT_TOP + Rectangle.OUT_LEFT:
                    cursor = Cursor.getPredefinedCursor(Cursor.NW_RESIZE_CURSOR);
                    break;
                case Rectangle.OUT_LEFT:
                    cursor = Cursor.getPredefinedCursor(Cursor.W_RESIZE_CURSOR);
                    break;
                case Rectangle.OUT_LEFT + Rectangle.OUT_BOTTOM:
                    cursor = Cursor.getPredefinedCursor(Cursor.SW_RESIZE_CURSOR);
                    break;
                case Rectangle.OUT_BOTTOM:
                    cursor = Cursor.getPredefinedCursor(Cursor.S_RESIZE_CURSOR);
                    break;
                case Rectangle.OUT_BOTTOM + Rectangle.OUT_RIGHT:
                    cursor = Cursor.getPredefinedCursor(Cursor.SE_RESIZE_CURSOR);
                    break;
                case Rectangle.OUT_RIGHT:
                    cursor = Cursor.getPredefinedCursor(Cursor.E_RESIZE_CURSOR);
                    break;
                case Rectangle.OUT_RIGHT + Rectangle.OUT_TOP:
                    cursor = Cursor.getPredefinedCursor(Cursor.NE_RESIZE_CURSOR);
                    break;
                default:
                    cursor = Cursor.getDefaultCursor();
            selectedComponent.setCursor(cursor);
        public void mousePressed(MouseEvent e) {
            Point p = e.getPoint();
            if(selectedComponent != null) {
                Rectangle r = selectedComponent.getBounds();
                if(selectedComponent.getCursor() == Cursor.getDefaultCursor()) {
                    offset.x = p.x - r.x;
                    offset.y = p.y - r.y;
                    dragging = true;
                } else {
                    start = p;
                    resizing = true;
        public void mouseReleased(MouseEvent e) {
            dragging = false;
            resizing = false;
        public void mouseDragged(MouseEvent e) {
            Point p = e.getPoint();
            if(dragging || resizing) {
                Rectangle r = selectedComponent.getBounds();
                if(dragging) {
                    r.x = p.x - offset.x;
                    r.y = p.y - offset.y;
                    selectedComponent.setLocation(r.x, r.y);
                } else if(resizing) {
                    int type = selectedComponent.getCursor().getType();
                    switch(type) {
                        case Cursor.N_RESIZE_CURSOR:
                            r.height -= p.y - start.y;
                            r.y = p.y;
                            break;
                        case Cursor.NW_RESIZE_CURSOR:
                            r.width -= p.x - start.x;
                            r.x = p.x;
                            r.height -= p.y - start.y;
                            r.y = p.y;
                            break;
                        case Cursor.W_RESIZE_CURSOR:
                            r.width -= p.x - start.x;
                            r.x = p.x;
                            break;
                        case Cursor.SW_RESIZE_CURSOR:
                            r.width -= p.x - start.x;
                            r.x = p.x;
                            r.height += p.y - start.y;
                            break;
                        case Cursor.S_RESIZE_CURSOR:
                            r.height += p.y - start.y;
                            break;
                        case Cursor.SE_RESIZE_CURSOR:
                            r.width += p.x - start.x;
                            r.height += p.y - start.y;
                            break;
                        case Cursor.E_RESIZE_CURSOR:
                            r.width += p.x - start.x;
                            break;
                        case Cursor.NE_RESIZE_CURSOR:
                            r.width += p.x - start.x;
                            r.height -= p.y - start.y;
                            r.y = p.y;
                            break;
                        default:
                            System.out.println("Unexpected resize type: " + type);
                    selectedComponent.setBounds(r.x, r.y, r.width, r.height);
                    start = p;
    }

  • Why is elements better at photomerge than CC- CC does not appear to automatically fill image based on content but elements does when merging a panorama. Also the stitching is visable in CC but almost perfect in elements- why?

    I took 6 panorama shots of a scene and used CC to Photomerge them as one. Couldn't see where to automatic blend the edges and there was 'stitch' lines when the images were merged. So i did the same in Elements 11 and it was perfect. Am i doing something wrong in CC or perhaps not doing something at all?
    Any help, please?
    Dave

    Hi - Thanks for taking the time to reply and i appreciate the remarks- if a little harsh- we all have to start somewhere and i am fully aware of the limitations of Elements which is why i decided to add CC to my software. I can only say that if an inferior quality software from Adobe does the job well then CC must also be suited to doing the same which is why i can only think, from your comments, that i have not done something simple- however- following tutorials to get to the end result should have sufficed- it didn't so perhaps i will consider posting the difference between the two applications- and, perhaps suffer a few more 'harsh' comments. The learning curve is quite steep and i am a visual learner, but i'm also not totally incompetent:)
    Kind Regards
    Dave Munn
    Original message----
    From : [email protected]
    Date : 02/02/2015 - 06:45 (GMTST)
    To : [email protected]
    Subject :  why is elements better at photomerge than CC- CC does not appear to automatically fill image based on content but elements does when merging a panorama. Also the stitching is visable in CC but almost perfect in elements- why?
        why is elements better at photomerge than CC- CC does not appear to automatically fill image based on content but elements does when merging a panorama. Also the stitching is visable in CC but almost perfect in elements- why?
        created by station_two in Photoshop General Discussion - View the full discussion
    First a clarification: you are not addressing Adobe here in these user forums.  You are requesting help from volunteers users just like you who give their time free of charge. No one has any obligation to answer your questions.
    I'll give it my best shot anyway.
    Few folks in this forum are really familiar with Elements, for which there's a dedicated, totally separate forum.
    Different engineering teams, also.
    From this perspective, it will be difficult to give you a direct answer to your "why?" question.
    Personally, I blend very large panorama shots in Photoshop proper since I can't even remember when without any issues whatsoever, up to and including in Photoshop CS6 13.0.6.
    Without being at your computer and without looking at your images, I couldn't even begin to speculate what you are doing wrong in Photoshop, which I suspect you are.  The least you could show is post examples from your panoramas that have gone wrong.
    I can tell you that panorama stitching requires significant overlap between the individual shots, besides common-sdense techniques like a very solid tripod and precision heads.
    The only version of Elements I have ever used for any significant time was Elements 6 for Windows, which I bought in 2008 to use on a PC (I've been an avid Mac user for 30 years).  I found Elements so limited and so bad that I successfully demanded a refund from Adobe.  IU mention this only to emphasize that I can truly only address your question from a Photoshop (proper) and Mac user point of view.  I couldn't care less about Elements, but if you have comparison examples of panoramas processed in both applications, by all means post those two.
    Generally speaking Photoshop is a professional level application that makes no apologies for its very long and steep learning curve, while Photoshop has many hand-holding features for amateurs and beginners.
    Perhaps the bottom line is that you should stick with Elements if you personally manage to get better results there.
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7152397#7152397 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7152397#7152397
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in Photoshop General Discussion by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • From SharePoint Content Database, Using SQL-Server Query how to fetch the 'Document GUID' based on 'Content Type'

    I want to get all the documents based on content type using SQL Server Query. I know that, querying the content database without using API is not advisable, but still i want to perform this action through SQL Server Query. Can someone assist ?

    You're right, it's not advisable, may result in corruption of your databases and might impact performance and stability. But assuming you're happy to do that then it is possible.
    Before you go down that route, have you considered using something more safe like PowerShell? I've seen a script exactly like the one you describe and it would take far less time to do it through PS than it would through SQL.

  • Multi-mapping based on content field

    Hi guys,
    I'm doing a scenario with mult-imapping 1x2, based on content field I'll create message1 or message2. If the source content has both key fields (ex. A = message1 and B = message2) the scenario works well, but if only one key field comes (ex. A to create only message1), an error occurs inside the transformation step of BPM. It seams BPM is waiting for message2 ...
    (note: I'm using BPM because one of these messages is an IDoc)
    Anyone has faced this issue?
    Thanks in advance,
    Ricardo.

    Hi guys,
    Thanks for the prompt answers.
    I already have the occurrences with 0..1 (optional) and it doesn't work :s If I look into message mapping, I see that message1 and message2 are always 1..1 and there is no way to change it. In the messages tab you can only change the occurrence for the low level of each message1 or message2. Every time I test this mapping the header of message2 is always created even without content and that’s the problem and I don't know how to fix it...
    Any ideas?
    Thanks in advance,
    Ricardo.

  • Generate SWF in runtime

    Hello,
    Can any one tell me what exactly will be sent to mobile phones from http://www.mobidoki.com/moods/ when we click on "Send" button. I guess its swf, but how to create SWF in runtime? Is anyone having some idea?
    Thanks in Advance
    Tanweer

    There is a compiler available for Apache that works similar to the way that Flex 1.0 and 1.5 functioned.  Also ColdFusion
    has one built in which it uses for compiling flash forms on the fly.  So it is possible to do and you can perform some real cool tricks with it if you know how.
    So yes it can be done.  I think it's called the "Web Tier Compiler" but not sure now that Flex 4 is released.
    -Joe

  • Programatically resize controls at runtime

    I have a series of controls on a GUI and a GUI that I want to be able to resize according to the machine that is running the program.
    Basically my logic is this. A GUI can fill most of the available display space, but not all, and must never be shown on a monitor that it is not designed for.
    Currently my Laptop is having display issues and keeps chaning the resolution thus hiding parts  of my GUI.
    I want to resize (and position all visible controls and indicators - I know which ones they are) so that my GUI fits in a know space on certain default screen resolutions. (800x600, 1024x768 and 1280x1024)
    I can get the position and bounds of a control, but I can't change the bounds of a control (generic) with the property node. This is frustrating. as one of my controls is a large Multicolumn listbox which takes up most of the display and definitely needs resizing according to screen resolution.
    Any ideas?
    James
    Solved!
    Go to Solution.

    unbundling from your cluster would be simplest, yes.
    I think in general though you could be better served by keeping it simple and letting the user deal with the front panel.  Leave the scrollbars visible, let the user resize the panel.  Look at the bounding box of the pane and initially resize the window to fit the contents rather than the other way around.  I only like to lock down the window if it's to be a terminal type application (only thing running, I know the hardware at dev time, etc.)
    There are some other ways to resize things, too.  I'm sure you've seen the "scale with pane" and "fit to pane" options.  I've always been unsatisfied with the former, but the latter is pretty nice when combined with splitters, especially if you camouflage the splitter and get the various splitter options right.
    Check out the UI of VI Package Manager to see a nice MCL that resizes as you resize the window.  I think JKI even have a how-to-video that might show it....found it: http://forums.jkisoft.com/index.php?showtopic=988
    and for an extra tidbit, check out these properties:
     the top one gives you the resolution of each monitor on the system (mine shows 1680x1050) the bottom one gives you the workspace rectangle of the main monitor (and mine shows (0,1680),(0,990) which shows that the last 60 pixels there at the bottom are taskbar)
    These should be useful for checking what the available space is for dynamically sizing things. 
    -Barrett
    CLD

  • Tabbed panel with adjustable/variable height based on content

    Is there anyway that you can create a tabbed panel with adjustable/variable height based on content in each tab?

    Abhishek,
    Thanks for your reply, however, it is not working with Muse. I added the Javascript to the head section and adjusted iframe and it displays as a small square in the upper left hand corner, unable to view the whole page.
    Inserted into head section --
    <script type="text/javascript">
       function resizeIframe(obj)
      obj.style.height = 0;
      obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px';
       </script>
    inserted as an html object --
    <iframe name="MycoSmooth" src="http://www.mycosmooth.com" frameborder="0" scrolling="no" id="iframe" onload='javascript:resizeIframe(this);' />
    Below is the result:
    The purpose is to have an independent website run the blogging capabilities, since muse doesn't directly support blogging as of yet.
    Since the site is on a different domain, I am running into cross domain issues and it won't get the height of the page. The methods that apparently work use php and I am unsure how that would work in muse, if at all.

  • Help resize  SWF in vertical direction

    I have more reach application, in simplify my problem looks so:
    I dont' need in scroling.
    How do it? With JavaScript? or exists decision in ActionScript 3?
    Help plz.

    Quick google search provided me following have you tried any of these?
    http://forums.adobe.com/thread/689870
    Can the SWF size itself in an HTML page?http://www.flepstudio.org/forum/tutorials/3578-resizing-swf-real-time.html

  • OSX Dims Screen based on Content

    I've been noticing that my screen appeared to be dimming randomly (or at least it seemed random at first). I search the web and found tons of people complaining about the same behavior, and adjust their energy settings and ambient light settings, but none of it worked. Their Macs kept on occationally changing the screen brightness.
    Idleness wasn't the issue: During my tests I was actively using the computer (and I'm plugged in)
    Ambient Light: There was no change in ambient light, so it wasn't this either (and I disabled this setting and the behavior persisted).
    However, what has changed is the contents of my screen. If I go to a website with really dark graphics, or go full screen on some movies, the screen brightness turns down. I can reproduce this "dimming" effect consistently... and then I found this:
    http://www.macrumors.com/2013/01/22/apple-granted-patent-on-methods-for-dimming- screens-based-on-content-needs/
    Apple has a patent that allows them to dim screens based on their contents. I am certain this is what is affecting our screen brightness. This is meant to be a power saving feature according to the patent, but it is SUPER annoying. What I can't figure out is how to turn this setting off...
    Any help would be great.

    http://www.youtube.com/watch?v=KZQTul8k-OM

  • The final end for FileMaker Runtime based Apps ???? "Unsupported Architectu

    Finally we made it, packaged our Filemaker 11 Runtime based App, certified it, tested the installer and uploaded it to iTunes Connect successfully.
    But now we get "Invalid binary":
    Unsupported Architecture - Application executables may support either or both of the Intel architectures:
    • i386 (32-bit)
    • x86_64 (64-bit)
    Other architectures may not be included in submitted binaries. Confirm that your Xcode project's build settings include those architectures and no others.#
    Since we didn´t program or compile the FileMaker 11 Runtime, we can´t change any project build settings. And now ?
    Is this the end for any FileMaker Runtime based Apps ? Is Apple really not supporting Apps built with the database from it wholly owned subsidiary ? Can´t believe it ...

    Well, I have to admit, I know nothing about FileMaker.... does this help?
    Maybe you need FileMaker Go to do a runtime on iOS now?
    http://help.filemaker.com/app/answers/detail/a_id/7822

  • Resize Columns In Table2 based on Table1

    I have two tables. One with data and one with
    totals on that data. I want the totals table to resize
    it's columns based on the column sizes of the data table.
    Do you know how to do that?
    Thanks,
    Zeke

    Would that be the columnMarginMoved method that I need to
    overwrite? Do you know how to get the new margins of a column?
    Thanks,
    Zeke

  • Conditional format of one cell based on contents of another cell

    Preparing list of appointments for visitors with time for each. There are four possible status categories for visitors based on projected activity and whether they have shown up or not. (A Group Scheduled, A Group Showed, B Group Scheduled, B Group Showed). I've created the calendar in iCal with different calendars, then accessed that through Bento iCal Events. Bento adds the column with name of calendar from iCal. Info is now in Numbers. (iWorks 09)
    It shows Title, Start Date, Location, Calendar. I'm adding more fields using Lookup in Numbers drawing on entire data base brought over from Bento. I'm trying to get what info I need, but none that I don't, so the form isn't too crowded and busy.
    I would like to be able to conditionally format the Time column based on the contents of the Calendar column. If successful, the color of the Time column would tell me all I need to know about visitor status, and I could hide the Calendar column and clean up the form.
    I hope I've described it adequately. Can this be done, and if so, how?
    Thanks! Have a great Thanksgiving!

    jpcranch wrote:
    Does it work to format two cells based on contents of one of them?
    Conditional formatting of a cell depends on the contents of that individual cell, compared with another value, so no.
    But you could use a two-table approach.
    In general terms, the technique is to:
    • make the original table's cell fill transparent,
    • Add a second table to the sheet,
    • Set the second table to copy the control values into a column of cells,
    • Select the cells in that column of Table 2,
    • Apply conditional formatting rules for each possible control value (see below)
    • Set the text opacity for these cells to 0 (full transparency),
    • Click on Table 2 in the sidebar, then use (shift and) the arrow keys to slide Table 2 behind Table 1 to align the highlighted cells with the cells to appear highlighted in Table 1.
    • Set the colour of the cell borders on table 2 to none.
    Using the information you gave regarding the calendar column, you'll need four rules for conditional formatting of this column. All are of the same format:
    Text contains: A Group Scheduled
    With the text changed to match each possible entry.
    Regards,
    Barry
    BTW: by changing the width of the formatted column on table 2, you can appear to highlight as many columns as you wish on Table 1.

  • Perplexed about resizing swf to window

    Hi all,
    I cannot change both the width 100% and height 100% of my SWF in the properties panel of DW and have the movie load on my website (it is missing).  I can change the width to 100% and the height to any size (100 to 2000 px) and the movie will fit horizontally all the way across my screen but is either to short or to tall vertically, respectively.
    I can change all kinds of parameters (adding or deleting) and get the same result.  I see a lot of conversation about this in the forums but not a straight forward fix for the non-java types. I have changed alot of info for the tags inculding padding and margin to 0 and height and width to 100%.
    I am using DW CS5.  Any suggestions?
    Thanks,
    Randy

    Hi
    Setting height and width to 100% -
    In some browsers it will work, to some degree, in others it will not without a little JavaScript and/or resizing the page,
    For an example of resizing swf to the page, (try this in various browsers, to see how they differ, and that all do) - http://www.pziecina.com/design/turorial_demos/autoresize_flash.php. View source to see how it is done.
    PZ

Maybe you are looking for

  • Replace OUTLOOK HOME AND BUSINESS Version with OUTLOOK PROFESSIONAL [Standalone]

    Hey Techies, Here is the Scenario,I have been using Office Home and business 2013(installed from Click-to-run setup)  on my WIN-7 pro. As i needed to access my Microsoft Exchange online archive (i have exchange online plan 2) on Outlook i'd to buy ou

  • PNG file is not opening in CS3 Illustrator

    I painted my drawing and am saving it as a PNG went to >Export and changed transparency and made sure it was 300dpi and go to open the file and it doesnt open. No window or warning that as to why its not working. I bought some PNG clipart online that

  • Change position of "document links" in query??

    Hi i've got a question... how can i change the position of "document links"picture in Bex Analyzer? The first two letters are always covered by the document picture.... Thank you Chris

  • Referencing a query in a nested struct

    I have a nested struct that is being brought back from a component. It looks like this office_struct[ floor1_struct[ some query results] floor2_struct[some query results] ....] I am trying to reference the query so I can print it out to screen. How w

  • TS4268 How do I fix iMessage activation problem?

    I have tried everything to activate iMessage but keeps coming up wi a problem can anyone help?