How to access the EmbeddedFontRegistry in actionscript only code?

Hi,
My name is Zach and I am trying to push outside of the flex framework, but keep the advantages of RSL's.  I created my own Component/Data Library where all UI objects inherits directly from Sprite.  However, when I moved this out of the Flex environment into, what I am calling, 'the pure actionscript' envinronment my RSL's no longer loaded-- when I compiled, so for the past 6 months I have just been compiling them internally.  I finally had time to do some hunting and discovered the FlexModuleBootstrap, SimpleApplication and all of the fun undocumented things that go along with that and I have the RSL's loading, but now I am running into an error with my fonts:
Error: No class registered for interface 'mx.core::IEmbeddedFontRegistry'.
                at mx.core::Singleton$/getInstance()
                at mx.core::EmbeddedFontRegistry$/registerFonts()
                at _eThorityFW_mx_core_FlexModuleFactory/RSLRootCompleteListener()
So I have been looking into this and the classes EmbeddedFontRegistry along with IEmbeddedFontRegistry are undocumented and Excluded from the framwork.swc and I'm stuck figuring out how to register my fonts outside of the Flex environment.  I have a single class called EmbeddedFonts which has the 6 embedded fonts in it and nothing else.  My guess is that I need a [frame(factoryclass=???)] metatag for this so it effectively adds the Fonts to the EmbeddedFontRegistry, but I am swimming in too much information right now.  If anyone out there has done this or has an idea of what I am to do I would be very grateful.
Thanks.
Zach

Thanks guys, these responses helped me research further, but I'm still stuck.
I am using Font.RegisterFont, and the error still comes up.  If I continue through the error then the fonts register and everything looks good, but I still get this stupid error.
From the reading I've done on this, the common solution says to add/register an EmbeddedFontRegistry/IEmbeddedFontRegistry to the mx.core.Singleton class. However, I don't have access to any of these classes since they all have the [ExcludeClass] meta-tag in them. I'm sure that this is because I'm using an embedded font in the SimpleApplication(mx.core.FlexApplicationBootstrap ) not the regular Applciation(mx.managers.SystemManager) factory class. Anyway, I would just like a way of ensuring there is an EmbeddedFontRegistry class registered in Singleton before I try to register a font, any help is welcome.

