Problem with Accordion/embed fonts in AS

Hello,
I have a package named "accordion" in my Flex Project.
In there, I have a file named "Accordion.as" with the content:
include "AccordionHeader.as";
     [Embed(systemFont='Arial', fontWeight='bold', fontName='accordionHeader', mimeType='application/x-font', embedAsCFF='false')]
private var font1:Class;
Then I have the file "AccordionHeader.as" in same package "accordion".
But Flash Builder returns an error with the message:
"Packages may not be nested".
What am I doing wrong?
I tried to create a separate file for the class "font1" but it didn't work. I read that it could also be that i forgot a brace, so now I'm confused why this error appears.
Thanks.
Regards, Michael.

The Problem has been solved.

Similar Messages

  • Problems with Photos and Fonts and Explorer

    I am having problems with photos and fonts when my site is viewed on Explorer. The site is Ostyn-Newman.com The problems can both be seen on the start page -though they happen throughout the site. The photo is supposed to be only 30% opaque and it shows fine on Firefox or Safari, but Explorer viewers get the photo being used as wallpaper at 100% and this steps all over the text. Should I give up a using a photo as wallapaper?
    Also the font I am using for "Ostyn-Newman Objects for Fine Homes" shows well in Firefox and Safari, but looks really bad on Explorer products. Should I just change the font? I am currently using Snell Roundhand.

    See Roddy's posts in these topics:
    Re: VIEWING iWEB SITES ON A PC ?
    Re: iweb pages memory intensive
    Re: iweb site on my personal domain name locks up
    The message in each is pretty much the same but he does give some info of an application that can optimize the web pages to make them more readily readable by IE.
    OT

  • Hi, I have problem with accesing Assets - Fonts (Synced Typekit fonts)!

    Hi, I have problem with accesing Assets -> Fonts (Synced Typekit fonts)!
    Can You help me with that problem?

    Hi Tarik,
    I'm sorry you ran into trouble here. There are a few things we can check right away to start debugging this:
    - First, would you try signing out of the Creative Cloud app and see if this solves the issue? This can be found under: Gear > Preferences > General > Account.
    - Could you try quitting/restarting the Creative Cloud app. Did this solve the issue?
    - Could you try Turning File and Font Sync off under: Gear > Preferences > Fonts. Wait a second, then turn it back on. See if the font/s show up and if not, try syncing again. Did this solve it?
    - Could you tell me if you're on the Windows/Mac OS X and the version?
    If none of those worked, would you attach the CoreSync files and send those to our support email: [email protected]?
    On the Mac, the folder can be found here:
    /Library/Application Support/Adobe/CoreSync/CoreSync-yyyy-mm-dd.log
    (You'll want to open the Finder, click Go, in the menu, hold down the "option" key and you'll see the Library folder.)
    On Windows:
    You can find the files under: C:\Users\user name\AppData\Roaming\Adobe\CoreSync\coreSync-2013-08-xx.log
    I know this is a lot. Thanks for your help here.
    Cheers,
    Benjamin

  • Hi, After I installed Mac Lion, I have problem with the tamil font while typing in Neo Office. Especially with the letters "e-Ex: தெ" and "ai-Ex:தை". Please help me I know its not bug from Apple It shd be some problem in neo.

    Hi, After I installed Mac Lion, I have problem with the tamil font while typing in Neo Office. Especially with the letters "e-Ex: தெ" and "ai-Ex:தை". Please help me I know its not bug from Apple It shd be some problem in neo.

    Is your problem due to the keyboard or to NeoOffice Characters? You have to change probably the font. Not all fonts are supporting all Unicode sets. Which font you have in your NeoOffice set to write Tamil? Try with Arial Unicode MS for example.
    Are the letter e-Ex and ai-Ex right in your posting? If they are right, how you inserted these letters in your posting? By copy and paste or by typing? If by typing, your question is related to NeoOffice. Probably you should reinstall or update NeoOffice? Or switch to OpenOffice?
    marek

  • How do I resolve a problem with the Pompiere font download?

    How do I resolve a problem with the Pompiere font download for Word on a MacPro?

    never mind... download must have been corrupt. re-downloading it seems to have fixed the problem.

  • Problem with the way fonts display in Internet Explorer

    Howdy. I built a site about a week ago (first crack at this). It has quite a bit of content but seemed to be fine on Safari, Netscape and Firefox. I checked it out at work on a PC with Internet Explorer 6 and there were typography problems. I intentionally used simple web fonts (all Arial) to hopefully minimize this sort of thing. I used a 70% tint of Black for the font color on all the fonts. On Explorer the fonts display fine on pages 1, 2, 3, and 4. On page 5 the type appears blurry, really greyed and spread. I can't figure out why (same fonts and styles).
    As an experiment I tried posting just a couple of pages with the type at 100% black. The really bad pages weren't so bad (but not nearly as good as on the other browsers.) The site is rballister.com. If you click on any of the links (picture boxes) on the "print & mail index" pages you will see the problem with the type. Thanks in advance for any help anyone can provide.

    Because I thought it would be a nice effect, I decided to use the slider in the color pallette and change to color of the type from 100% black to 70% black (which is to to say a shade of gray). I'm referring to text that I keyboarded into iWeb. As previously mentioned, the gray type worked just fine on most browsers but caused problems in Internet Explorer (in a seemingly random way. Still can't figure out the reason). When I changed the type to black on a white background (black and white), the problem wasn't as bad as it was in Explorer, but still not nearly as good as in the other browsers.

  • Problems with Java cyrillic fonts in Web enabled Forms

    I have a big problem with the deployed forms on the web. The
    problem is that when a form is run on the web in a Java Applet it
    uses some strange fonts. I want to make it use only specified
    fonts but I don't know how. Please help me.
    I am using Developer /2000 v2.1 and Forms5.0. The DB characterset
    is CL8MSWIN1251. The OWS is v3.0.1. All these are running on NT.
    null

    Hi
    QueryXInModel model = new QueryXInModel();
    wdContext.nodeRequest_FindXByElements().bind(wdContext.createRequest_FindXByElementsElement(new Request_FindXByElements(model)));
    wdContext.currentRequest_FindXByElementsElement().modelObject().setXByElementsQuery(new XByElementsQuery_Sync(model));
    //Processing structure
    wdContext.currentXByElementsQueryElement().modelObject().setProcessingConditions(new WITHOUT_LASTRETURNED_QueryProcessingConditions(model));
    //Selection structure
    wdContext.currentXByElementsQueryElement().modelObject().setXSelectionByElements(new XSelectionByElements(model));
    XByElementsQuery
    ProcessingConditions
    QueryHitsMaximumNumberValue
    QueryHitsUnlimitedIndicator
    XSelectionByElements
    ID
    Year
    as
              QueryXInModel model = new QueryXInModel();
               Request_FindXByElement  request = new Requst_FindXByElement();
                ProcessCondition   processCond  = new  ProcessCondition(model);
                QueryHitsMaximumNumberValue  qhMaxNumValues = QueryHitsMaximumNumberValue(model);
          QueryHitsUnlimitedIndicator  qhUnLimind = new QueryHitsUnlimitedIndicator(model);
            XSelectionByElements  selecByEle = new XSelectionByElements(model);
                     processCond.set....();                         
                     qhMaxNumValues .set...();
               and so on
                    request.set....();
    wdcontext.nodeReqestFindX..bind(request);
      in the above during the values you will automatically get the set values .

  • Displaying problem with accordion

    Hi. I'm facing this issues a long time. Sometimes it is
    working, sometimes not....
    If you click panelTab 'a little bit' quicker and not so nice
    (meaning double clicking, clicking immediately another accordion
    tab after you clicked previous), previously clicked tabs
    accordionPanelContent is still visible and it is displayed over
    opened panel below. everything is so strange. sometimes it works in
    FF and in IE, sometimes nowhere, sometimes just in FF etc etc... it
    occurs when enableAnimation is set to true, especially with high
    duration set. im really confused.
    i searched on net for some solutions but i found just
    "solution" for dojokit accordion (and there was said that this
    occurred just in IE, but it occurs in FF too - at least in my case)
    but nothing on adobes spry accordion.
    so i'm wondring if anyone in here faces similar strange
    problems with this...

    Hello Daniel,
    This is the Adobe Dreamweaver Developer's Toolbox forum, I think you are looking for the Spry forums.
    http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid=72&catid=602
    Shane

  • Problems with accordion and animation

    hi,
    I have problems with the animation of the accordion widget
    Accordion with 3 panels
    panel1 no link but three subpoints with links
    (for example: panel1: home, sublinks: me, you, us)
    panel2 is a link with no sublinks
    panel3 no link but two subpoints with links
    PROBLEM:
    If I turn on panel1 the animation works (there is no link on
    panel1)
    If I turn on panel2 the animation DON'T works (there is a
    link on panel2)
    what am I doing wrong that there is no animation ?
    thanks

    Sorry kimblas, you are quite right! That'll teach me not to
    jump in without reading the comments :) OK, make a few changes
    suggested by Steve, and played around with the css as per the
    example (I think). It now works fine in Firefox if a little slow
    (I'm assuming this is to do with the Flash movie and my painfully
    old PC) but in IE7 it still wants to display the whole of the
    selected content prior to the animation. Interestingily this wasn't
    the case until I began to tinker to the recommended settings.
    Unfortunately I can't get back to where it was to suss out what
    code sorted it, nothing now seems to make a difference. Any
    ideas?

  • Problem with a missing font that isn't missing!

    Hi
    I have a problem with a font appearing as missing in one document but fine in another document. I have tried to clear all paragraph styles and character styles but nothing works. The font shows up in both the list of fonts and the recently used fonts but when i choose it the text is highlighted in pink and the font name appears in brackets as if it is missing.
    I have tried to delete the cached Adobefnt file but that doesn't work either.
    I'm hoping there is a simple solution that I am to ignorant to know about. I am going out of my mind and would love any input on this problem of mine.
    Thanks
    Tinna

    THANK YOU STEVE! You saved the day!

  • Problems with Times Std Font

    I recently purchased the adobe Times Std font (roman, italic, bold, bold italic) and the bold italic lowercase "s" character does not print correctly from Word or Preview (see attached images -- one correct and one not).  It will only print correctly from Adobe Acrobat, but that isn't a solution since I do most of my printing from Word.  I'm thinking it's a problem with the font file... 
    Thank you.

    No, we worked hard to get everyone on the same page when we rolled OTFs out. The whole point is that one file is cross-platform; it's the same exact file with the same exact outlines.  I tried it on my 10.9.1 setup and it was fine in Word and preview. I thought maybe it was the system Times (/System/Library/Fonts) but the one on my system seems fine, too. This is puzzling. From the image you posted, it looks like the entire lc s outline is wonky, not just that lower left corner. If you've checked FontBook to see that you don't have any duplicates lying around, check the version on the file - it should be 2.125. You could also try clearing your font caches; open a Terminal window and type 'sudo atsutil databases -remove' and then Return/Enter and then reboot your Mac.

  • Arabic / Hindi digits problem with Myriad Arabic font

    Hi,
    In Indesign Middle Eastern version we have the option to change the digits (numerals) between Arabic and Hindi (1234/١٢٣٤).
    I having a problem with flipping the digits to Arabic (Latin typface) instead of Hindi (Arabic typface) when typing using Arabic input language in my keyboard.
    The feature works when you type using English as an input language but as soon as you change your input language to Arabic the numbers are typed in Hindi digits and the feature of changing them to Arabic digits (Latin typface) doesn't work.
    I'm using "Arabic Myriad" font for my project but I tested "Adobe Arabic" font too and both have the same problem, I'm not sure if the problem is from Indesign or in the fonts?!
    Any help is appreciated

    but as soon as you change your input language to Arabic the numbers are typed in Hindi digits and the feature of changing them to Arabic digits (Latin typface) doesn't work.
    Which "feature of changing them"?
    If I use the numeric keypad and the English keyboard, the digits keyed respect the language setting of the text in ID. If I use the numeric keypad and the Arabic keyboard... the digits respect the language setting of the text in ID. If I use the flyout from the Character panel to change to Arabic numerals, or Hindi numerals, or Farsi numerals, then all of the numerals change accordingly, no matter what language setting I use. Were you already aware that language is a character-level formatting quality in ID?
    My hunch is that you're not changing the Language setting of the text. If I'm wrong: does it happen in all files? Only new files? Only one file? Also, which platform are you using? Windows or Mac? Which version?

  • Problems with /Network/Library/Fonts/ automount

    Okay, so I am having problems with setting up a /Network/Library/Fonts/ automount in order to share a master set of fonts among designers.
    I created a folder on our XServe RAID volume called "Shared Libraries". Inside it, I created a folder called "Fonts" and installed some test fonts. So the path is /Shared Libraries/Fonts.
    I went to Workgroup Manager, I enabled Sharing for "Shared Libraries". Privileges for Everyone are set to Read Only. it is set to Share this item Using AFP. Guest access is enabled. I enable Network Mounting of this share point via AFP, and I set it to Use for Shared Library.
    So, I restart the client. I login, I go to Network, then Libraries, and my fonts folder shows up.
    HOWEVER, when I go to FontBook, it shows Network with "OFF" next to it. None of my fonts are displayed. I right click on Network and select Enable Network, and nothing happens. None of my fonts show up.
    Any ideas what could be causing this? Am I missing a step?
    Thanks!
    Tyler

    Figured out the problem - PRivileges need to be set to READ AND WRITE. Made the change, and all is well.

  • Problems with ttf-mac-fonts package from AUR

    Hello,
    I've problems with generate package ttf-mac-fonts:
    $ sudo yaourt -S aur/ttf-mac-fonts
    A Macbuntu-10.04
    A Macbuntu-10.04/install.sh
    A Macbuntu-10.04/panel
    A Macbuntu-10.04/panel/panel.entries
    A Macbuntu-10.04/upgrade.sh
    A Macbuntu-10.04/compiz
    A Macbuntu-10.04/compiz/x64
    A Macbuntu-10.04/compiz/x64/original
    A Macbuntu-10.04/compiz/x64/original/libanimation.la
    A Macbuntu-10.04/compiz/x64/original/libanimation.a
    A Macbuntu-10.04/compiz/x64/original/libanimation.so
    A Macbuntu-10.04/compiz/x64/original/animation.xml
    A Macbuntu-10.04/compiz/x64/libanimation.a
    A Macbuntu-10.04/compiz/x64/libanimation.so
    A Macbuntu-10.04/compiz/x64/animation.xml
    A Macbuntu-10.04/compiz/x32
    A Macbuntu-10.04/compiz/x32/original
    A Macbuntu-10.04/compiz/x32/original/libanimation.la
    A Macbuntu-10.04/compiz/x32/original/libanimation.a
    A Macbuntu-10.04/compiz/x32/original/libanimation.so
    A Macbuntu-10.04/compiz/x32/original/animation.xml
    A Macbuntu-10.04/compiz/x32/libanimation.a
    A Macbuntu-10.04/compiz/x32/libanimation.so
    A Macbuntu-10.04/compiz/x32/animation.xml
    A Macbuntu-10.04/uninstall.sh
    A Macbuntu-10.04/readme
    Checked out revision 134.
    install: cannot stat 'gbk/*.ttf': No such file or directory
    ==> ERROR: A failure occurred in package().
    Aborting...
    ==> ERROR: Makepkg was unable to build ttf-mac-fonts.
    ==> Restart building ttf-mac-fonts ? [y/N]
    ==> --------------------------------------
    ==>
    How can I solve this problem?.
    Regards.

    Crap - sorry, I typed too quick, the upstream source if fine.  But as that PKGBUILD does some odd things, I missed the problem.   The simplest (but far from best) fix is to change the lines in the package function to the following:
    svn co https://macbuntu.svn.sourceforge.net/svnroot/macbuntu/Macbuntu/fonts/ ./
    install -d $pkgdir/usr/share/fonts/{TTF,Type1}
    install -m644 ./Macbuntu/fonts/gbk/*.ttf $pkgdir/usr/share/fonts/TTF
    install -m644 ./Macbuntu/fonts/mac/*.ttf $pkgdir/usr/share/fonts/TTF
    install -m644 ./Macbuntu/fonts/mac/*.pfb $pkgdir/usr/share/fonts/Type1
    That is, add the proper paths to the install commands.
    EDIT: or here is one that is at least a lot closer to the right way - though it's the first svn PKGBUILD I've worked on:
    _svn=ttf-mac-fonts
    pkgname=${_svn}-svn
    pkgver=134
    pkgrel=1
    pkgdesc="Mac fonts including Lucida Grande, Apple Garamond and other fonts from Apple"
    arch=('any')
    url="http://www.apple.com/safari/"
    license=('custom')
    depends=()
    makedepends=('subversion')
    conflicts=('macfonts' 'ttf-mac-fonts-svn')
    source=(
    "${_svn}::svn+http://svn.code.sf.net/p/macbuntu/code/Macbuntu/fonts"
    "http://images.apple.com/legal/sla/docs/SafariWindows.pdf"
    sha256sums=(
    'SKIP'
    'd1c9697ea430a3ddad6548c7b9c961c4b06f9da5a5ba1f1007fe998b3354df4a'
    install='ttf-mac-fonts.install'
    pkgver() {
    cd ${srcdir}/${_svn}
    svnversion | tr -d [A-z]
    package() {
    cd ${srcdir}
    install -d $pkgdir/usr/share/licenses/${_svn}
    install -m644 SafariWindows.pdf $pkgdir/usr/share/licenses/${_svn}/
    cd ${srcdir}/${_svn}
    install -d $pkgdir/usr/share/fonts/{TTF,Type1}
    install -m644 gbk/*.ttf $pkgdir/usr/share/fonts/TTF
    install -m644 mac/*.ttf $pkgdir/usr/share/fonts/TTF
    install -m644 mac/*.pfb $pkgdir/usr/share/fonts/Type1
    Last edited by Trilby (2013-08-21 13:35:55)

  • Problem with text editor font

    Hiii..
    Actually I am facing some problems with the text editor font. Since I have some part of text was written in arabic (For labels), currently these parts are not readable and appears like this:
    "ط§ط³ظ… ط§ظ„ط¥ط¯ط§ط±ط© ط§ظ„طھط¯ط±ظٹط¨ظٹط©"
    I have tryed to fix that using:
    Tools --> Preferences --> Code Editor --> Font
    However it still arise.
    Please reply me the solution if you have some idea about this..
    Regard's

    Which JDeveloper version?
    What is the character encoding settings for your project's compiler in the project properties?

Maybe you are looking for

  • Broadcast SSID only on defined Access Points?

    I'm using a Cisco Wireless LAN Controller 5508, 14x Access Points 1041 and 6x Access Points 1031 in combination with a NCS 1.0. Is it possible to broadcast SSID'S only on defined Access Points, e.g. AP 1-3,7-10,18? If yes, what have I to do? Kind reg

  • How to run toplink in english?

    I'm currently running windows in french. I just installed Toplink 10g and noticed that now mapping workbench is also working in french. I would like to run workbench in english. Do you know ho to do it? thanks in advance, Chris

  • Early Upgrade--iPhone

    So here is my situation: I contacted Verizon via phone after seeing that I was due for the early upgrade (actual upgrade for NE2 not until December). I told the CSR that I wanted to get an iPhone, and all was well, until he told me that I could only

  • Horrible performance due to disk writes

    Whenever there is a high volume of disk writes in the internal SATA2 drive, everything comes to a crawl, and most programs are barely responsive. If I run the same tasks but work from an external USB drive, there is zero negative impact on system per

  • Problems with address on new itunes account..help!

    just opened itunes account, while setting it up it says im in canada and wont let me change it so the rest of my address wont go through so i cant complete it, any one have anyideas?