Problem with inline FXG in Flash Builder

Hello,
True newbie to Flex and Flash Builder.
I am trying to use FXG code out of Illustrator CS4 and PASTE in in a skin.mxml file.
I thought that Flash Builder would automatically convert the <Graphic> tag to a Spark <s:Graphic> tag after I pasted in the SHOW CODE segment from Illustrator Save function.
The same for all the other tags.
It does not. Flash Builder just gives me an error when I save the Skin.mxml file.
I don't want to just import the .FXG file as a component because it contains text in the layout I want to dynamically change in an <s:List.>
Sample code:
<s:Skin
    xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:mx="library://ns.adobe.com/flex/halo"
    xmlns:ai="http://ns.adobe.com/ai/2008"
    xmlns:d="http://ns.adobe.com/fxg/2008/dt"
    xmlns:graphics="assets.graphics.*">
    <fx:Metadata>[HostComponent("spark.components.List")]</fx:Metadata>
    <s:states>
        <s:State name="normal"/>
        <s:State name="disabled"/>
    </s:states>
    <s:Rect
        height="457"
        ai:objID="4ee65600"
        d:userLabel="pageContentArea"
        width="921"
        x="0.5"
        y="1.5">
        <s:stroke>
            <s:SolidColorStroke caps="none" color="0x002581" joints="miter" miterLimit="4" scaleMode="normal" weight="1" color.normal="#3993d2"/>
        </s:stroke>
    </s:Rect>
    <Graphic version="1.0" viewHeight="2000" viewWidth="2000" ai:appVersion="14.0.0.367" d:id="1" >
            <Library>
                <Definition name="sym3d_Pyramid_Rainbow" d:userLabel="3d Pyramid Rainbow">
                    <Group>
                        <Group x="-7.52246" y="-24.9131">
                            <Group ai:knockout="0">
                                <Path winding="nonZero" ai:knockout="0" data="M0.358887 9.48828L7.5249 12.5605 7.521 0.279297 0.358887 9.48828Z" >
                                    <fill>
                                        <LinearGradient x="2.04785" y="11.2568" scaleX="11.5761" rotation="-45">
                                            <GradientEntry color="#ed2324" ratio="0"/>
                                            <GradientEntry color="#ed2224" ratio="0.617977"/>
                                            <GradientEntry color="#ed2324" ratio="0.629213"/>
                                            <GradientEntry color="#ed2024" ratio="0.983146"/>
                                        </LinearGradient>
How do get this to work? What am I doing wrong?
Thanks,
bernie393

Hey Peter, Again I REALLY appreciate your help....
So, Are you saying if follow the below process steps it will work?
1. Copy of code from AI Save as FXG dialog box using the Show Code button.
2. Open the Skin or ItemRenderer in Flash Builder Beta 2. (which one should I use to be able to BIND data, skin or itemrenderer)
3. Paste the code in AT THE BOTTOM (after the Skin or ItemRenderer) (tags will still be in <Graphic> format NOT <s:Graphic> format)
4. Move the Library tags to the top of pasted code.
5. Save the file in Flash Builder that it will convert the tags to (s:xxxxxxx) type tags>
IF this is wrong, please explain..I apologize, trying to pick this up as fast as I can...Solving this problem would allow me to move very quickly in creating the pages I have to.
Not knowing Flex 4 well enough, it would take considerably more time if I had to save each individual OBJECT from AI and export as png or jpg or gif.
I also would have to recreate the layout from scratch which would also be difficult at my current knowledge level.....
Also, a learning point for me: In Flex 4 when I do this in Flash Catalyst (I have over 30 pages to build and probably 45 states and when work in Flash Catalyst it will crash if I move to many times in and out of editting components so I have to save often so I cannot do the whole in Catalyst and I need a repeatable process to get all  the different page graphics out of AI and into Flash Builder), Catalyst creates a List component in the main MXML file, a skin.mxml file, and a item renderer.mxml file. I am use to coding in Smalltalk, Javascript, and Java. What parts are considered the Model, View, and Controller in a MVC architecture?
Thank you again Peter......
Bernie393

