Bug in Flex

TypeError: Error #1007: Instantiation attempted on a
non-constructor.
at mx.managers::CursorManagerImpl/::showCurrentCursor()
at mx.managers::CursorManagerImpl/removeCursor()
at mx.managers::CursorManager$/removeCursor()
at mx.containers::DividedBox/
http://www.adobe.com/2006/flex/mx/internal::restoreCursor()
at
mx.containers.dividedBoxClasses::BoxDivider/::mouseOutHandler()
Oddly, this is occurring when I mouseOver the divider on a
DividedBox after using the PopUpManager to display a TitleWindow.
However, if I mouseOver before I display the TitleWindow then I can
go ahead and popup the TitleWindow and then I can mouse over the
divider without problems. It would seem there's a strange bug in
the CursorManager causing it to error in relation to not-preloading
the the cursor before popping up a window?

Ugh...I was able to make it work with a hack. I added an
event listener to creationComplete on Application that displays the
busy cursor, then I added an event to effectEnd for my page fade-in
to remove the busy cursor....that seems to make it be happy. It
stinks that I'm having to use this work-around, but at least the
hack actually makes it look a little prettier. ;)

Similar Messages

  • Another bug in Flex? (Application.parameters and query strings)

    I'm passing in two query string parameters in the source of SWFLoader and both of them are clumped together in the first parameter by application.parameters.
    But I switch the order of the parameters in the query string and both parameters are returned correctly:
    Case #1:
    Query String:  ?cfg=zzzzzzz54B&embed_div=x
    parameters.cfg: zzzzzzz54B&embed_div=x
    parameters.embed_div:  [nothing]
    Case #2:
    Query String:  ?embed_div=x&cfg=zzzzzzz54B
    parameters.cfg: zzzzzzz54B
    parameters.embed_div: x
    Here is the actual debug commands:
    Dumper.info(this.url);
    Dumper.info(this.parameters.cfg)
    Dumper.info(this.parameters.embed_div);
    And output:
    (Case #1)
    [INFO]: file:///C:/Program%20Files/WordRad234/chm/wordrad_kt/web%20pages/zzzzzzz5/rad_3xf.swf?cfg =zzzzzzz54B%26embed_div%3Dx (String)
    [INFO]: zzzzzzz54B&embed_div=x (String)
    [INFO]: (Object)
    (Case #2)
    [INFO]: file:///C:/Program%20Files/WordRad234/chm/wordrad_kt/web%20pages/zzzzzzz5/rad_3xf.swf?emb ed_div=x&cfg=zzzzzzz54B (String)
    [INFO]: zzzzzzz54B (String)
    [INFO]: x (String)
    Something I just noticed: the equal sign after embed_div is replaced by %3D but only if embed_div comes last.

    NEVERMIND:
    It was something I was doing  to the source of SWFLoader beforehand (involving encodeURIComponent).
    I have to say, I have many, many times thought something was a bug in Flex and it was in fact my code.  In general, I think Flex/AS3 is an elegant and useful product.  The sort of ad hoc  tweaks that have to be done to avoid memory leaks though is ridiculous (though I do have that figured out pretty much as well.)

  • Is this a sizing bug in Flex 4?

    I have a form like this:
        <mx:Form width="400">
            <mx:FormItem id="myFormItem" label="My label:" width="100%">
                <s:Label width="100%" text="Sample text here. This label should wrap but it doesn't (it is being clipped). Change to absolute width fixes it." />
            </mx:FormItem>
            <mx:FormItem label="Test input:">
                <s:TextInput />
            </mx:FormItem>
        </mx:Form>
    The result is that the label is clipped instead of word-wrapped. Changing the label width to an absolute size fixes it but that's not the behavior I'd like to achieve. As the percentage should be internally converted to absolute size anyway, isn't this actually a Flex 4 bug? Or am I doing something wrong?

    Hi,
    Flex has basic html rendering capabilities but not for webpages, there are tricks you can do with i-frames but then you end up with compatibility issues over various browsers, AIR on the other hand has a web rendering engine built in, but thats not really the solution for what you are working on.
    David.

  • Is it a bug of flex when loading wsdl?

    Hi guys,
    I used this endpointuri http://localhost:8080/test/soap/myService?wsdl to call soap service.
    If I use browse to check this endpointurl, it will redirect to http://localhost:8080/test/my.wsdl.
    I have two .xsd files in  the webapp base(ie., http://localhost:8080/test) .
    When flex called this wsdl file, I found that flex used http://localhost:8080/test/soap/schemaName.xsd to get xsd file
    I hope flex can use http://localhost:8080/test/schemaName.xsd for xsd file.
    Is it a bug? any one know how to resolve it?
    Many thanks,
    ray

    BTW, I use flex 3 currently.

  • Event handler doesn't work for a Canvas inside a canvas (Possible bug in Flex 4)

    Hi Guys,
    I have a canvas sitting inside another canvas. When i try to catch the mouseClick event in the child canvas, im not able to do it. When i change the child canvas component to a 'Panel', the event handler works perfectly fine. Any suggestions/solutions?

    ok a few things you should know... it is recomended to use the spark components when working with flash builder 4 thought the mx components are available spark is much litghter in weight. also if you want to use the equivalent of a canvas in spark then you want to use a "group" but ill warn you they dont support inline styles, a border container looked more appropiate for what you were trying to do below.  However. i did fix your code for flex 4.0
    look below.
    component:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:fx="http://ns.adobe.com/mxml/2009"
         xmlns:s="library://ns.adobe.com/flex/spark"
         xmlns:mx="library://ns.adobe.com/flex/mx"
        creationComplete ="canvas2_creationCompleteHandler(event)">
    <fx:Declarations>
      <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <fx:Script>
      <![CDATA[
    import mx.controls.Alert;
    import mx.events.FlexEvent;
    public function canvas1_clickHandler(event:MouseEvent):void
    Alert.show("Clicked");
    public function canvas2_creationCompleteHandler(event:Event):void
    {// TODO Auto-generated method stub//
    kenaCan.addEventListener(MouseEvent.CLICK, canvas1_clickHandler);
      ]]>
    </fx:Script> 
    <mx:Canvas id="kenaCan"
          width="400"
          height="300"
          borderStyle="solid"
          borderColor="black"
          backgroundColor="white"
          />
    </mx:Canvas>
    application:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
          xmlns:s="library://ns.adobe.com/flex/spark"
          xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
          xmlns:local1="local.*">
    <fx:Declarations>
      <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <local1:canvas/>
    </s:Application>
    if this post answers your question please mark it as such thanks

  • Bug in Flex transition?

    Hi,
    I have problem while adding TabNavigator to the UI. Basically
    if I specify the TabNavigator and the children inside the main
    MXML, the Transition will be able to display it properly during
    state transition. However if I create another MXML component as a
    child of TabNavigator, and I add this new component into the UI,
    even though I set up specific order of transition, the transition
    doesn't work.
    here's my application.mxml
    quote:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" xmlns="*">
    <mx:transitions>
    <mx:Transition fromState="*" toState="*" >
    <mx:Sequence>
    <mx:Resize duration="2000" target="{canvas1}" />
    <mx:AddChildAction target="{tbb2}" />
    <mx:AddChildAction target="{tbb}" />
    </mx:Sequence>
    </mx:Transition>
    </mx:transitions>
    <mx:states>
    <mx:State name="wstate">
    <mx:SetProperty target="{canvas1}" name="width"
    value="500"/>
    <mx:SetStyle target="{canvas1}" name="right"/>
    </mx:State>
    <mx:State name="rstate">
    <mx:SetStyle target="{canvas1}" name="right"
    value="200"/>
    <mx:AddChild position="lastChild">
    <mx:TabNavigator id="tbb" width="182" right="10"
    bottom="10" top="10">
    <mx:Canvas label="Tab 1" width="100%" height="100%">
    </mx:Canvas>
    <mx:Canvas label="anothertab" width="100%"
    height="100%">
    </mx:Canvas>
    </mx:TabNavigator>
    </mx:AddChild>
    </mx:State>
    <mx:State name="crstate">
    <mx:SetStyle target="{canvas1}" name="right"
    value="200"/>
    <mx:AddChild position="lastChild">
    <TabComp id="tbb2" width="182" right="10" bottom="10"
    top="10" />
    </mx:AddChild>
    </mx:State>
    </mx:states>
    <mx:Script>
    <![CDATA[
    function setwstate() { setCurrentState("wstate"); }
    function setrstate() { setCurrentState("rstate"); }
    function backtobase() { setCurrentState(""); }
    function tabnavcomp() { setCurrentState("crstate"); }
    ]]>
    </mx:Script>
    <mx:ApplicationControlBar x="144" y="0" dock="true"
    id="applicationcontrolbar1">
    <mx:Button label="Base state" click="backtobase()"/>
    <mx:Button label="State with setting width constraint"
    click="setwstate()"/>
    <mx:Button label="State with setting right constraint"
    click="setrstate()"/>
    <mx:Button label="state with tab nav comp"
    click="tabnavcomp()"/>
    </mx:ApplicationControlBar>
    <mx:Canvas top="10" left="10" right="10" bottom="10"
    backgroundColor="#FF0000" id="canvas1">
    </mx:Canvas>
    </mx:Application>
    here's my other component which the transition doesn't
    respect
    quote:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:TabNavigator xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="400" height="300">
    <mx:Canvas label="Tab Comp" width="100%"
    height="100%">
    </mx:Canvas>
    <mx:Canvas label="anothertab" width="100%"
    height="100%">
    </mx:Canvas>
    </mx:TabNavigator>
    Anyone know the work around for that?

    We know about this already (our apologies) and it will be
    fixed in the next release; I'm not sure if that will be a hotfix or
    Flex 3.

  • Serious bug in Flex Builder 3

    I just lost a whole morning's work. Here's what I did:
    I needed to base a new component on an existing one. So, in
    the FB3 file list I right-click, copy file, paste file, rename to
    new name. Open up the new file and do my work on it. I saved the
    file several times as I normally do as I work, and ran and debugged
    the program many times.
    Then, at one point I did command-Z to undo something.
    However, I guess the editor did not have focus. Instead of undoing
    my typing, the tab I was working on closed. The undo/redo menu read
    "Redo duplicate file". Worst of all, the newer file -- the one i
    had been working on all day -- had reverted back to the way it was
    when I first duplicated it, i.e. a clone of file 1. All the work I
    had done to transform the file 1 clone into file 2 was lost. Even
    the Finder modification date was the same as file 1. No trace of
    the file versions saved today.
    I have never seen a program overwriting a never file with an
    old one with no dialog or warning. I realize nothing can be done, I
    need to re-do my work, but to other be aware. I will never
    duplicate a file or perform any file operation from within FB from
    now on, I will use the OS.

    It is also possible that there are 'backup' plugins for
    eclipse that you can use with Flex Builder, say that archive your
    work every 5 minutes or whatever. Not sure, but wouldn't be
    surprised.
    Something along these lines:
    http://sourceforge.net/projects/savedirtyeditor/
    I realize this may not be exactly it.

  • Is this a bug with flex?

    Since setStyle takes a string and an object for inputs, one would expect that passing and Image for the Object would  work.  But it doesn't.
    One doesn't ALWAYS have a filename to work with.  Is setStyle supposed to work with parameters: (string,object) ("backgroundImage", Image)?
    If so, what else needs to be done?
    ===========
    private function GetConfigurationResult( event:WsVCIGetConfigurationDataResultEvent):void
    var simage:String = event.result.Image;
    var decoded:ByteArray;
    var
    decoder.decode( simage );
    decoded = decoder.toByteArray( );
    bgImage.data = decoded;
     decoder:Base64Decoder = new Base64Decoder(); "backgroundImage", bgImage );
    setStyle(
    ============
    But this generates the following error:
    ==========
    Error: Unable to load 'Image52'.
    at mx.skins::RectangularBorder/updateDisplayList()[C:\autobuild\3.2.0\frameworks\p rojects\framework\src\mx\skins\RectangularBorder.as:237]
    at mx.skins.halo::HaloBorder/updateDisplayList()[C:\autobuild\3.2.0\frameworks\pro jects\framework\src\mx\skins\halo\HaloBorder.as:222]
    at mx.skins::ProgrammaticSkin/validateDisplayList()[C:\autobuild\3.2.0\frameworks\ projects\framework\src\mx\skins\ProgrammaticSkin.as:421]
    at mx.managers::LayoutManager/validateDisplayList()[C:\autobuild\3.2.0\frameworks\ projects\framework\src\mx\managers\LayoutManager.as:622]
    at mx.managers::LayoutManager/doPhasedInstantiation()[C:\autobuild\3.2.0\framework s\projects\framework\src\mx\managers\LayoutManager.as:677]
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at mx.core::UIComponent/callLaterDispatcher2()[C:\autobuild\3.2.0\frameworks\proje cts\framework\src\mx\core\UIComponent.as:8628]
    at mx.core::UIComponent/callLaterDispatcher()[C:\autobuild\3.2.0\frameworks\projec ts\framework\src\mx\core\UIComponent.as:8568]
    ==============
    But passing a filename to setStyle works!!!!
    But I need the image to come from a database by way of web server!!!!!!
    Help!
    {// retrieve the 64base encoded image from the web service by ResultEvent
    var
     bgImage:Image =new Image();

    The code now reads:
    private function GetConfigurationResult( event:WsVCIGetConfigurationDataResultEvent):void
    var myUrl:URLRequest;
    var servername:String = this.parentApplication.VCIFormsPage.text;
    var lFileName:String = event.result.FileName+event.result.FileExtension;
    myUrl = new URLRequest();
    myUrl.url = servername + "VCIWebFileRetrieve.aspx?filename=" + lFileName ;
      setStyle("backgroundImage", myUrl );
    and I still get:
    Error: Unable to load '[object URLRequest]'.
    at mx.skins::RectangularBorder/updateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\fr amework\src\mx\skins\RectangularBorder.as:237]
    at mx.skins.halo::HaloBorder/updateDisplayList()[C:\autobuild\3.2.0\frameworks\projects\fram ework\src\mx\skins\halo\HaloBorder.as:222]
    The URL is a web form to compose and return a "file"
    This still isn't working!
    Did I do something wrong, like maybe I should use something other than "URLRequest?"

  • Bug in flex 4, with truncating the link button and labels

    hey guys.. so my application has a popupanchor, and in that popup anchor i have multiple linkbuttons... and for some reason no matter what i try, it truncates all the link buttons, as well as the labels on accordions.
    i know that the button is not in a group with small width... ive also tried wrapping the link button in a group with a width of 500, and still the link button gets truncated...
    any ideas on how to fix this problem??
    if you would like the following is the code i have... essentially all the labels and linkbuttons gets truncated after the second time i popup the popupanchor.
    <s:PopUpAnchor id="detailsPopup" popUpPosition="topLeft" styleName="popUpBox" depth="20">
         <s:VGroup id="detailsGroup" contentBackgroundColor="#ffffff" height="518" width="791">
              <s:Group width="100%" height="100%">
                   <s:Rect width="100%" height="100%">
                        <s:fill>
                             <s:SolidColor color="#ffffff"/>
                        </s:fill>
                   </s:Rect>
                   <s:VGroup>
                        <s:BorderContainer backgroundColor="#0184C7" width="100%" height="88" borderVisible="false">
                             <mx:LinkButton label="[ X ]" skin="{null}" x="750" y="5" fontSize="8" color="#ffffff" rollOverColor="#333333" click="hideDetails.play(); resetVars();" />
                             <storyTextbox:advancedTextInput id="title" defaultText="Insert Title Here" fontSize="18" color="#ffffff" focusColor="#ffffff" width="575"
                                                                     height="30" verticalCenter="0" left="12" contentBackgroundColor="#0184C7" borderVisible="false"/>
                             <storyTextbox:advancedTextInput id="subHeading" defaultText="Insert Subtitle Here" fontSize="10" height="20" y="63" left="12" focusColor="#ffffff" width="315"
                                                                     color="#ffffff" contentBackgroundColor="#0184C7" borderVisible="false"/>
                             <s:VGroup paddingLeft="600" paddingTop="25">
                                  <s:HGroup>
                                       <s:Label text="File Name: " color="#ffffff" fontFamily="DINOT-Bold" />
                                       <s:Label text="{currentSelection.FileName}" color="#ffffff" fontFamily="DINOT-Regular" maxWidth="111" lineBreak="explicit" />
                                  </s:HGroup>
                                  <s:HGroup>
                                       <s:Label text="Video Id: " fontFamily="DINOT-Bold" color="#ffffff" />
                                       <s:Label text="{currentSelection.VideoId}" fontFamily="DINOT-Regular" color="#ffffff" />
                                  </s:HGroup>
                             </s:VGroup>
                             <s:HGroup paddingLeft="400" paddingTop="60">
                                  <s:Label id="dateFieldLbl" color="#ffffff" text="Date Available" paddingTop="5" paddingRight="15" />
                                  <s:Group>
                                       <mx:DateField id="dateField" initialize="txtFieldInitialized();" x="-75"
                                                        change="getSelDate();" styleName="dateFieldStyle" depth="100" fontSize="10" />
                                  </s:Group>
                             </s:HGroup>
                             <s:HGroup paddingTop="65" paddingLeft="515">
                                  <s:CheckBox id="corp" label="Corporate" styleName="checkboxStyle" selected="false" />
                                  <s:CheckBox id="insider" label="Insider" styleName="checkboxStyle" click="checkBoxClicked(insider);" selected="false" />
                                  <s:CheckBox id="podcast" label="Podcast" styleName="checkboxStyle" click="checkBoxClicked(podcast);" selected="false" />
                                  <s:CheckBox id="iphone" label="iPhone" styleName="checkboxStyle" click="checkBoxClicked(iphone);" selected="false" />
                             </s:HGroup>
                        </s:BorderContainer>
                        <s:HGroup>
                             <s:BorderContainer borderVisible="false">
                                  <s:VideoPlayer id="videoPlayer" width="545" height="307" mediaPlayerStateChange="vidPlyr_mediaPlayerStateChangeHandler(event);"
                                                    visible="true" skinClass="modules.videoHandler.components.videoPlayerSkin" dropShadowVisible="false" />
                                  <mx:LinkButton label="CAPTURE" skin="{null}" color="#0184C7" rollOverColor="#333333" click="captureVideo();" top="330" left="475" />
                             </s:BorderContainer>
                             <s:VGroup>
                                  <s:HGroup>
                                       <mx:Image id="initialThumbnail" styleName="imgSkin" source="{popupThumbnail}" width="100" height="55" />
                                       <s:Group>
                                            <mx:LinkButton label="SAVE" skin="{null}" color="#0184C7" rollOverColor="#333333" paddingLeft="78" paddingTop="16" click="saveData();" />
                                            <mx:LinkButton label="CLOSE" skin="{null}" color="#0184C7" rollOverColor="#333333" paddingLeft="68" paddingTop="30" click="hideDetails.play(); resetVars();" />
                                       </s:Group>
                                  </s:HGroup>
                                  <mx:Accordion id="tagsNCategoriesAccordion" width="225" height="285" borderVisible="false" headerStyleName="headerStyle" borderStyle="none">
                                       <s:NavigatorContent id="channel" label="Channel" visible="false">
                                                            </s:NavigatorContent>
                                  </mx:Accordion>
                             </s:VGroup>
                        </s:HGroup>
                   </s:VGroup>
              </s:Group>
         </s:VGroup>
    </s:PopUpAnchor>

    ive tried it on simpler cases... it seems to happen when ever the buttons are on a popupanchor...
    so when i popup the anchor for theffirst time it works, but when i pop it up again thats when i start noticing the truncation.... if that makes any sence

  • Flex Bug - Programmatic Skinning!

    I believe I found a Programmatic Skinning bug in Flex.
    Whenever I set the "borderSkin" property to a custom skin
    class, the flash player hangs in all browsers, the CPU peaks around
    95% and memory is consumed rapidly.
    After waiting for about 10 minutes I get the following...
    [SWF] C:\Documents and Settings\Chris.Simeone\My
    Documents\Flex Builder 2\Skinning-Lessons\bin\gridBorders-debug.swf
    - 408,071 bytes after decompression
    undefined
    at
    mx.core::UIComponent/getClassStyleDeclarations()[C:\dev\GMC\sdk\frameworks\mx\core\UIComp onent.as:6810]
    at
    mx.styles::StyleProtoChain$/mx.styles:StyleProtoChain::addProperties()[C:\dev\GMC\sdk\fra meworks\mx\styles\StyleProtoChain.as:142]
    at
    mx.styles::StyleProtoChain$/mx.styles:StyleProtoChain::addProperties()[C:\dev\GMC\sdk\fra meworks\mx\styles\StyleProtoChain.as:173]
    (FYI: The previous error line is repeated 191 times)
    I tried tracing my custom skin class (by setting breakpoints)
    but none of the code ever fires - the debugger never goes into the
    code.
    When I remove this line from my CSS file -
    borderSkin:ClassReference('GridBorders'); - the application
    runs fine.
    To test this further I grabbed the example on the bottom of
    this
    page
    and the same exact error occurs. Note it the "borderSkin" property
    is set on the VBox tag.
    I tested other programmatic skinning examples that use
    upSkin, downSkin, etc and they all work fine. I only have this
    problem when assigning a skin class to the "borderSkin" property.
    Would someone please confirm this is bug? I followed the
    Programmatic skins recipe to the letter.
    Thanks
    Chris Simeone

    I found the problem. It's in my CSS file. If there's a
    "borderStyle"
    property as defined below the application hangs. Take out the
    "borderStyle" property and the app runs.
    See my test code below (FYI: it does not do much. My first
    attempt at
    border skinning using code)...
    GRIDBORDERS.CSS » HERE'S THE PROBLEM
    Application
    background-color: #FFFAC7;
    GridItem
    borderStyle: solid;
    borderSkin: ClassReference('GridBorders');
    GRIDBORDERS.MXML
    <?xml version="1.0"?>
    <mx:Application pageTitle="Grid Borders"
    xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:Style source="GridBorders.css"/>
    <mx:Grid height="640" width="940">
    <mx:GridRow width="100%" height="66%">
    <mx:GridItem width="66%" height="100%" >
    </mx:GridItem>
    <mx:GridItem width="33%" height="100%" >
    </mx:GridItem>
    </mx:GridRow>
    <mx:GridRow width="100%" height="33%" >
    <mx:GridItem colSpan="2" width="100%" height="100%" >
    </mx:GridItem>
    </mx:GridRow>
    </mx:Grid>
    </mx:Application>
    GRIDBORDERS.AS
    package
    import mx.skins.*;
    import mx.containers.Grid;
    import flash.display.*;
    import flash.utils.*;
    public class GridBorders extends Border
    public function GridBorders()
    super();
    override protected function updateDisplayList( w:Number,
    h:Number
    ):void
    graphics.lineStyle( 15, 0xFFFF00, 0 );
    graphics.beginFill( 0xFFFF00, 1.0 );
    graphics.drawRect( 0, 0, 10, height );
    graphics.endFill();
    private var _borderMetrics:EdgeMetrics = new EdgeMetrics(1,
    1, 1, 1);
    override public function get borderMetrics():EdgeMetrics
    return _borderMetrics;

  • Flex 2.5.31 bug: As Regards Wine CVS Users: No Clear Downgra

    Flex 2.5.31 bug: As Regards Wine CVS Users: No Clear Downgrade Path: Please Advise
    Wine CVS (at least dx9-wine tree) fails with flex error (lex.yy.c error, etc):
    Please see: http://www.kerneltraffic.org/wine/wn20030509_169.html#4
    Key bit: 'Flex 2.5.31 bug. Downgrade to 2.5.3a, "make clean" in the tools directory and you are back.'
    Search for flex with pacman yields 2.5.33-1 (current), search in AUR for flex finds nothing relevant.
    Other less savory (and less repeatable) fixes aside, what is the proper "ArchLinux" way to resolve this issue?  To trace upstream a bit further, what is the proper "ArchLinux" way to install a particular Wine fork?

    JGC wrote:Last time I got this bug with wine, I just did a 2nd run of make and it compiled fine
    I had tried that, no dice.
    make[2]: Entering directory `/root/.WineCVS/sources/dx9wine/wine/tools/wrc'
    gcc -c -I. -I. -I../../include -I../../include -DINCLUDEDIR=""/usr/local/include/wine"" -Wall -pipe -mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+ -Wdeclaration-after-statement -Wpointer-arith -g -O2 -o lex.yy.o lex.yy.c
    lex.yy.c:9174: error: syntax error before numeric constant
    lex.yy.c: In function 'yy_scan_string':
    lex.yy.c:9175: error: number of arguments doesn't match prototype
    lex.yy.c:367: error: prototype declaration
    lex.yy.c:9177: warning: passing argument 1 of 'strlen' makes pointer from integer without a cast
    lex.yy.c:9177: warning: passing argument 1 of 'yy_scan_bytes' makes pointer from integer without a cast
    make[2]: *** [lex.yy.o] Error 1
    Found a reference here -- http://www.winehq.com/hypermail/wine-de … /0612.html -- to similar/same problem, will check a bit more.  I can't sort out if this a bug in flex, problem with the Makefiles, or...something else.

  • RawChildren ruins layout in Flex 3

    Hey all!
    I've been playing around with Flex lately, and having come
    from a pure AS3 background, I couldn't help but create some simple
    effects in there for fun. That's when I hit a snag. Now, with Flex,
    I'd have to use the UIComponents' rawChildren object in order to
    add widgets of DisplayObject types... fair enough. Problem is when
    I do that, the components stop obeying layout rules, transitions
    stop working, etc.
    The best way to really demonstrate this problem is to see the
    project itself. Here's a link to the project source:
    http://www.thurinusworks.com/public/problem_src.zip
    In there I created a Panel component that has view states and
    transitions, and an Application that holds that Panel and houses a
    bit of actionscript to create a sparkly mouse toy effect. If you
    commented out all the script for the mouse toy, you'll see that the
    Panel centers on the Application as you resize the window, and
    clicking the 'Register' link would display a nice elastic
    transition effect between view states. When the mouse toy is
    active, the Panel position stops working correctly, and clicking on
    the 'Register' link would simply display the view state with no
    transition. It happens intermittently, but seems to guarantee
    happening after the first SWF launch, so if you don't see it
    happening, relaunch the SWF and it should screw up.
    I don't know what's causing it to break like this. It's
    either my error or a serious bug in Flex, and I dearly hope it's
    the former... If it is, what must I do to fix it? If it isn't, is
    there a work-around?
    Thanks for *any* help you can provide!
    Best regards,
    Jay

    I've tried some things to repair this within your code, but I
    can't fix it without deleting the transitions object. So what I did
    is listening for the enterState en exitState events and using
    actionscript to do the animations.
    Attached the changes in the code. Don't know if this is a bug
    or if this needs to be done differently, but it is a workaround.

  • Flex 2 with AS 3.0: Transitions code compilation error

    I just bought "The Essential Guide to Flex 2 with
    ActionScript 3.0. (Friends of Ed 2007) In order to work through the
    examples, I downloaded Flex 3.0 beta. Its been going well ... until
    starting the exercises on transitions.
    I've narrowed the problem down to the "relativeTo" attribute
    of the AddChild class. This snipped builds and runs fine:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:states>
    <mx:State name="bookDetails" basedOn="">
    <mx:AddChild creationPolicy="all" position="lastChild">
    <mx:FormItem id="isbn" label="ISBN: 1590595432" />
    </mx:AddChild>
    </mx:State>
    </mx:states>
    <mx:Panel title="Book" id="book"
    horizontalScrollPolicy="off" verticalScrollPolicy="off">
    <mx:Form id="bookForm">
    <mx:FormItem label="Foundation XML Flash"
    fontWeight="bold" />
    <mx:FormItem label="Sas Jacobs" fontStyle="italic" />
    </mx:Form>
    <mx:ControlBar>
    <mx:LinkButton label="Book Details" id="bookLink" />
    <mx:Spacer width="100%" id="spacer1" />
    <mx:Label text="Book Title" id="title" />
    </mx:ControlBar>
    </mx:Panel>
    </mx:Application>
    However, as soon as I add relativeTo, e.g:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute">
    <mx:states>
    <mx:State name="bookDetails" basedOn="">
    <mx:AddChild relativeTo="{bookForm}" creationPolicy="all"
    position="lastChild">
    <mx:FormItem id="isbn" label="ISBN: 1590595432" />
    </mx:AddChild>
    </mx:State>
    </mx:states>
    <mx:Panel title="Book" id="book"
    horizontalScrollPolicy="off" verticalScrollPolicy="off">
    <mx:Form id="bookForm">
    <mx:FormItem label="Foundation XML Flash"
    fontWeight="bold" />
    <mx:FormItem label="Sas Jacobs" fontStyle="italic" />
    </mx:Form>
    <mx:ControlBar>
    <mx:LinkButton label="Book Details" id="bookLink" />
    <mx:Spacer width="100%" id="spacer1" />
    <mx:Label text="Book Title" id="title" />
    </mx:ControlBar>
    </mx:Panel>
    </mx:Application>
    Flex Builder 2 gives me the following error:
    Type was not found or was not a compile-time constant.
    Thinking this might have been a bug with Flex 3.0, I
    uninstalled then installed the most recent release of version 2. I
    still get the same problem. Any ideas?

    Another possibility is that you used some kind of transition for the object but didn't name it in all of the keyframes.  When you transition an object in a timeline tween and don't name it in the first keyframe, the latter keyframes adopt that lack of a name event though you might assign a name in them.
    What you should do is go into your Publish Settings and in the Flash section select the option to Permit Debugging.  This will add a line number following the frame number in the error message.  Once you know which line is causing the problem, try tracing the object that is in that line.  You will most likely find out it is null, and it will be because of one of the reasons I've mentioned (I don't think I forgot any others, but it's possible).

  • Flex 4 + AIR 2 + mx:Image = Security Sandbox Violation!

    Hi there!
    I've been using Flex 4 and AIR 2 for some time now and there's a bug (or is it really one) that I always get and can't understand...
    Whenever I use a <mx:Image> to load an image (JPG) on a remote server that has a valid crossdomain.xml I get some annoying warnings. Of course, these only are warnings and everything runs fine (except that) but it's a pain to debug an app that has lots of logs like that:
    *** Security Sandbox Violation ***
    SecurityDomain 'http://static-p3.fotolia.com/jpg/00/07/56/92/110_F_7569245_9hdeWKxUxFRNYuowdSDBNv0YFN9xTJ9 S.jpg' tried to access incompatible context 'app:/Main.swf'
    I've googled it and found lots of others folks/threads about this, but none of them provide a valid solution... Seems like it's specific to AIR because some answers/solutions I found work in a basic SWF, but fail in an AIR app.
    Is that a bug in Flex?
    Am I wrong about the crossdomain.xml?
    How could a JPG raise a Security Sandbox Violation?
    Tips or tricks, anyone?

    AIR has different security rules because it doesn't really have a "domain"
    to compare against crossdomain.xml.  The warnings are annoying and
    misleading and usually indicate that some code is trying to access the
    bitmap inside a try/catch block.  Usually you can ignore any warning that
    doesn't stop execution.

  • A bug in Y value?

    Hi,
    In the follwoing trace code, I got correct values for the
    first three lines, e.g., Height, width, and x values. But Y is
    always 0 for all controls I tried. And obviously they are at
    different vertical positions. So this is a bug of Flex or something
    else?
    Thanks.
    trace("Height: " +
    this[page.@id][Form.@id][Error.ObjID].height);
    trace("Width: " +
    this[page.@id][Form.@id][Error.ObjID].width);
    trace("X: " + this[page.@id][Form.@id][Error.ObjID].x);
    trace("Y: " +
    this[page.@id][Form.@id][Error.ObjID].y);

    Hi,
    Is There a bug in UML documentation in SJSE 8.1?
    When I write some text in editor, it insert ENTER and
    Blanck lines in my text. Could you please be more specific? What is an action which causes insertion
    of Enter and Blank lines? Is it after Save? Or after reopen of project? Or
    after/before something else? It would be valuable if you provide an example of
    your text before your action and after it.

Maybe you are looking for

  • How to use "Days to keep historical data" & "Maximum time between logs(hh:mm:ss)

    Iam using LabVIEW DSC. Values are being logged continously into citadel. Is it possible to retain data of just one month and delete the earlier data as fresh data is being logged into citadel? Is it possible to achieve this feature with "Days to keep

  • Autoviewer slideshow in iweb- transparency?

    Hi guys, Does anyone know how i can make my autoviewer slideshow have a transparent background so the page behind shows through around the photos? Right now the frame colour and background colour in the webexport options are: background 181818 and fr

  • Distribution point, a TFTP error message

    Hello, I have a problem when I tried to migrate a computer via PXE Network in an Annex or there is a distribution point, a TFTP error message appears as follows: PXE-E32: TFTP open timeout. TFTP. knowing that this problem does not arise at the main s

  • With out deleting request can we reconstruct

    Hi, can any one tell me With out deleting request can we reconstruct the request.

  • How do I change Itunes:summary, keyword and description tags?

    Hey guys, I have created my podcast in garageband and then uploaded it to Iweb. I submitted my podcast to itunes and it has been approved. The title of the Podcast is Heaven's Lounge and I put it in the music category. Below is the link. http://phobo