Problems using 'FDT Font Library' generated .swc in FlashBuilder4 - actionscript-3

I'm working on a AS3/AIR based project, I'm using FDT5 as main tool, but in order to work properly with the other members of my team I need to deploy the AIR in FlashBuilder4.
I used the powerfull FDTFontLibrary tool provided with FDT5 to collect the fonts I need in a swc file. Everything works fine, unless I get back to FlashBuilder where a lot of error like this showup: Description Resource Path Location Type
1044: Interface method addPreloadedRSL in namespace mx.core:IFlexModuleFactory not implemented by class _IndesitMI_mx_managers_SystemManager. IndesitMI line 23 Flex Problem
Does anyone have knowledge of limits of tricks that need to be done to have it working properly?
Thanks!

It's hard to say exactly what the issue is; however, it seems it's related to either the AIR runtime you're targeting and/or the SDK you're using. To fix this, make sure you're targeting the latest AIR (3.1+) and Flex SDK (4.6).
I also commented out the instantiation of the Font library.
I loaded your FB 4 project into FB 4.6 and it would not work at all (without the font library). I tried a few different things, such as creating a new description.xml, but it still would not compile. This is likely because of some settings in some of hidden the dot (.) files.
Instead I created a blank project in Flash Builder 4.6 and then loaded the font SWC you created via FDT. The font SWC works fine.
It seems to me that the issue is not the Font SWC or FDT, but rather related to the AIR or Flex SDK you're using, or the instantiation of the font library.
See it working in Flash Builder 4.6 below:

Related

how to drag and drop css file in eclipse?

I'm new to elipse php. i have used dream viewer for my php development before moving to the eclipse. So, i need to know when i drag and drop the css file into html editor, it needs to auto genarate the <link> tag for that css file. It worked with dream viewer. But its not working with eclipse. And, also when i need to use css classes inside html tag it needs to type the css class name.But, instead that i need to know how to config that to all the css class as suggestion for html tags, like in dream viewer and netBeans.
The text DnD (Drag and Drop) feature (initially introduced by bug 11624 in 2007) has been slowly extended to various editors, as reported by the bug 231294:
Tested in EclipsePdt-2.2.0.v20100427
Verified fixed for:
PHP files
JS files
Still reproducible in:
CSS files
HTML files
XML files (source view)
So it is still "work in progress".
The relevant blocking issues are:
bug 178104: [DND] Need to revisit dnd API to allow multiple drop targets
bug 173405: Make use of IDragAndDropService (Show Votes)
bug 195655: Drag'n'drop selected text
First of all Eclipse is not an IDE, it's a platform you can build IDEs (or any other application). There are several implementations for different languages. Most popular one which is actually the origin of Eclipse is Java IDE. There is also a plugin/feature for PHP development, called PDT.
DreamViewer is a specialized WYSIWYG editor for web development (mostly around HTML/CSS/Javascript) that includes support for different web scripting languages. It has some special properties as you mentioned, that can create a link element when you DnD.
What you can do is request a new feature from PDT team, that creates a link element to the dropped file inside a HTML document.

How to change helloworld project to my own in cocos2dx for windows phone 8

I am creating a cocos2dx game and i want to give it my own name and image path (mygame.exe). How do i do that? if i go and just change the image path in .xml file it builds the project but doesnt launch it on my device
Not quite sure what you mean by "image path". I wouldn't suggest messing with the project file though for this matter. You can change the image icon and tile in the WMAppManifest.xml by simply browsing for the image you want. In fact you can also change the "display name" of the app there as well. But you can change the entire projects name by renaming the project in the solution explorer.
EDIT
Sorry, in my hastiness I overlooked the fact that you are using a cocos2dx template. If the problem is the project does not launch try deploying it manually. Also try renaming the game in the solution explorer then change it in the manifest.

Adobe AIR and PDF framework

Is there any way to handle PDF in Adobe AIR?
I don't want just to open it, I need to programmatically use it. Example: extracting pages, rotate pages, add gfx elements to a page, read annotations. I would need a complete framework to handle PDF in AIR.
Thanks
Try PurePDF, it is a port of the famous iText java and C# library
That's the closest you will get to be able to do in ActionScript what you describe above.
Cheers

Flash CS5 compiler options broken?

(Haven't received any love on Adobe forums, so trying this here)
So, I've formally logged a bug against this with Adobe as I've been beating my head against a wall trying to understand why this won't work, but I'm hoping that it's perhaps something within the Flash IDE that I'm setting incorrectly (or not setting at all) that is causing the issue that I'm encountering:
I've created a container .fla that uses classes that are defined in an externally loaded swc, child.swc. I've added the .swc in the container's library path (Publish Settings > AS 3.0 Settings > Library Path) and have set its "Link Type" as "Exernal". According to Adobe's docs:
"External: The code resources found in the path are not added to the
published SWF file, but the compiler verifies that they are in the
locations you specified."
However, when using FlashDevelop's swf browsing utility after publishing the fla (and having used a reference to the class in the container class), I see that the class definition is still being added to container.swf.
Now, if I use compc and mxmlc with the appropriate options (-link-report and -load-externs), I can exclude child classes as needed and all functions as expected. However, when setting what seems to be the same options in the Flash IDE, it does not provide the same output. Unfortunately, I have some use cases where the use of the Flash IDE is essential, so a workaround would be painful.
Is this a known issue, or is there something that I'm just doing wrong (or are my expectations incorrect) in the IDE?
Thanks in advance.
have you made sure, that these classes are not accidentally included in your source path?
Also, try setting the flex sdk in the Flash IDE (Settings > ActionScript > ActionScript 3.0 Settings). Then try again publishing, it will now use the flex compiler.

How do I intergrate a html document into the code

I am currently working on a new app and this is my first ever app I have attemped to make with the android os.
I am using eclipse 3.6 and using android 1.5 version as the base to make the app as compatible as I can with all android phones.
I am a newbie to java and I read a few tutorials which helped me get the app up and working but I am using webview using iframes and have the html document hosted online but I would like to have it intergrated into the app itself so that I will not have to worry if a lot of people use the app will not bring down the website.
But I also want it to be able to update all the data off the website when members want to check for updated information on the html document as I am using the html document to control the main gui.
please use PhoneGap, this will fulfil your requirements