Similar Messages

  • Problem with signing in to folio builder, indesign.

    I have created an app that I would like to publish, but I can not sign in via the folio builder. I have done this many times before, but today I only get the grey weel when I try to sign in. Im am stuck an can not publish my app. How can I get this to work?

    Hi Christophe
    Yes, I can log into the account on digitalpublishing.acrobat.com with out
    any problems.
    No, it does not work to delete the OOBE folder. I have tried that twice. I
    am rather sad about this. Don't know what to do
    2014-11-28 11:21 GMT+01:00 Christophe_Jossic <[email protected]>:
        Problem with signing in to folio builder, indesign.  created by
    Christophe_Jossic <https://forums.adobe.com/people/Christophe_Jossic> in *Digital
    Publishing Suite* - View the full discussion
    <https://forums.adobe.com/message/6968931#6968931>

  • How to connect my app interface with the code in flash builder?

    I'm a beginner and learning my way around actionscript,mxml and flash builder.So this may seem foolish but please bear with me,I'm creating a very simple ios app using flash builder,I have created a simple app interface (A background and a custom navigation bar)using photoshop for my app,now the question is how do i import it into flash builder so that i can connect it with the code i have written? or is there another simpler way to create a app interface using other products like fireworks or catalyst?
    In short, I want to know how is an app interface created(wt software) and how is it connected with its code using flash builder.Any help would be greatly appreciated, and tutorials would be swell
    Thanks!

    Can you use stage.width or stage.stageWidth?

  • Hi guys, problem with grey screen and flashing question mark. on top of it while in utility, i'm unable to verify, verify disc permission or repair disc0 which is obviously my main hd. any ideas where to go from here? tried to reistall osx but no luck.

    hi guys, problem with grey screen and flashing question mark. should be straight forward affair but on top of it while in disc utility, i'm unable to verify, verify disc permission, repair or even erase disc0 which is obviously my main hd. any ideas where to go from here? tried to reinstall osx but no luck, stucked when asked to chose location to install osx. would really apreciate any kind of help with this cause i'm quite new mac user. ty

    If you don't have a backup, read this:
    https://discussions.apple.com/docs/DOC-1689

  • Safari have problems with streaming radio over flash

    Hello,
    since my update on MAC OS LION have my safari problem with radio streaming over flash.
    For testing: http://shoutcast.flashradio.info/#/House/814384/
    In all browsers on all platforms will this work. Just on the combination from MAC OS LION and Safari 5.1 we get the io error #2032.

     Try changing some Advanced wireless settings on the router. Open the setup page of the router and go to Wireless tab. Click on Advanced wireless settings. Change beacon Interval to 75, RTS threshold to 2304. Save the settings.
    Change the wireless channel to 11.
    An 802.11n router can also work with 802.11g and even 11b devices. But these much slower devices force the router to slow down to talk to them, which means a big throughput hit. Fortunately, the "legacy" mechanisms are pretty efficient and reduce throughput only when the slower devices are actively transmitting or receiving. Either upgrade to all 11n clients, or use a separate 802.11g router to handle your "legacy" stuff.

  • Has anyone experience problems with loading the latest Flash Play?

    Has anyone experienced problems with loading the latest Flash Player?  I have done this several times and the same results come up - Install the latest Flash Player.  I run Microsoft Vista.

    What is your browser?  If IE see
    http://forums.adobe.com/thread/885448
    http://forums.adobe.com/thread/867968

  • Problem with referenced libraries (after flash 5.5 trial install/uninstall)

    I've been using flash builder 4 & flash cs5 with on problems.
    I unstalled flash 5.5 trial version to have a play around, then uninstalled it. I also changed the flex sdk version flash builder was using so I could export and test stageVideo.
    Now when making Flash Professional Project in flash builder ( and selectiong and selecting the main fla), the referenced libraries are not imported to the project, and all old predicts ( which have referenced librares and used to work) are looking for swc's held in the 'Adobe Flash CS5.5' folder, and so none of the code hinting is working.
    Help please

    Hi MoTor,
    You would need to uninstall existing Flash Builder 4.5 on your machine and then install Flash Builder 4.6 in trial mode.
    During installation, it doesn't accept the serial number of Master Collection. So, just install it in trial mode and make sure that the you select the same language as that of your Master Collection, during FB installation.
    Now launch FB and it would then accept Master Collection CS 5.5 serial number.
    http://kb2.adobe.com/cps/924/cpsid_92402.html is the related tech note.
    Hope this helps.
    Regards,
    Anand

  • Jagged graphics worked as fxg in flash builder

    Hello,
    I have a question, I created my skins buttons in flash player and exported them to fxg files, the I used the fxg files in Flash Builder, but when the application runs, the graphics seems jagged.
    I am looking for an answer about setting up the anti-aliasing, but I always find that it is only for text and that graphics in flash player never lose quality.
    Please if anyone knows about it please let me know.
    Thanks!

    In general, try to avoid using strokes in your FXG. If you have rounded corners, then try using a Path with a hole cut out of it. In general, Illustrator and Fireworks do a decent job of exporting the FXG.
    You can also emulate a rectangle with a stroke and fill by creating two Rects with fills. The "fill" Rect should sit on top of the "border" Rect and be inset by the border thickness.
    The spark.skins.mobile240.assets folder has a bunch of examples of FXG used by the framework. These should provide some good guidelines.
    Also, make sure you have setup your scaleGrid properties on the Graphics tag.

  • Problems with Adobe Reader and Flash Player

    I had an Adobe update last Monday and, ever since then, I can't view documents (eg credit card statements) on screen and sites that I previously visited regularly without problem suddenly say that I need to have Adobe Flash Player installed. I've downloaded Adobe Flash Player and it says it's installed correctly but when I return to the site, it still says I need Adobe Flash Player. I've also tried doing an uninstall first and then an instal but the same thing happens. I've run disk first aid and it found a problem with the Head which it fixed but I still can't open documents using Adobe in Safari. Adobe Plug ins tells me that the Internet Access plug in is not loaded but when I ran 'repair Adobe Reader installation", it said there were no missing components detected and repair was not needed. I don't know if it's relevant but I've been having problems with Safari for several weeks, quitting 3 or 4 times a day, mainly when I'm switching from Safari to another programme such as Entourage or Excel.
    Message was edited by: Aileen2

    Hi Carolyn
    I don't think I made it clear on the original post that I'm having problems with both Adobe Reader AND Adobe Flash Player. Unfortunately, all the Adobe Reader sites are confidential so I can't give you an illustration on that but for the Adobe Flash Player, try www.jacquielawson.com/ - you can preview cards without being signed in. With the Adobe Reader problems, I get a picture of a blank 'piece of paper' with a small blue square in the top right hand corner that has a white question mark inside it. The first time this happened to me, I was on the UK Inland Revenue site trying to print out some end of year forms. I phoned the Revenue's helpline and they said to try doing a 'save as' to my desktop. It seemed bizarre - saving a blank piece of paper - but lo and behold, when I opened it on my desktop, the forms appeared exactly as normal. However, I've since tried this 'save as' technique with my credit card statement and I still get a blank piece of paper with a blue square and white question mark when I open the desktop copy.
    Thanks for your help and patience. I really appreciate it.
    Aileen

  • Problems with Safari, Firefox and Flash player

    Ever since I got my new iMac that has Snow Leopard I've had problems with Safari and Firefox freezing or crashing. It appears that part of the problem is the Flash plugin because sometimes a screen pops up and says something like: the flash script is having problems. I've tried uninstalling & reinstalling Flash, Safari and Firefox but the problem is still there. My browser seems to hang up or freeze a lot no matter if I use Safari or Firefox.
    Any ideas?
    I just discovered the Chrome browser from Google this morning and so far its working very well. No freezes and it appears to handle Flash video without any problems.
    How can that be?
    Thanks

    Ah! The proverbial missing information. Why the regrets? Most people are having no issues migrating from previous computers; it's the preferred method. See Best Practices and Setup new Mac. You're a long way from starting over.

  • Problem with installation of Adobe Flash Player on mac

        Hi, i have a macintosh with OsX Yosemite 10.10.2 and i can't update the software to te last version. The download always stop at 20-30%. It's not a problem of my internet connection. I tried to uninstall e reinstall flash player, but i have the same problem, with the difference that now i neither have the software... What can i do? Thank you!

    Hi,
    Ok.  So I found this and it worked:
    1.  Re: Flash download freezes at 25%. What will help?
           Jeromie Clark     Mar 18, 2015 5:00 PM  (in response to Geri J)   
    Please use the offline installer:
    http://fpdownload.macromedia.com/pub/flashplayer/latest/help/install_flash_player_osx.dmg
    Download the install package from this link.  Double-click to open it from your downloads folder; when you see the red "install" folder, right-click it and select "Show Package Contents"; click on the  "Contents" folder; then click on the "Resources" folder; then double-click on the "Adobe Flash Player.pkg" file. The installation will start.  It worked for me.... FINALLY!! I hope it also works for you.

  • Problem with Windows7 and Adobe Flash freezing computer?

    Hello All, There is a problem with Windows7 and my Adobe Flash causing my computer to freeze. So, Skype, videos, etc will not work. Have tried many things to solve problem. Can Oracle VM be used to run a different operating system...such as XP or Vista where Flash will work properly? I would hate to have a new operating system installed on a new computer. thanks

    If you mean Oracle VM VirtualBox, then yes, definitely. A free download, it installs and runs great on Windows 7. http://www.virtualbox.org/

  • Quality problem with animated gif through flash

    i got a problem with making animated gif through flash.
    on html/swf publication it looks clear.
    but the weird thing is through gif publication, it wouldn't show. and exporting it as a movie as gif cause visual defect when put up on web.
    it looks better when you open it in a browser.
    this is how it looks for a profile gif in thumbnail mode. blocky and unclear.
    how do you get it to look good both in thumbnail mode and in browser mode. i seen other that have a clear gif in thumbnail mode.  are my setting wrong for flash? or should i just do gif in photshop instead. i heard rumors flash don't do gif very well.

    Change your gif export setting under publish...
              Dimensions         : Match movie
              Playback             : Animated
                                        : Loop continuously
              Options               : Optimize colors
                                        : Smooth
              Transparent         : Opaque
              Dither                 : None
              Palette Type       : Adaptive
              Max colors         : 99999

  • How to display rich content with URL in adobe flash builder and flex for mobile apps?

    Hi,
      In Apple IOS SDK, I used the WebView control to display the rich text with Bullets, different font style, images within the text and the URLs also within the text as HTML content.
    Clicking on the URLs automatically opens the respective webpage in Safari.
    In Adobe Flash Builder, I don't see any control straight away equivalent to Apple WebView control.
    How to implement the same using adobe and flex?

    Thanks for your reply, its nice to know its not just me.
    the error i got when submitting to the App store where due to native support for IPHONE 5 which is now mandatory (from May 1st), looking around the internet the common soloution seemed to be upgrading to Air 3.7.
    The strange erorrs on 3.7 revolve around compiling a standard / production build (fast build works fine)
    the error is always the same (snippet shown below):
    Error occurred while packaging the application:
    Undefined symbols for architecture armv7:
      "__ZN7avmplus8Debugger9debugLineEi", referenced from:
          __ZN7avmplus9MethodEnv9debugExitEPNS_13CallStackNodeE in AOTBuildOutput-4.o
          __ZN7avmplus11BaseExecMgr22debugEnterExitWrapperNEPNS_9MethodEnvEiPj in AOTBuildOutput-4.o
    I have completly failed to work out why, but my gut feeling is its something to do with how the mac is compiling the code in standard build and unable to find a library it needs.
    cheers
    Toby

  • Problem with displaying text in flash player

    I have flash player 10.2.152.26 and opera 11.01  installed.
    The problem is that text in flash is diplayed in an awful way like this:
    http://img651.imageshack.us/img651/6918/alljo.png
    And when i choose "settings" the window appears, but it doesn't react when I click on it.
    Can anyone help, please?

    Thanks for answering
    So you have IE8 and the hardware acceleration was able to be UNchecked and FP(Flash Player) is working properly with IE.
    In IE flash works fine with any settings.
    When I unchecked "Hardware acceleration" checbox in IE it also became unchecked in opera, but nothing changed in opera's behavior.
    When you don't use the Aero it's displayed correctly but the settings do not work. What settings are you referring to?
    It's about flash settings in Opera
    With aero: http://img443.imageshack.us/i/settingsh.png/
    Without aero: http://img816.imageshack.us/i/settingswoaero.png/
    In both cases the settings dialog is displayed like in the screenshots above, but when I click on checkbox/tabs/'close' button in it nothing happens. I can't change any settings or close it (dialog disappers only after reloading page)
    Just to sum up everything mentioned above:
    - In IE flash works fine regardless of any settings
    - In Opera text is displayed wrong when using windows aero, and without aero theme it's displayed correct
    - I didn't manage to make settings dialog work in Opera
    - When I change some flash settings in IE, they are also changed in Opera
    Now Flash Player works thru the browser, do you have perhaps have an addon that is conflicting? What Anti-Virus do you have Installed? Any addons of that?
    I have 7 extensions installed in Opera, I've disabled all of them, but nothing changed.
    I use Kaspersky Internet Security 2011, disabling it also gives nothing.

