Flex + amfphp vs. flex +php&xml

Here's the deal. I hear how great amfphp is, and how much
easier it is to develop flex applications with a PHP back end by
using amfphp, but I don't understand it at all. On the other hand,
I DO understand how to use POST in Flex to make PHP mysql queries,
convert the results into xml and then use the xml in flex. It seems
SO straightforward and easy to understand compared with
understanding everything going on in amfphp, but I can see that it
will be a pain to do all the coding to get what I want done doing
it that way. So is it worth it to figure out amfphp and flex
remoting, or should I just churn out the code using what I know?
I want to do things the smart way, but I looked at a couple
amfphp tutorials and I have absolutely no clue what is going on. I
feel like I have wasted the whole night, and not learned anything,
while I could have been working on the code to do it with xml. The
explanations in those tutorials seem to assume a HUGE amount of
knowledge that I don't have, and I can't really find tutorials that
explain things in newbie language. Plus, I don't even know what
other tutorials I should look at and understand before I even start
to understand the amfphp tutorials, so I'm not sure the amount of
time its going to take for me to learn everything I need.
To top it all off, I don't really even get what the benefit
is... Look at the code below from one tutorial -
http://www.sephiroth.it/tutorials/flashPHP/flex_remoteobject/page003.php.
Aside from the fact that I barely understand what is going on, just
how is this easier than outputting xml?

Maybe this will help explain...
http://blogs.adobe.com/mikepotter/2006/07/php_and_flex_js.html
Scott