Similar Messages

  • How to access the SAP MDM destinations using mdm java api in 7.1

    hi,
    I have SAP MDM 7.1 SP11 and SAP Portal 7.3 and developing the custom webdynpro application using the  JAVA MDM API. I want configure the SAP MDM destinations in SAP Portal .
    How to access the MDM destinations in java code using API? and how to create the connection with MDM using the MDM destinations.
    Please provide the code for access the SAP MDM destinations in java code using MDM java api and creating the connection to MDM.
    Thanks

    Jun,
    Thanks for the reply and api information.
    I have got this api information from the following sap documentation. But i am looking for the code by implementing this class and creating the mdm connection.
    Creating an MDM Connection Using Java Code - SAP NetWeaver Master Data Management (MDM) - SAP Library
    if any thing can you share it.
    Thanks

  • I have 2 game centers on 1 Apple ID and it willl only access 1 of them may someone tell me how to access the other one

    I have 2 game centers on 1 Apple ID and it will only access 1 of them may someone tell me how to access the other one

    You don't have to use the same ID for iCloud as you do for purchasing.  You can just set up iCloud using your other ID. 
    If your have already have another account, you have to go to Settings>iCloud, tap Delete Account, choose Keep on My iDevice when prompted, set up your new account with the other ID, turn on your iCloud data syncing and when prompted, choose Merge to upload your data to the new account.

  • How to run the form that is only installed on a PC and not using a server?

    Hi
    I am new to Oracle and have taken the forms class. But I do not understand how to run the form from my PC using XP windows. (Do not have access to a server).
    I have started the OC4J, made sure the listener was started, compiled the form and then when I run it, it automatically goes to the HTTP:
    ERROR: res://ieframe.dll/acr_depnx_error.htm#,http://kevin:8889/forms/frmservle
    I connected to the database correctly. I can process a report and it does nor try to access the internet. My only issue is running the form. I verified it compiled.
    Sorry for a basic question. Could someone please help, I tried reviewing other questions, but not sure if they are connecting to a server or not.
    I see webutil but is it required if I don't have a server? Thank you in advance.

    Regardless of the version, it appears that you may not have configured the Builder. Do the following:
    1. Open the Builder
    2. From the menu, select Edit > Preferences > Runtime
    3. In the box labeled "Application Server URL:", enter a local URL needed to run a form OR click the button labeled "Reset to Default". If you decide to manually enter a value, it would looks something like this:
    http://localhost:8889/forms/frmservlet
    4. In the field labeled "Web Browser Location:", enter the path and executable to your preferred browser. So for example if IE is your browser of choice the entry would most likely look like this:
    C:\Program Files\Internet Explorer\IEXPLORE.EXE
    5. Click on OK and retest.
    By the way, you can manually enter a URL in the browser. Clicking the RunForm button from the Builder is strictly optional. To run the "test" form directly from the browser enter the following into the browser's address field:
    http://localhost:8889/forms/frmservlet?form=test
    More information about Forms can be found on OTN:
    http://www.oracle.com/technology/products/forms/index.html

  • How to access the photos on icloud

    hi
    how to access the photos which i saved in i cloud, from my iPhone 5,
    Note: i do not use any PC. and i only have purchased 20 GB of space on an annual sub. so as to save my photos, and create space in my phone and now i am unable to access it,
    please advise
    thanks
    xxv

    There isn't really a way to "save" photos to iCloud currently with non-beta software.
    iCloud is involved with photos in 2 ways -- backup and Photo Stream.
    Backup of an iOS device includes Camera Roll photos but they cannot be viewed at iCloud.com -- the backup can only be used when doing a restore of an iOS device.
    Photo Stream photos also cannot be viewed at iCloud.com; Photo Stream is designed as a method of transferring photos from one device to another and is not designed to store the photos. More info http://support.apple.com/kb/HT4486
    There is a new feature -- "iCloud Photo Library" -- coming sometime after the iOS 8 release next week: http://www.macrumors.com/2014/09/12/apple-demotes-icloud-photo-library-beta/

  • How to get the extension Info from firefox? Do we have any firefox API to communicate with the browser? I couldnt see the HTML of the widget displayed in the toolbar how to access the widget using JS or any way

    How to get the extension Info from firefox? Do we have any firefox API to communicate with the browser? I couldnt see the HTML of the widget displayed in the toolbar how to access the widget using JS or any way

    Hi,
    Thanks for the suggestion. I've been playing around with some of the classes of the java.net package and java.io
    Using the URL class i can get the content of the data from a STATIC page and output that response to file so that is does not display to the client broswer.
    But this only works if the URL i give points to a static html page.
    So the problem i'm getting is if i'm righting in arguments in the URL, this means that server needs to process the arguments i give and its sends back a dynamic result. Because its dynamic the URL class can not handle this and throws me an exception everytime :(
    Have u ever tried to do some things like this?
    Rahul

  • How to access the ms access database in the JApplet?

    I am New here.
    Please help me.
    I am create one java file to access MS access the database in the JApplet.
    It say "Access denied".
    How to access the ms access database in the JApplet?
    Message was edited by:
    SVPRM

    Hi,
    First of all, were u successfull in creating the connection with the .mdb file.Like settting the DSN and configuring the .mdb file path in control panel.
    If yes then one option might be that the file ur trying to access is in Read-only mode.
    regards

  • OOABAP-How to access the protected methos from a class

    How to access the protected methos from a class..There is a built in class..For tht class i have created a object..
    Built in class name : CL_GUI_TEXTEDIT
    method : LIMIT_TEXT.
    How to access this..help me with code

    hi,
    If inheritance is used properly, it provides a significantly better structure, as common components only
    need to be stored once centrally (in the superclass) and are then automatically available to subclasses.
    Subclasses also profit immediately from changes (although the changes can also render them invalid!).
    Inheritance provides very strong links between the superclass and the subclass. The subclass must
    possess detailed knowledge of the implementation of the superclass, particularly for redefinition, but also in
    order to use inherited components.
    Even if, technically, the superclass does not know its subclasses, the
    subclass often makes additional requirements of the superclass, for example, because a subclass needs
    certain protected components or because implementation details in the superclass need to be changed in
    the subclass in order to redefine methods.
    The basic reason is that the developer of a (super)class cannot
    normally predict all the requirements that subclasses will later need to make of the superclass.
    Inheritance provides an extension of the visibility concept: there are protected components. The visibility of
    these components lies between that of the public components (visible to all users, all subclasses, and the class itself), and private (visible only to the class itself). Protected components are visible to and can be used by all subclasses and the class itself.
    Subclasses cannot access the private components  particularly attributes) of the superclass. Private
    components are genuinely private. This is particularly important if a (super)class needs to make local
    enhancements to handle errors: it can use private components to do this without knowing or invalidating
    subclasses.
    Create your class inse24 and inherit this CL_GUI_TEXTEDIT
    class in yours. You can then access the protected methods.
    Hope this is helpful, <REMOVED BY MODERATOR>
    Edited by: Runal Singh on Feb 8, 2008 1:08 PM
    Edited by: Alvaro Tejada Galindo on Feb 19, 2008 2:19 PM

  • How to access the content in the configuration files

    Hi, Folks,
    To make it easy, the questions can be like this:
    how to access the content in web.xml in a web application?
    Through ServletConfig and context?
    how to access the content in ejb-jar.xml in an ejb?
    initial context?
    Thanks

    There is no documented way to delete data stored in archived log files: you can only remove the archived log files if needed.

  • How to access the e-mails which are stored in different folders via Mac

    Hi guys, I am new to Mac. My problem is about the setting of Mac Mail.
    There are 8 folders with my hotmail account in order to automatically sort e-mail into folders. I only can get the e-mails of inbox folder via Mac Mail software. I am wondering how to access the other e-mails which are stored in other folders.
    Thanks a lot!

    I don't think that things have changed going from 10.5 Mail to 10.6 Mail in this regard (I need to log on to my laptop more often). So, assuming that my premise is correct, in the left hand column of the mail window, underneath your inbox, drafts, sent, trash, and junk mailboxes, there should be the descriptive name of your mail account, written in gray capital letters, with a gray triangle to the left of that name. If the gray triangle is pointing to the right, click on it so that it points downward. That will expand the account view of mailboxes on the server. You should be able to see all of the other folders.

  • How to access the stored password list of N9 nativ...

    How to access the stored password list of N9 native browser?

    most everything should be listed here.
    there was a way to see the website data and stored information, but not the passwords. they were ************
    you were only able to delete the login information, and unfortunately, since i have not used the device in so long, have forgotten the language.
    so you will have to dig a bit.
    it was a command that you would enter into the browser address bar.
    if it comes to me i will repost, but for now...check here.
    http://talk.maemo.org/showpost.php?p=1104892&postcount=1

  • How to migrate the Flexmonkey's ActionScripts to run in FlexUnit?

    how to migrate the Flexmonkey's ActionScripts to run in FlexUnit?
    an example will be great. thanks!!

    You don't need to migrate anything.
    The earlier FlexMonkey code as well as the current will run in FlexUnit 4 without modification. The only issue that you may encounter is that there is a known bug (waiting for a fix from the authors) where FlexUnit .9 tests (older FlexMonkey tests) run in the newer environment don't complete 100% of the time. Hoping we will see a fix on this shortly.
    Mike

  • Can you access the internet using wifi only on an iPhone 4?

    How can you access the internet using WiFi only (no service) on an iPhone 4?

    Assuming your connected to wifi - go to safari.

  • In VB Programming code -- How to access the formula for suppressing a field

    In VB Programming code -- How to access the formula for suppressing a field
    I am using Crystal Reports 2008 v1
    Using VB code, I am attempting to modify a Crystal Report before exporting it into a PDF format and then displaying it on the Web.
    My problem is that I am unable to access the formula used to dynamically suppress a field.
    The following code is working:
    mySections = rd.ReportDefinition.Sections
    For Each mySection As CrystalDecisions.CrystalReports.Engine.Section In mySections
       ' myFieldToChange is a String set to the text of the field I need to adjust the Suppression
       iloop = 0
       For Each RecObj As CrystalDecisions.CrystalReports.Engine.ReportObject In mySection.ReportObjects
               If mySection.ReportObjects.Item(iloop).Name.ToLower = myFieldToChange Then
                   myTextObject = CType(mySection.ReportObjects.Item(iloop), CrystalDecisions.CrystalReports.Engine.TextObject)
                   myTextObject.Text = "new field text goes here"
                   mySection.SectionFormat.EnableSuppress = True
                   '  Here is where I want to change the formula for the Suppression
                End if
                iloop = iloop + 1
        Next
    Next
    I can not find any reference to the actual suppression formula in the SDK help file.
    Note, the EnableSuppress can be set to True for False, but if there is a formula for dynamic suppression, the True or False value is overwritten.  The results of the formula determine the suppression.
    Is there a way to reference this formula.  I know that I can put on in using the Crystal Report Designer software, I need to modify this formula using VB code and the SDK.

    Hello, Mark;
    If you are using the ReportDocument object you do not have access to the Conditional Suppression formula. You can get around it by using a formula field in the report for the supression and then using the FormulaField code to change it at runtime.
    If you want to change the supression condition directly at runtime you need to use RAS and the ReportClientDocument.
    Elaine

  • I used a partitioned HDD for time machine, using a partition already containing other data files. I am now no longer able to view that partition in Finder. Disk Utility shows it in grey and "not mounted". Any suggestions of how to access the files?

    I used a partitioned HDD for time machine, using a partition already containing other data files. I am now no longer able to view that partition in Finder. Disk Utility shows it in grey and "not mounted". Any suggestions of how to access the files? Does using time machine mean that that partition is no longer able to be used as it used to be?
    HDD is a Toshiba 1TB, partitioned into two 500GB partitions.
    OS X version 10.9.2

    Yes, sharing a TM disk is a bad idea, and disks are cheap enough so that you don't need to.
    Now
    Have you tried to repair the disk yet

Maybe you are looking for

  • Files missing from drive - and Time Machine (Freeway files)

    A file that was just updated yesterday is now gone from the computer - everywhere. Gone from the internal drive and gone from time machine. When I do a search for the file type, the last update to it shows as December 19th. This is the day after I er

  • BSI Tubs for 80

    Hi Experts, I am judith-Merlin and newly joined in Payroll Team replacing a guy and taking care of all US payroll activity. Now BSI upgradation is going on.In SAP note it is given that TUB 041 to 061 is important for BSI 8.0. Can you Please let me kn

  • Has any resolved the iMac- Canon issue?

    I use Canon 1DX linked to iMac to do micro photography. Since I upraded to OS x 10.75 the utility crashes before it loads.  Has anyone resolved he issue?

  • Help render the raw files edited with camera raw how?

    Hi i have a problem i use  bridge cs5 (updated) to browse my raw files often i open my raw files with camera raw inside bridge cs5 and make some corrections like exposure , saturation , contrast and so on but after bridge doesn't re-render the files

  • Currency Symbol display based on user locale

    Hello All I want to set the currency symbol in presentation such that for US user the metrics are in $ symbol and for UK user the metrics are in pound symbol . Can anybody suggest me how to go for this setting Thanks