Using SWC's during development

Right now I am part of a team that is making a base framework
for a single Flex application. When the framework is complete, less
experience programmers will make the actual screens for the
application using the standard components and architecture we have
made. We want to encapsulate the framework into an .swc so that the
developers aren't tempted to modify the source or otherwise meddle
with the framework (that is our job). I have made an .swc and
registered it with a project just to see how this will go (all
using Flex Builder) but am extremely distraught to see that there
are no code hints for the classes contained in the .swc. I can
still access them and use them and compile a sample application
with them, but FlexBuilder doesn't acknowledge them the way it did
when it was just raw source code. I have read the docs and they are
heavily bent towards preaching RSL--but we do NOT want to use RSL.
What am I doing wrong? Surely there is a way to register the
.swc to be used in place of source code (.as and .mxml) in Flex
Builder, right?
Are there any tutorials that deal specifically with Flex
Builder?

quote:
Originally posted by:
JeffreyGong
Did you create your swc as a "Flex Library Project"?
Jeffrey
Hi, thanks for the reply.
Yes I created it using the "Flex Library Project"... I
couldn't see any other way to create the swc in FlexBuilder.
I then copied the .swc file to a template project and
implemented it via "Properties"->"Flex Build Path"-> "Library
Path" -> "Add SWC".
Since it is in the actual project folder, the path was
simply: "ApplicationFramework.swc".
I have only used SWC before with Flex 1.5 which was basically
the same as Flex 2.0 data services. I am not too savvy with the new
implementation (before I made .swc's in Flash IDE).
Currently, we are not using FDS, just the SDK and Flex
Builder. I can't help but suspect you are using the FDS? Would this
problem be the difference between using the "Basic" project and the
"Flex Data Services" project in Flex Builder?

Similar Messages

  • RoboHelp10 crashes during development after adding Captivate 7 swf

    I think I have found the cause of my RH10 crashes, but I am looking for confirmation before launching a 6 month development project.
    I am embedding CP7 SWFs in RH10 topics.
    ENVIRONMENT
    Win 7 64 bit
    Dell 2 core, 4GB RAM
    RH 10.0.1.292
    CP 7.0.1.237
    If I embed a CP7 demo as in CASE ONE below, RH crashes while I am working on the project. If I generate, the executable runs flawlessly. The crash is always during development. The exact action leading to the crash appears to be random. The crash occurs unpredictably after working on the project for 5-15 minutes.
    If I embed a CP7 demo as in CASE TWO below I have been able to write in RH all day w/o a crash.
    What is so evil about the first case?  I suspect an issue with the baggage files, but can’t imagine what.
    CASE ONE
    The files needed to play the SWF (.swf, .htm, .css and .js) are added as baggage files like this:
    The link to launch the video works like this:
    The generated project plays perfectly, like this:
    CASE TWO
    I clicked inside a topic then did:
    That gave me a topic like this:
    I didn’t put the topic above in the TOC. Instead I created a TOC topic that linked to it like this:
    The generated project plays the topic perfectly, like this:
    The questions before committing to months of development are:
    Did I find the cause of the crash?
    Is it safe to commit to major development using RH as in CASE TWO with the expectation that I will not have RH crashing every 10-15 min?
    Best,
    Ted

    Hi Ted
    Question here. For your case 1, is Captivate open still? Perhaps with that project loaded? I've seen it where things get really wonky if you work that way. It's as if Captivate still has some hooks in the project even after it has generated the output files.
    If that's what you are doing, you might try closing Captivate and see if the crashing stops.
    Additionally, it's worth noting that when Captivate creates the output files and you import them as Baggage into RoboHelp, the HTML file Captivate creates will have different coding than you will see if you simply insert a Captivate SWF into a topic.
    Apologies in advance if you already knew any of this, but here is my own criteria for co-mingling Captivate with RoboHelp.
    If I have a RoboHelp topic that has other information inside and I want that Captivate demo to be viewed right from inside the topic, I'll just insert the SWF. But if that Captivate demo is so large that it really warrants full screen viewing, I'll likely import the files as Baggage and establish a link that points to the Captivate HTML page to open things up.
    Not sure if I've managed to actually help here. But hopefully I've done no harm.
    Cheers... Rick

  • Windows 8.1 apps downloaded during developer preview install in Chinese on RTM (MS requsted I post this here for script to fix this)

    Hello
    Ever since updating to the RTM version of Windows 8.1 on every PC I have updated and signed into using my Microsoft account whenever I try to install any 8.1 app I installed onto the developer preview version it will always install in Chinese which makes
    using the app impossible for me.
    This happens on all PCs I have updated/used including:
    Surface RT (Windows 8.1 RT)
    Surface 2 (Windows 8.1 RT)
    Dell OptiPlex 990 (Windows 8.1 Pro)
    Dell OptiPlex 790 (Windows 8.1 Pro)
    Sony Tap 20" (Windows 8.1 Pro)
    The language settings of the Microsoft store and all the computers are all set to UK English and as soon as I do a fresh install of the UK version of Windows 8.1 and sign into my Microsoft account then certain apps will always install in Chinese (when in
    the store it says you already own this app and can install it on this PC - when I do it is in Chinese. When the app has not been installed before or was not installed when I had the developer preview then it will install in English).
    This has been driving me mad for months and I previously posted this question back in October in the Office 2013 forums as I first noticed the issue with the OneNote app but it was never resolved:
    http://social.technet.microsoft.com/Forums/office/en-US/448670ae-4494-4a55-8cee-d9f1c9873db7/onenote-windows-81-app-changed-to-chinese-and-cannot-work-out-how-to-change-to-english?forum=officeitpro#448670ae-4494-4a55-8cee-d9f1c9873db7
    I then posted it a few days ago here:
    http://answers.microsoft.com/en-us/windows/forum/windows8_1-windows_store/windows-81-apps-downloaded-during-developer/5dcd0df7-edfe-420e-8737-6a48922969e1
    I have now been asked by a Microsoft Support engineer to post the question here as they said a script can be provided which I can use to fix this.
    I think I just need to clear the fact that I have previously installed these apps as maybe some bug in the developer preview set them to Chinese and it seems to remember this setting. I cannot understand any Chinese so this makes these apps unusable.
    The only other option I can think of is to create a new Microsoft account but I would rather not have to do this.
    Some of the apps affected include the OneNote app and the HP scanner app. I have uninstalled most others and found alternatives.
    Thanks
    Robin
    Robin Wilson

    Hello jrv
    I managed to run the script but cannot really see how it is any different to uninstalling the apps in the normal way except for the fact that you can uninstall multiple apps at once.
    This exact same problem happens on a surface 1, a surface 2 and multiple machines running either Pro or Enterprise. It is not one machine but every machine running 8.1.
    I have not upgraded from the Developer Preview version on any of my machines and always do a fresh install but what I am saying is that I did use the same Microsoft account during that time and it seems to have some record of the apps I installed at that
    time and thinks I want them installed now in Chinese.
    The only thing in common on the 7 machines I have tried (including the 2 surfaces) is that I have joined them to my Microsoft account and the problem seems to be with the Microsoft account and not with all the machines.
    To replicate this I can go to any Windows 8.1 machine and join it to my Microsoft account and this will put certain apps from the store into Chinese and I can find no way to stop this. I am pretty confident that the issue is with the Microsoft account or
    a setting that is synchronising from there.
    The workaround is to sign into a different Microsoft account and this installs them correctly on the same machine.
    I would appreciate any help with clearing out my history of installed apps without having to create a new Microsoft account.
    Thanks
    Robin
    Robin Wilson

  • Printing dunning notices using SMARTFORMS,error during parameter transfer

    Hi Friends,
                    I face a error message "Include text ZGA_DUN_HDR does not exist (object TEXT, ID ST)" when i run the dunning run.
                    I had searched every node for text ZGA_DUN_HDR in the smartform,I didnt find the text in it.
    However when I execute the smart form for print preview an error message "Printing dunning notices using SMARTFORMS,error during parameter transfer".This error i believe is due to wrong parameter passing in the fm 'GET_SF_DUNN_DATA'.It raises an error no_parameters_found.All parameters are passed correctly.
                    Can you guys help me out.
    Edited by: RAJIV KAUSHAL on Nov 14, 2008 6:03 PM

    you can create this text ZGA_DUN_HDR  in SO10 tcode and try ...

  • ABAP code which will use function module during field mapping in LSMW

    Hi,
    During field mapping in LSMW, for one of the field called field, I want to use a function module 'QF05_RANDOM_INTEGER', which will generate random numbers and map that random number to that field.
    How do I write ABAP code which uses function module, during filed mapping for a particluar field in LSMW ?
    Please help...
    Regards,
    Tushar.

    Hi Tushar,
    You can write in FORM ROUTINE and LSMW.
    I hope you know how to write ABAP code at field level.
    If not ...
    Come to change mode->select the field->Rule->ABAP Code
    write a perform statement in ABAP code at field level.
    <b>PERFORM test</b> using val
                 changing valu.
    Go to Utilities(at menu)->switch layout-> extras ->select Layout->check Form routine-> it will display a FORM Routine... at bottom
    this is the place where you can write some code for
    <b> FORM test</b> using value
              changing value1
      FM call....
    .ENDFORM  
    Get the value1 returned and use for the Field population.
    Reward points if this Helps.
    Manish
    Message was edited by:
            Manish Kumar

  • Can I use Visual Studio to develop Sharepoint Online workflows on existing site lists?

    I've been using Sharepoint Designer to develop workflows in Sharepoint 2013 on Office 365, but hitting limitations. I would like, for example, to be able to trigger a workflow when a list item is deleted.
    Perhaps naively I thought Visual Studio should be able to help. I've read of useful things like Remote Event Receivers - sounds exactly what I need. I've used VS before for Windows desktop applications in VB, so downloaded a trial version of VS 2013.
    Now I'm having doubts. It looks like I can create a Sharepoint App on a development site and create lists and workflows within it, but I can't access my existing lists to do anything more sophisticated than I already can in SPD. Is that right?
    I was expecting to be able to enter my Sharepoint site URL into Visual Studio somewhere, just like in SPD, and do wonderful things with my lists - but unless I'm missing something, that's not possible.
    Have I just got it completely wrong??!

    Hi,
    yes you can check those links
    http://blogs.msdn.com/b/bharatgupta/archive/2013/04/27/sharepoint-2013-app-workflow-with-custom-task-outcomes-in-o365.aspx
    https://msdn.microsoft.com/en-us/library/office/jj164126.aspx
    http://www.andrewconnell.com/blog/sharepoint-online-integrated-workflow-apps-workflows-as-apps-in-the-hostweb
    https://msdn.microsoft.com/en-US/library/jj220043.aspx
    Kind Regards,
    John Naguib
    Senior Consultant
    John Naguib Blog
    John Naguib Twitter
    Please remember to mark this as answered if it helped you

  • Am going on a trip for 1 month and am not going to use my iphone during this period so should i charge it full and turn it off or keep it on till the bettery dies or what ,,,pls help???

    Am going on a trip for 1 month and am not going to use my iphone during this period so should i charge it full and turn it off or keep it on till the bettery dies or what ,,,pls help???

    Discharge it to around 50-60% then completely shut it off. Store at around room temperature. When you return connect the charger and let the battery fully charge.

  • Query about use activex control in Developer form

    I'm an oracle developer and My name is milton datta.I cant' use activex control in forms.Pls. anybody would help me how to use activex control in developer forms.If possible provide me with some examples.
    my email address is [email protected]

    Download the Oracle Forms demos and you'll see a sample.
    Also read the documentation for Oracle Forms 6i the developer guide has a section about Active/X.
    Just remember that they will not work once you take your Forms to the Web. So think twice before you use them.

  • How to hide system tables when using the Oracle SQL Developer?

    Hi,
    I would like to know how can I show only the tables that I created under the Tables tree? I didnt find a way to create a separate database using the Oracle Sql Developer. I see all the tables together, and would like to differentiate between different databases.
    Can anyone explain to me how to do these things?
    Thanks,

    Hi,
    I would like to know how can I show only the tables that I created under the Tables tree? Your posting is not clear,again tell something more on tables tree,what u want to achieve with it.
    How to hide system tables when using the Oracle SQL Developer? if u connected with sys, system or user with dba role then u have a privilege to see these tables,so revoke the privilege/role from ur user to view this tables if ur connected other then sys,system,
    I didnt find a way to create a separate database using the Oracle Sql Developer. DBCA is a tool for creating the new database.
    Kuljeet

  • Using hierarchical tree in developer 10g

    Hi all
    how can we use hierarchical tree in developer 10g any white paper will be helpfull
    thanks

    Hello
    <p>Here is a first sample<br>You could probably find others on this forum or by Googling<p>
    Francois

  • Use Flash Builder to Develop Adobe AIR Apps for Android | Flash Platform in Action | Adobe TV

    Former Adobe Technical Evangelist Ted Patrick uses Flash Builder to develop and deploy an Adobe AIR application to his Android-powered smartphone.
    http://adobe.ly/wif9U5

    autoplay can cause a tremendous amount of problems for site visitors. is it possible that adobe might turn off autoplay?

  • Submit data using Jquery/Javascript during button click

    submit data using Jquery/Javascript during button click

    Hi,
    From your description, my understanding is that you want to restrict edit form with jQuery/JS.
    If you want to restrict the default edit form with jQuery/JS, you could refer to these steps below:
    Enter your editform.aspx.
    Add below code under <asp:Content ContentPlaceHolderId="PlaceHolderMain" runat="server">.
    Save this file.
    <script src="https://code.jquery.com/jquery-1.11.1.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    function PreSaveAction(){
    if($("select[id$='DropDownChoice']").val()==""){
    alert("please choose a value!");
    return false;
    return true;
    </script>
    The screenshot below is my result(it will not save data after clicking OK in the message alert):
    If you customize your list with InfoPath, you could check the checkbox “Cannot be blank” under Validation section or add a rule for your validation as the screenshot below:
    In addition, you could check your code with pressing F12 to debug your code.
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Want to export database not user. i am using oracle 8i and developer 6i.

    i am using oracle 8i and developer 6i. i have created a button(when_button_pressed) on d2k with this command mentioned below. it is working only for user objects but i need to export database. how can i do this?
    declare
         com varchar2(100);
    begin
    host('exp tAJCO/tAJCO@tajco file=D:\dump\tajco.dmp');
    if
         not form_success then
         message('Export failed.');
    else
         message('Export successful');
    end if;
    end;
    please help me.....
    thanks
    mostafiz

    mostafiz,
    To Export entirel database, use the statement
         Host('EXP tAJCO/tAJCO@tajco FILE=D:\dump\tajco.dmp FULL=YES DIRECT=Y',NO_SCREEN);
    Regards,
    Manu.

  • Using XCode for Cross Developing (Target would be Linux x86)

    I'm developing RealTime Software - running as RT-Kernel modules - written in C for Linux x86 (RTlinux on Kernel Version >2.4.32 or RTAI on Kernel Version 2.6.x).
    At the moment I develop using ssh and vi on the target machine. This is NOT very comfortable.
    After searching your forum I found:
    http://discussions.apple.com/thread.jspa?messageID=2322911&#2322911
    Fine Links to the XCode Documentation. But reading it I just found how to cross develop to MacOS X targets (x86 and PPC).
    Can you please tell me, if it is possible to use XCode for cross development with target machines using Linux on x86?
    Thank you
    Johann

    In theory, yes. In practice, no. You would need a version of GCC that supports targeting that architecture and all the header and library files for that architecture. It is highly unlikely to be worth the time and effort to try it and it may not even work even if you do everything right. Plus, you would still have to run and test on the target platform.
    You'll just have to make life the best that you can on Linux. I suggest downloading the NEdit editor for X Windows. It is as good as any Mac editor and very easy to script for automation.

  • Can you use ABAP for B1 Development

    Hi
    I have been lookng for answer for the following 2 questons.
    1.  Is is it possible to use ABAP for B1 Development to create Add-ons.
    2. In the standard forms/reports there is no figure to words conversion. Please high light on how to do this.
    Ramesh Shankaran

    Short answer: no you cannot.
    Longer answer: B1 gives you access to its objects and GUI
    with COM-based libraries. Any language that supports COM
    can be used, included VB, VB.NET, C#, C and C++. A wrapper
    for Java is also provided to access B1 objects.

Maybe you are looking for

  • ThePrevious button, a choice, and a Next button in the tabel dont work

    The Previous button, a choice, and a Next button in the tabel select one dont work i dont know why , they were working properly in thw early access9 with the HR employees tabel but in the newest versions it dosent work and i dont know why.

  • Report painter report in portal - Excel output in SAP GUI for HTML

    Dear sirs, I need your expertize. I would like to let my users display (Excel in place)/ save the result of my report painter reports into MS Excel. I have found notes 499262 a 314568, but didn´t understand the message (or there is no message:)). Doe

  • Submit a form in a region

    Hi, I've got a struts based portlet in a web provider with a jsp building an html form. I do need to submit this form inside the region with the portlet, not in the whole window. I've put the line < inlineRendering >true< /inlineRendering > (without

  • Error: "The feed has no episodes" when submitting podcast

    I keep getting the error " The feed has no episodes" when I try to submit my podcast. I know the xml is properly formatted because I'm not getting any errors when viewing it in a browser. I assume I must be missing some tag that is required my iTunes

  • I want to know the LCD's S/N? Please help :(

    I know my iPad's part number and serial number. but i want to learn the LCD's S/N. how can i do that?