Similar Messages

  • Errors - drawing a text curve in flex with flex 3 with flex 3.5 framework

    Is that necessary in drawing a text curve in flex we need flex 4 with flash player 10, actually i have flex 3 with flex 3.5 framework but it is showing error like this :
    This is my code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Script>
    <![CDATA[
    import mx.components.TextView;
    public var myText:String = "Read my blog @ http://www.funnyjokesfunny.com";
    var radius:Number = 125;
    var spacing:Number = 8;    
    var center:Point = new Point(125,125);
    public function drawText():void {
    for (var char:uint=0;char<myText.length;char++) {
    var tempText:TextView = new TextView();
    tempText.x = radius * Math.cos(degrees2radians(char*spacing)) + center.x;
    tempText.y = radius * Math.sin(degrees2radians(char*spacing)) + center.y;
    tempText.rotation = 25;
    tempText.text = myText.charAt(char);
    textContainer.addChild(tempText);
    ]]>
    </mx:Script>
    <mx:Button label="Draw a circle" click="drawText()" />
    <mx:Canvas id="textContainer"  y="50" x="50"  width="400" height="400" />       
    </mx:Application>
    1) call to possibly  undefined method Text View
    2) Type was not found : Text view.                               
    Please help me
    Atishay

    I have now taken import mx.controls.Text;
    instead of textview it works , but in dis example http://blog.shortfusion.com/index.cfm/2009/1/25/Circular-Text-In-Flex-Explained with source code they have taken textview control and it works for them for text curve.

  • Flex 3 to Flex 4 migration issue (Flex charting and Special char)

    Hi All,
    I have migrated Flex 3 to Flex 4 and in Flex charting axis label, I am not able to see less then sign ( < ). I tried to use &lt;  but it's not working, I have attached sample code.
    <?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" initialize="init()">
         <fx:Declarations>
             <s:SolidColor id="s1" color="#738994"/>
             <mx:SeriesInterpolate id="seriesInterpolate" duration="800"/>
             <mx:SeriesSlide id="seriesSlide" duration="800" direction="up"/>
             <mx:SeriesZoom id="seriesZoom"
                            duration="1000"
                            minimumElementDuration="50"
                            elementOffset="50"
                            verticalFocus="top"
                            horizontalFocus="left"
                            relativeTo="chart"/>
         </fx:Declarations>
         <fx:Script>
            <![CDATA[
                 import mx.collections.ArrayCollection;
                 [Bindable]
                 public var student:ArrayCollection = new ArrayCollection([
                     {Stream: "Management", Girls:1000, Boys:1400, TotalStudent:2400},
                     {Stream: "&lt;Computer Science", Girls:800, Boys:1200, TotalStudent:2000},
                     {Stream: "< Mechanical", Girls:200, Boys:1500, TotalStudent:1700},
                     {Stream: "> Electical", Girls:800, Boys:850, TotalStudent:1650},
                     {Stream: "Electronics", Girls:500, Boys:1000, TotalStudent:1500},
                     {Stream: "Civil", Girls:300, Boys:900, TotalStudent:1200}
                 private function update():void {
                     var str:String = catfDP.selectedItem.data;
                     if(str == "Girls"){
                         cs1.yField = str;
                         cs1.displayName = str;
                         cs1.setStyle("fill" , "738994");
                     }else if(str == "Boys"){
                         cs1.yField = str;
                         cs1.displayName = str;
                         cs1.setStyle("fill" , "999990");
                     }else{
                         cs1.yField = str;
                         cs1.displayName = str;
                         cs1.setStyle("fill" , "406374");
                 private function init():void{
                     catfDP.selectedIndex= 0;
                     effectDP.selectedIndex= 0;
             ]]>
         </fx:Script>
         <s:Panel title="Chart Effect Example" width="627" height="565">
             <s:layout>
                 <s:VerticalLayout/>
             </s:layout>
             <mx:ApplicationControlBar dock="true" width="625" height="82">
                 <mx:Form>
                     <mx:FormItem label="Category Field:">
                         <s:DropDownList id="catfDP" change="update();" prompt="--Select--" width="136"
                                         height="19">
                             <s:dataProvider>
                                 <mx:ArrayList>
                                     <fx:Object data="Girls" label="Girls" />
                                     <fx:Object data="Boys" label="Boys" />
                                     <fx:Object data="TotalStudent" label="TotalStudent" />
                                 </mx:ArrayList>
                             </s:dataProvider>
                         </s:DropDownList>
                     </mx:FormItem>
                     <mx:FormItem label="Choose Chart Effect:">
                         <s:DropDownList id="effectDP" change="update();" width="136" prompt="--Select--">
                             <s:dataProvider>
                                 <mx:ArrayList>
                                     <fx:Object label="seriesInterpolate" data="{seriesInterpolate}" />
                                     <fx:Object label="seriesSlide" data="{seriesSlide}" />
                                     <fx:Object label="seriesZoom" data="{seriesZoom}" />
                                 </mx:ArrayList>
                             </s:dataProvider>
                         </s:DropDownList>
                     </mx:FormItem>
                 </mx:Form>
             </mx:ApplicationControlBar>
             <mx:ColumnChart id="cchart"
                             dataProvider="{student}"
                             showDataTips="true"
                             width="621"
                             fontFamily="verdana" height="402">
                 <mx:verticalAxis>
                     <mx:LinearAxis title="Number of Students" />
                 </mx:verticalAxis>
                 <mx:horizontalAxis>
                     <mx:CategoryAxis dataProvider="{student}"
                                      categoryField="Stream"
                                      title="Stream"/>
                 </mx:horizontalAxis>
                 <mx:series>
                     <mx:ColumnSeries id="cs1"
                                      xField="Stream"
                                      yField="Girls"
                                      displayName="Girls"
                                      fill="{s1}"
                                      showDataEffect="{effectDP.selectedItem.data}"/>
                 </mx:series>
             </mx:ColumnChart>
             <s:HGroup>
                 <mx:Legend dataProvider="{cchart}"
                            direction="horizontal"/>
                 <s:VGroup>
                 </s:VGroup>
             </s:HGroup>
         </s:Panel>
    </s:Application>

    Thank you very much for you answer.
    I have solved this problem using Itemrenderer.
    <?xml version="1.0" encoding="utf-8"?>
    <s:ItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
                    xmlns:s="library://ns.adobe.com/flex/spark"
                    xmlns:mx="library://ns.adobe.com/flex/mx"
                    autoDrawBackground="true">
        <mx:Label htmlText="{data.text}"/>
    </s:ItemRenderer>
    and in chart I have used labelRenderer. in label I have used  &lt; for ( < ) sign.
    <mx:horizontalAxis>
                    <mx:CategoryAxis
                        dataProvider="{expenses}"
                        categoryField="Month"
                        title="FY 2006"
                        id="a1"
                        />
                </mx:horizontalAxis>
                <mx:horizontalAxisRenderers>
                    <mx:AxisRenderer labelRotation="45" axis="{a1}" labelRenderer="chase.BarChartLabelRenderer"/>
                </mx:horizontalAxisRenderers>
                <mx:verticalAxisRenderers>
                    <mx:AxisRenderer labelRotation="45" axis="{a1}" labelRenderer="chase.BarChartLabelRenderer"/>
                </mx:verticalAxisRenderers>

  • [svn:osmf:] 17162: config file and relevant changes for flex sdk3 to flex sdk 4 migration

    Revision: 17162
    Revision: 17162
    Author:   [email protected]
    Date:     2010-08-02 18:31:23 -0700 (Mon, 02 Aug 2010)
    Log Message:
    config file and relevant changes for flex sdk3 to flex sdk 4 migration
    Modified Paths:
        osmf/trunk/apps/certification/zeri/FlexUnit4UIListener/src/org/flexunit/flexui/data/TestR unnerBasePresentationModel.as
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/DynamicStreamingSample-build-con fig.xml
        osmf/trunk/apps/samples/framework/ExamplePlayer/ExamplePlayer-build-config.xml
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/view/MainWindowLayout.mxml
        osmf/trunk/apps/samples/framework/MediaContainerSample/MediaContainerSample-build-config. xml
        osmf/trunk/apps/samples/framework/MediaContainerUIComponent/MediaContainerUIComponent-bui ld-config.xml
        osmf/trunk/apps/samples/framework/NestedMediaContainersSample/NestedMediaCOntainersSample -build-config.xml
        osmf/trunk/apps/samples/framework/OSMFPlayer/OSMFPlayer-build-config.xml
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/AkamaiPluginSample-build-config.xml
        osmf/trunk/framework/OSMF/osmf-build-config.flex
        osmf/trunk/framework/OSMF/osmf-build-config.xml
        osmf/trunk/framework/OSMFAIRTest/OSMFAIRTest-build-config.xml
        osmf/trunk/framework/OSMFIntegrationTest/osmfintegrationtest-build-config.xml
        osmf/trunk/framework/OSMFTest/OSMFTest.mxml
        osmf/trunk/framework/OSMFTest/osmftest-build-config.flex
        osmf/trunk/framework/OSMFTest/osmftest-build-config.xml
        osmf/trunk/libs/samples/ChromeLibrary/ChromeLibrary-build-config.xml
        osmf/trunk/libs/samples/Syndication/syndication-build-config.flex
        osmf/trunk/libs/samples/Syndication/syndication-build-config.xml
        osmf/trunk/libs/samples/VAST/vast-build-config.flex
        osmf/trunk/libs/samples/VAST/vast-build-config.xml
        osmf/trunk/libs/testing/NetMocker/netmocker-build-config.xml
        osmf/trunk/libs/testing/StrobeUnit/strobeunit-build-config.xml
        osmf/trunk/plugins/samples/SMILPlugin/SMILPlugin-build-config.xml
    Added Paths:
        osmf/trunk/apps/certification/zeri/FlexUnit4/flexunit4-build-config-10-1.xml
        osmf/trunk/apps/certification/zeri/FlexUnit4UIListener/flexunit4uilistener-build-config-1 0-1.xml
        osmf/trunk/apps/certification/zeri/ZeriCertificationPlayer/zericertificationplayer-build- config-10-1.xml
        osmf/trunk/apps/certification/zeri/ZeriCertificationTest/zericertificationtest-build-conf ig-10-1.xml
        osmf/trunk/apps/certification/zeri/ZeriCertificationUtils/zeri-certification-utils-build- config-10-1.xml
        osmf/trunk/apps/samples/framework/MediaContainerUIComponent/MediaContainerUIComponent-bui ld-config-10-1.xml
        osmf/trunk/framework/OSMF/osmf-build-config-10-1.xml

    Revision: 17162
    Revision: 17162
    Author:   [email protected]
    Date:     2010-08-02 18:31:23 -0700 (Mon, 02 Aug 2010)
    Log Message:
    config file and relevant changes for flex sdk3 to flex sdk 4 migration
    Modified Paths:
        osmf/trunk/apps/certification/zeri/FlexUnit4UIListener/src/org/flexunit/flexui/data/TestR unnerBasePresentationModel.as
        osmf/trunk/apps/samples/framework/DynamicStreamingSample/DynamicStreamingSample-build-con fig.xml
        osmf/trunk/apps/samples/framework/ExamplePlayer/ExamplePlayer-build-config.xml
        osmf/trunk/apps/samples/framework/ExamplePlayer/org/osmf/view/MainWindowLayout.mxml
        osmf/trunk/apps/samples/framework/MediaContainerSample/MediaContainerSample-build-config. xml
        osmf/trunk/apps/samples/framework/MediaContainerUIComponent/MediaContainerUIComponent-bui ld-config.xml
        osmf/trunk/apps/samples/framework/NestedMediaContainersSample/NestedMediaCOntainersSample -build-config.xml
        osmf/trunk/apps/samples/framework/OSMFPlayer/OSMFPlayer-build-config.xml
        osmf/trunk/apps/samples/plugins/AkamaiPluginSample/AkamaiPluginSample-build-config.xml
        osmf/trunk/framework/OSMF/osmf-build-config.flex
        osmf/trunk/framework/OSMF/osmf-build-config.xml
        osmf/trunk/framework/OSMFAIRTest/OSMFAIRTest-build-config.xml
        osmf/trunk/framework/OSMFIntegrationTest/osmfintegrationtest-build-config.xml
        osmf/trunk/framework/OSMFTest/OSMFTest.mxml
        osmf/trunk/framework/OSMFTest/osmftest-build-config.flex
        osmf/trunk/framework/OSMFTest/osmftest-build-config.xml
        osmf/trunk/libs/samples/ChromeLibrary/ChromeLibrary-build-config.xml
        osmf/trunk/libs/samples/Syndication/syndication-build-config.flex
        osmf/trunk/libs/samples/Syndication/syndication-build-config.xml
        osmf/trunk/libs/samples/VAST/vast-build-config.flex
        osmf/trunk/libs/samples/VAST/vast-build-config.xml
        osmf/trunk/libs/testing/NetMocker/netmocker-build-config.xml
        osmf/trunk/libs/testing/StrobeUnit/strobeunit-build-config.xml
        osmf/trunk/plugins/samples/SMILPlugin/SMILPlugin-build-config.xml
    Added Paths:
        osmf/trunk/apps/certification/zeri/FlexUnit4/flexunit4-build-config-10-1.xml
        osmf/trunk/apps/certification/zeri/FlexUnit4UIListener/flexunit4uilistener-build-config-1 0-1.xml
        osmf/trunk/apps/certification/zeri/ZeriCertificationPlayer/zericertificationplayer-build- config-10-1.xml
        osmf/trunk/apps/certification/zeri/ZeriCertificationTest/zericertificationtest-build-conf ig-10-1.xml
        osmf/trunk/apps/certification/zeri/ZeriCertificationUtils/zeri-certification-utils-build- config-10-1.xml
        osmf/trunk/apps/samples/framework/MediaContainerUIComponent/MediaContainerUIComponent-bui ld-config-10-1.xml
        osmf/trunk/framework/OSMF/osmf-build-config-10-1.xml

  • Issue with parameter passing in ie7 to php xml

    Hi
    I wondered if anyone could offer a little advice what the issue is here.
    I have a page with xml generated from php in a separte file and presented by a dataset in spry.
    The xml is OK and in firefox it all works but ie seems to barf on it.
    The situation is this:
    I have a jump menu on a front page that provides a url with anumeric parameter passed like this
    platforms.php?platform_id=1
    This parameter is picked up by php on the platforms.php page using the $_GET Array and is passed into the code in my Spry dataset to the file that runs my query and returns my xml- so basically the page displays a dataset filtered on this parameter id.
    It works perfectly in FF.
    In IE if I link straight to the page without a parameter at all- so platforms.php the page loads OK using the default parameter I have set up in the top of this page to send the default id of 1 to the code page so the spry query says platform_sql.php?platform_id=1 and the xml generator is fine with thisiel. ie I do a
    if(isset($_GET['platform_id'])){
                                                                     $platform=$_GET['platform_id'];
    }else{
    $platform=1;
    The dataset loads Ok in IE but when I pass a parameter in the url from my jump menu IE gives a blank SPRY table i- it momentarily appears with just the placeholders for my dataset elements then vanishes. The source code of the page shows the correct id was set in the spry data going to my query file.
    There is an error in ie saying there is a javascript error but its not any help- in ie fashion- FF shown no such errors.
    I thought this might be a data type thing again in the dataset but its not - I have set the elements returned to simple strings but it still does not work.
    Is there a problem passing in a parameter like this to a spry dataset?

    After about half a day of mucking round I found the problem and a solution to this problem.
    What appeared to have happened was that some of the older content in my database used html originally encoded using a WYSWYG editor called ktml.
    Later data uses Tiny MCE. It looks like the character set of the two formats is slightly different and as a result some characters rendered incorrectly when passed through XML parsing where it specifies the character set as utf-8.
    Firefox on the whole seems to ignore the issue though looking at the raw xml output of my php-xml code- where "-" characters were (dashes) there was a question mark character shown. None the less in actual use on my page the xml was produced and the dataset worked out.
    In IE, it barfed at these same characters and failed to return the xml dataset.
    What confused the issue more was some of my smaller datasets if they by chance never had a "-" character in rendered OK in IE- hence my default dataset (platform_id=1) worked in IE. After much experimenting I noticed other ids worked too if there was never such a character.
    How I got round it was to wrap my server side data in the utf8_encode() function, and now all my xml is clean.
    The javascript error being thrown was a red herring though I could not tell until I managed to run my page in ie7 with Visual Studio Express error console running- I had this on a spare machine at work so could debug with it.
    All sorted now- now just need to find away to wrap all my datasets in collapsible panels that work.
    K

  • Flex 3 to Flex 4.5.1 Error (UIComponent)

    When I change flex 3 to flex 4.5. I keep the almost code and change the essitial code to pass the complie of flex 4.5
    But when I did the debug, the system just the fault at the webservice module.
    The server dispatch event to the webservice which connect to the C# then just out
    private function callLaterDispatcher(event:Event):void
    // trace(">>calllaterdispatcher " + this);
    UIComponentGlobals.callLaterDispatcherCount++;
    // At run-time, callLaterDispatcher2() is called
    // without a surrounding try-catch.
    if (!UIComponentGlobals.catchCallLaterExceptions)
    callLaterDispatcher2(event);
    // At design-time, callLaterDispatcher2() is called
    // with a surrounding try-catch.
    else
    try
    callLaterDispatcher2(event);
    catch(e:Error)
    // Dispatch a callLaterError dynamic event for Design View.
                    var callLaterErrorEvent:DynamicEvent = new DynamicEvent("callLaterError");
    callLaterErrorEvent.error = e;
    callLaterErrorEvent.source = this;
                    systemManager.dispatchEvent(callLaterErrorEvent);
    // trace("<<calllaterdispatcher");
    UIComponentGlobals.callLaterDispatcherCount--;
    In the file of UIComponent.as the error happens in the red line when I did the debug 
    It connect to the event and also related in the error log
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
      at com.iqity.fusion.iqzone.commands.charts.realTimeProcessMonitor::LoadRealTimeProcessMonito rChartDataCommand/responseCorrectHandler()[C:\Users\Devel\Adobe Flash Builder 4.5\IQFlex4.5\src\com\iqity\fusion\iqzone\commands\charts\realTimeProcessMonitor\LoadReal TimeProcessMonitorChartDataCommand.as:802]
      at com.iqity.fusion.iqzone.business::IQFusionResponder/result()[C:\Users\Devel\Adobe Flash Builder 4.5\IQFlex4.5\src\com\iqity\fusion\iqzone\business\IQFusionResponder.as:108]
      at mx.rpc::AsyncToken/http://www.adobe.com/2006/flex/mx/internal::applyResult()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\AsyncToken.as:239]
      at mx.rpc.events::ResultEvent/http://www.adobe.com/2006/flex/mx/internal::callTokenResponders()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\events\ResultEvent.as:207]
      at mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\AbstractOperation.as:244]
      at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:318]
      at mx.rpc::Responder/result()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\Responder.as:5 6]
      at mx.rpc::AsyncRequest/acknowledge()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\AsyncR equest.as:84]
      at DirectHTTPMessageResponder/completeHandler()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\ messaging\channels\DirectHTTPChannel.as:451]
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at flash.net::URLLoader/onComplete()

    You may want to check out what is going on in your library.  I would start where the error message gives us a hint, LoadRealTimeProcessMonitorChartDataCommand.as:802

  • Flex 3 to Flex 4

    I'm trying to convert an application from Flex 3 to Flex 4.  One of the problems is discussed in another thread on how Flex 4 doesn't use CSS (background-Image).  But this thread is for other things, starting with this.
    1) When I go into design mode, the properties becomes blank and says it will only work in design mode.  Is there a secret design mode?
    2) When I go into design mode, the image won't fit on the page and you can't scroll down.  If I change the resolution to 12%, it will fit on the page but is unreadable.  Is there some way to scroll so you don't have to go to 12%?
    3) When I try to run the application to see it, I only get an old version and not the current one.  How do I force it to use the current version?
    Thanks.

    I can't believe no one has converted Flex 3 to 4.

  • Support document for Migration of application fro flex 2 o flex 3

    Support document for Migration of application fro flex 2 to
    flex 3

    I'm sorry to hear that you are having problems. A few APIs
    did change from B3 to final, but you should be getting compile
    errors for those. I can assure you that all of the areas you
    mentioned were tested and are working for many folks so if you can
    supply examples of what isnt working we can try to get you back up
    and running.

  • Bi-derectional text and migration from Flex 3 to Flex 4

    Hi guys, Can we migrate our application from Flex 3 to Flex 4
    in order to support bi-directional text? I have been reviewing the
    new Text Layout Framework tutorial and I found out a set of new
    components that need to be used in order to support bi-di ext.
    What about the classical Flex components that we used to use
    in our application? do I need to re-write my application with the
    TLF components in order to support bi-di? Can’t I just set
    some new properties and re-compile my application?
    Please help
    Thank You

    For Flex 4, in addition to developing new "Gumbo" components
    which have an improved skinning architecture and use TLF, the Flex
    team is also planning to make it possible to have a few TLF
    features such as bidirectional text in some or perhaps all of the
    Halo components from Flex 3. These components currently use a
    Player class known as TextField. A class called TLFTextField is
    being developed which uses TLF to implement the same APIs as
    TextField, and therefore can replace TextField in the Halo
    components.
    This work is underway but not yet complete. Only a few
    components are currently working with this approach and there is no
    way at the moment to turn on bidirectionality. We are also starting
    to develop a UI-mirroring feature to allow the entire user
    interface -- not just the text -- to become right-to-left.
    So what you need -- the ability to write Arabic and Hebrew
    applications using only legacy Halo components -- is planned for
    Flex 4.
    Gordon Smith
    Adobe Flex SDK Team

  • Migration from Flex 3 to Flex 4

    I've migrated my project from flex 3 to flex 4 and all it's ok, the new project work fine.
    But I created my custom TitleWindow MX style and I created a swc library from Flash builder 4, all it's ok.
    When I use my custom TitleWindow in new project (compatible with mx+spark) it work fine when I add only mx component, when I add a <s:TextArea> for example, it throw this error in run-time: Skin for ForumTitleWindow1220.boxMessaggioInput.TextArea1227 cannot be found.
    where ForumTitleWindow1220 and boxMessaggioInput are my instance.
    in particolar the error is "throw(new Error(resourceManager.getString("components", "skinNotFound", [this])));"
    in SkinnableComponent to line 698.
    why?

    For Flex 4, in addition to developing new "Gumbo" components
    which have an improved skinning architecture and use TLF, the Flex
    team is also planning to make it possible to have a few TLF
    features such as bidirectional text in some or perhaps all of the
    Halo components from Flex 3. These components currently use a
    Player class known as TextField. A class called TLFTextField is
    being developed which uses TLF to implement the same APIs as
    TextField, and therefore can replace TextField in the Halo
    components.
    This work is underway but not yet complete. Only a few
    components are currently working with this approach and there is no
    way at the moment to turn on bidirectionality. We are also starting
    to develop a UI-mirroring feature to allow the entire user
    interface -- not just the text -- to become right-to-left.
    So what you need -- the ability to write Arabic and Hebrew
    applications using only legacy Halo components -- is planned for
    Flex 4.
    Gordon Smith
    Adobe Flex SDK Team

  • [svn] 3292: Update Download text and link from Flex 2 to Flex 3.

    Revision: 3292
    Author: [email protected]
    Date: 2008-09-22 08:49:21 -0700 (Mon, 22 Sep 2008)
    Log Message:
    Update Download text and link from Flex 2 to Flex 3.
    Modified Paths:
    flex/sdk/branches/3.0.x/frameworks/javascript/FABridge/samples/srcview/SourceIndex.xml

    I haven't done any charts, so I can't be much specific help,
    but start with the MigrationGuide, here:
    http://download.macromedia.com/pub/documentation/en/flex/2/flex2_migrationguide.zip
    Then run the example and debug it.
    You might also be able to find updated examples here:
    http://www.adobe.com/devnet/flex/
    Tracy

  • Shifting Flex project from Flex SDK 3.5 to Flex SDK 4.0

    Hi,
    I am currently working on a Flex project using Flex 3.5 SDK. I want to shift my project to Flex 4.0 SDK.
    When I changed the project settings to use SDK 4.0, I got lot of unknown location errors.
    1) 1046: Type was not found or was not a compile-time constant: ImportExportConfiguration
    2) 1061: Call to a possibly undefined method setSelection through a reference with static type mx.core.ITextInput
    While the same code of flex was working satisfactorily in Flex SDK 3.5.
    Please tell, how can I get rid of these error and successfully shift my project to Flex SDK 4.0.
    Regards,
    Nitika Agarwal

    Hi,
    While I am migrating my project from flex 3.5 to Flex 4, I have to keep the Flex 3 compatibility mode off and theme as Flex 4 default theme that is Spark.
    Then while i compile I get foloowing errors:
    The   style 'backgroundAlpha' is only supported by type 'mx.controls.TextInput'   with the theme(s) 'halo'.
    The style 'backgroundColor'   is only supported by type 'com.app.model.WLSMSTextArea' with the theme(s)   'halo'.
    The style 'borderColor' is   only supported by type 'mx.controls.ComboBox' with the theme(s) 'halo'.
    The style 'borderThickness'   is only supported by type 'mx.containers.Canvas' with the theme(s) 'halo'.
    The style 'cornerRadius' is   only supported by type 'com.app.model.WLTextInput' with the theme(s) 'halo'.
    The style 'cornerRadius' is   only supported by type 'mx.controls.TextArea' with the theme(s) 'halo'.
    The style 'fillAlphas' is   only supported by type 'mx.controls.Button' with the theme(s) 'halo'.
    The style 'fillAlphas' is   only supported by type 'mx.controls.ComboBox' with the theme(s) 'halo'.
    The style 'fillColors' is   only supported by type 'mx.controls.Button' with the theme(s) 'halo'.
    The style 'fillColors' is   only supported by type 'mx.controls.ComboBox' with the theme(s) 'halo'.
    The style 'themeColor' is   only supported by type 'com.app.model.WLSMSTextArea' with the theme(s)   'halo'.
    The style 'themeColor' is   only supported by type 'com.app.model.WLTextInput' with the theme(s) 'halo'.
    What is the resolution for these, as for most of the controls there is no substitute to these properties. If I do not want ot change my <mx:> controls to <s:>controls because it will hamper my UI look and field, which I cannot afford to do.
    I have added following lines at the beginning of my stylesheet (*.CSS) as well:
         @namespace "http://www.adobe.com/2006/mxml";
        @namespace "library://ns.adobe.com/flex/mx";
        @namespace s "library://ns.adobe.com/flex/spark";
         Button { .... }
         ........ / * other styles */
    Please help me on this.
    Regards,
    Nitika

  • How does the ActionScript API, Eclipse IDE, Flex SDK, Cygwin & Flex Builder all communicate??

    Whats up Everyone! As you might've immediately recognized from the title of this thread I'm new to developing apps with Flex.....
    If I've succesfully set up my development environment (Flex SDK, Eclipse IDE, JAVA SDK, Apache Ant, Flash Player, etc.....) & checked out the source code using Subversion, can I start developing my app using the ActionScript 3 API using Eclipse? & how do those different SDK's & programs communicate? How should they be setup?

    If you're willing to buy into the FlexBuilder way of doing things, that's probably the way to go. In this case, you don't really need to worry about anything except FlexBuilder (at least for a while). I don't really have any experience in setting up a project with a server component (I always set 'server type' to 'None' and configure this manually), but other than that, the experience has been (fairly) smooth, and I'm someone who's pretty heavily biased towards the command line. FlexBuilder takes care of most of the Flex compiler options, tracking different SDK versions (I have three different ones installed), offers code completion and navigation tools, etc.
    To get some of the terms straight (I'm not sure how familiar you are with these, since you just threw them out there--pardon me if I'm being patronizing):
    * the ActionScript API: the function and class definitions built into Flash Player (fl.*) and the Flex standard library (mx.*)
    * Eclipse: a Java IDE, the core of FlexBuilder
    * Flex SDK: the Flex standard library, the mxml and compc flex compilers, some ant tasks for build automation, etc.
    * Cygwin: this does not really have anything to do with Flex specifically, as far as I'm aware--it's a *nix emulation layer for Windows
    * FlexBuilder: the Flex IDE from Adobe, built as a plug-in to Eclipse
    FlexBuilder is available in standalone (i.e., pre-bundled with Eclipse) and plug-in versions. Both versions include the SDK. If you're just starting out, I would suggest a FlexBuilder standalone trial, and follows some tutorials out there (or, really, just chose "new Flex project" and explore). In this case, you don't really have to worry about installing or configuring anything else to get started.
    Note also that for the upcoming Flex 4, FlexBuilder has been renamed Flash Builder (but I would stick with Flex 3.4 or 3.2 right now unless you really likethe bleeding edge).

  • Building Flex Application with Flex Builder installed in a remote server

    Building Flex Application with Flex Builder installed in a remote server and different developers accessing it via VNC etc
    I have a requirement as below..........this is mainly to look for a solution where we can see a environment.............where we can stop developer to install flex builder locally, download/check out code locally and work locally ..............Please have a look ........
    1. There is Remote Server hosting our source code say 1st Remote Server
    2. There is another 2nd Remote Server which support workspace for each user
    3. Flex Builder installed in the 2nd Remote Server
    4. Each Developer connects to the 2nd Remote Server via VNC etc log in to their workspace
    5. Each developer check out code in their workspace by connecting to 1st Remote Server.
    6. Start Flex Builder instance which is running in the 2nd Remote Server
    5. Each developer open source code modifies, build application in their workspace and check
    Do anyone have any idea whether this kind of environment is possible in Flex or can anyone suggest something which is almost close to this ? I heard Cloud Computing is something that world is looking to represent this kind of solution .............not sure though

    Hi
    The concept of cloud computing is not even very clear to me
    I think this is what I understood about it ...........from this link http://communication.howstuffworks.com/cloud-computing.htm
    It says
    "Instead of installing a suite of software for each computer, you'd only have to load one application. That application would allow workers to log into a Web-based service which hosts all the programs the user would need for his or her job. Remote machines owned by another company would run everything from e-mail to word processing to complex data analysis programs. It's called cloud computing, and it could change the entire computer industry"
    "There's a good chance you've already used some form of cloud computing. If you have an e-mail account with a Web-based e-mail service like Hotmail, Yahoo! Mail or Gmail, then you've had some experience with cloud computing. Instead of running an e-mail program on your computer, you log in to a Web e-mail account remotely"
    My issue is not with the license. The solution that I am looking for is
    1. Don't want the developer to download the source code in any fashion either checked out or anything else in the local machine
    2. Want the developer to work directly on the server
    3. Looking for a solution where each developer is not required to install Flex Builder locally and the developer can use Flex Builder that is installed on the server and in his workspace and create/modify build on the server itself
    Hope I could make you understand this time ................
    Regards
    Biswamit

  • I am trying to set up Flex Agent Go flex drive but unsure of what I am doing

    I am trying to set up Flex agent Go flex drive but have no clue what I am doing . I don't know if i am just supposed to plug this thing in and it does everything or if I have to tell it what to do

    Hello bluechalk,
    I'd recommend restarting your iPhone. If you're still unable to proceed, I would recommend resetting the device.
    iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/HT1430
    Cheers,
    Allen