Maybe you are looking for

  • Can I share one iTunes Library between 2 different Windows Users?

    I'm having syncing issues (discussed in a different post) with using my 2nd Gen Shuffle and 30G iPod video from the same instance of iTunes. Previously I tried creating a 2nd user on my Windows PC and using my Shuffle with another instance of iTunes

  • Loop -- Select, for all entries, HOW TO ?

    Hi, I have followoing code. LOOP AT table ASSIGNING  TO lt_all_roles_all_objects.   ENDSELECT.   ENDLOOP. How to tune this? I don´t understand how and where to use the for all entries command. And what will happen with my append? Can somebody explain

  • Itunes charged me 3 times for computer authorization.

    Since authorization required credit card number, whenever I try to authorize my computer iTunes charge me for $0.99! It happened three times. 20 mins ago I have tried to install Tivibu Cep application which is free. And Itunes wanted me to authorize

  • IE8 Floating Issues in e-commerce

    Hello Folks, I am using the e-commerce module, and have everything up and working, however it has been brought to my attentiton that ONLY IN IE8 browsers, the "Individul Product Small" units are not floating correctly. If you open up this link:  http

  • Touchpad not seen as Synaptics

    I have a Dell Latitude E6410, and I want to be able to configure my touchpad a bit, mainly by disabling tapping while typing. I have read that this should be possible with syndaemon, but when I run syndaemon, it returns "Unable to find a synaptics de