Maybe you are looking for

  • Mixing memory question

    I currently have 2x512MB for 1GB of Crucial Ballistix memory sticks in my system right now. I am planning to buy 2x1GB for 2GB of Corsair XMS memory and mixing it with the Crucial stuff. The memory are to be used on my main system right now which is

  • I tried to upgrade iTunes, now it won't install on my computer.

    I was prompted to upgrade my itunes to the newest version. I downloaded the new version. It downloaded completely but when it came to setup I got a window saying, "The feature you are trying to use is on a network resource that is unavailable. Click

  • I need help with my DVD drive.

    After 4 hours of wandering around the net and not finding anything of use, I suspect I am posting on the wrong board. But hopefully somebody will do whatever is necessary to get this in the right place. Long story short, my Satellite A215-S4817 DVD d

  • How to open Crystal report 11 using the Visual c++ 6.0 code

    I am using Visual c++ 6.0.I can't open crystal report X1 from my vc++ application. The same code which I have used for crystal report 7.0 is using for crystal report X1.But it shows "Unbale to load the report". Please help me out. The code snippet I

  • HIDE CHART COLUMN

    Hi all, Is there a way in obiee that can we hide a column in chart format report. If there is a way please let me know. i need to hide one of the columns in the chart report. Thanks Edited by: Copter on Oct 24, 2011 10:15 AM