Using Flash to generate code

Hi i am interested in using adobe flash to generate a code
out of the infomation a user inputs generally the idea is this 1.
User inputs infomation such as age etc 2. a code gets generated 3.
this code links in with the infomation that is given and i can now
type this into flash and the infomation would come up. Can anyone
please tell me is flash able to do this and if so how would i go
about doing it, if not what other ways would there be able to
create something like this
Thank you very much
Liam

You can do this in Flash. A question is do you want all the
logic embedded in the Flash movie including the code generation or
do you want to use server side scripts and any server side data?

Similar Messages

  • How to use wscompile to generate code using a WSDL file?

    I am working with JAX-RPC of Java Web Service ver: 1.1. I am intrested in making the WSDL file first and generating Java code from the WSDL file. On the following link:
    http://java.sun.com/webservices/docs/1.1/tutorial/doc/JAXRPC6.html#wp80094
    it says that wscompile can generate code using a WSDL file..:
    <quote>
    Table 11-3 wscompile Options
    -import : read a WSDL file, generate the service's RMI interface and a template of the class that implements the interface
    </quote>
    and the wscompile software says this:
    <quote>
    C:\>wscompile
    -import : generate interfaces and value types only
    </quote>
    can anyone tell me how to generated Java code from a WSDL file. As in, make the WSDL file (e.g. using XMLSpy) and then use that WSDL generate Java code.
    Thanks

    I'm trying to generate code using wscompile under the struction in JAXRPC_Tutorial.pdf.
    I issued the following command:
    wscompile.sh -keep -gen:client -f:wsi -verbose config.xml
    But I met with the following warning and I cann't find the produced java code, who know why? Thanks in advance!
    warning: ignoring SOAP port "EmployeeDBPort": unrecognized transport
    warning: Service "EmployeeDatabase" does not contain any usable ports
    the config.xml file is:
    <?xml version="1.0" encoding="UTF-8"?>
    <configuration
    xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
    <wsdl name="EmployeeDBService"
    location="EmployeeDB.wsdl"
    packageName="com.sun.xml.rpc.xml.EmployeeDB">
    </wsdl>
    </configuration>

  • SPMetal generate code: EntityList Item not EntityList Currency in data context class?

    I create and deploy custom list by visual studio 2010. I have 3 file: Instance, element and schema. Then I used SPMetal to generate code.
    [Microsoft.SharePoint.Linq.ListAttribute(Name="Currency")]
    public Microsoft.SharePoint.Linq.EntityList<Item> Currency
     get {
     return this.GetList<Item>("Currency");
    If I create custom list(Currency) by sharepoint, SPMetal will generate code below. What should I edit in my xml file(instance, element, schema) so that SPMetal gen to:
    [Microsoft.SharePoint.Linq.ListAttribute(Name="Currency")]
    public Microsoft.SharePoint.Linq.EntityList<Currency> Currency
     get {
     return this.GetList<Currency>("Currency");

    Hi,
    Tested in VS 2012.
    You should change Schema.xml.
    Name="ListFieldsContentType"
    to
     Name="$Resources:core,Item;"  Group="$Resources:core,List_Content_Types;" Description="$Resources:core,ItemCTDesc;" Version="1"
    Remove sections:
    ContentTypeRef
    and finally add <Folder TargetName="Item"/> in ContentType section.
    Before:
    <ContentTypes>
    <ContentType ID="0x0100cd1d8f732d3947f0b1bada45cb76c152" Name="ListFieldsContentType">
    <FieldRefs>
    <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Name="Title" />
    <FieldRef ID="{0a87b432-0638-4428-9df9-fd68ba6f8efb}" Name="Name" />
    </FieldRefs>
    </ContentType>
    <ContentTypeRef ID="0x01">
    <Folder TargetName="Item" />
    </ContentTypeRef>
    <ContentTypeRef ID="0x0120" />
    </ContentTypes>
    After:
    <ContentTypes>
    <ContentType ID="0x0100cd1d8f732d3947f0b1bada45cb76c152" Name="$Resources:core,Item;" Group="$Resources:core,List_Content_Types;" Description="$Resources:core,ItemCTDesc;" Version="1">
    <FieldRefs>
    <FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Name="Title" />
    <FieldRef ID="{0a87b432-0638-4428-9df9-fd68ba6f8efb}" Name="Name" />
    </FieldRefs>
    <Folder TargetName="Item"/>
    </ContentType>
    </ContentTypes>
    Regards
    Adam

  • Using a swf generated by Flex from a Flash component

    I know you can include and control a swf generated by Flash
    within a Flex component. But can you do the inverse? Can you use a
    swf generated by Flex within a Flash project/component?
    We plan to develop a "core" module that would be used in a
    lot of other Flash and Flex components we'll develop in the future.
    This core would be a package of classes that could be easily
    re-used by the components. There would be nothing visual in it,
    only standard classes.
    Even if this core would not contain any visual components, we
    would like to develop it using Flex since we prefere Flex Builder
    to the Flash editor to code and debug.
    But I'm not sure if:
    1) A core module like this, developped in Flex, could be used
    by our Flash components or only by other Flex components?
    2) If we use Flex to generated this core, will the resulting
    .swf be bigger than if we would have used Flash to develop it?
    Since there will be no Flex visual components in it, maybe it will
    be as small? Is there a compiler parameter to tell Flex to only
    include the minimum things possible in the generated .swf?
    Any help or link about this would be really appreciated!
    Thanks you in advance!
    P.S. I apologize to those aware that this message was also
    posted on another Flex related forum, but I received no reply on
    it!

    try this. for me it has worked.
    import flash.net.URLRequest;
    import flash.utils.Timer;
    var loader:Loader = new Loader();
    var timer:Timer;
    var myclip:MovieClip;
    //load the Flex Component
    loader.load(new URLRequest("IS.swf"));
    loader.contentLoaderInfo.addEventListener(Event.COMPLETE,
    loaderDone);
    addChild(loader);
    function loaderDone(e:Event) {
    timer = new Timer(100);
    timer.addEventListener(TimerEvent.TIMER, handleTimer)
    timer.start();
    function handleTimer(event:TimerEvent):void {
    //cast the loader.content into MovieClip to access
    currentFrame.
    myclip = loader.content as MovieClip;
    if (myclip.currentFrame == 2)
    however, i need to access properties of IS.mxml..
    any data member would work..
    or if i could dispatch an event in IS.mxml and catch it in
    flash through IS.swf, it would work.
    Pls somebody suggest.

  • How to use generated code from "Import Web Services" with Cairngorm Framework

    I recently downloaded Flex Builder 3 beta 2 and tried out the
    wizard that lets you import web services. The code that is
    auto-generated makes if fairly straight forward to consume web
    services using the object types defined in the WSDL. No longer does
    the developer need to decode the XML payload! The only problem I am
    having is how does you integrate the auto- generated code with the
    Cairngorm framework? This seems like a huge question for anyone who
    might want to leverage Cairngorm and the auto-generated proxy code
    in the same project (like me).
    Here are the problems that I see so far.
    1) How do you configure the generated service class to work
    with the Cairngorm service locator? The service constructor only
    accepts a “LCDS destination string” which implies that
    you must use Lifecycle data services. Unfortunately, the project I
    am trying to retrofit currently uses a WebService and does not use
    data services. All I really need to do is change the endpoint URL
    (ie from local to a development server). This issue is noted in the
    bug https://bugs.adobe.com/jira/browse/FB-8456. What I think is
    needed is a way to set the endpointURI in the Services.mxml file.
    2) Even if I come up with a hack around #1, I do not receive
    a callback to my IResponder even though I register it immediately
    after the method call. I can register and listener function within
    my business delegate and receive the callback, but my Command
    object, which implements IResponder, does not receive the call back
    even though it is registered. From what I read in the ASDocs it
    should but it doesn’t for me!
    These are the issues I have observed in 3 hours of messing
    with this. I hope this makes sense. I would love to integrate
    auto-generated web service proxies into Cairngorm but I don’t
    see a straight forward way without re-architecting Cairngorm. Has
    any one else run across this issue? If so, do you have any insights
    on how to proceed? Any help is appreciated.

    Since I posted this question, I have abandoned the notion of
    auto-generated web services and embraced the good old FDS concept
    where the RemoteObject meta-tag does all the conversion work for
    me. We are now using the Granite DS package and it is working well
    for us. I would love to consume web services, but it just isn't
    worth the hassle when all you have to do with Granite (and FDS) is
    cast your return objects to the proper object type.
    BTW, since this posting, I have investigated competing Flex
    app frameworks. After my research, I checked out the PureMVC
    framework. Wow!! Cairngorm always left me with an uneasy feeling
    and I guess I am not alone. Apparently, Cliff Hall felt the same
    way. That is why he started the project. I like his approach alot
    more than Cairngorm especially since it includes notifications
    which allow me to broadcast my own app level events independent
    from the AS Event framework. Check out PureMVC. For what it is
    worth, it has my humble endorsement. Cliff was even gracious enough
    to acknowledge the other Adobe Consulting guys for their work. Good
    for you Cliff, I respect that. Check out a better way at
    http://www.puremvc.org/

  • Is Extension Builder 2.1 using Flash compatible with Photoshop CC also in the future? (There are speculations, that it will be switched off, what will destroy my investment in that code)

    I have codes a lot of stuff using Extension Builder 2.1 using Flash technology to be compatible with Photoshop CS6 and Photoshop CC.
    There are speculations, that the support for this would be removed in Photoshop CC. This would destroy my investment in this code and my customers would not be able to use my products anymore, when they are using Photoshop CC.
    Is there any workaround planed for customers using Photoshop CC to be able to run extension build with Extension Builder 2.1 and Flashbuilder 2.6 also in the future?

    Can you supply a link?

  • Copying Graphs and Pie Charts generated in Analysis View to Email item using Excel VBA Macro Code

    Hi
    I am currently working on an exce VBA macro code that would help me take snapshots of the Graphs and Pie charts generated in QC for a particular application and copy the same to an email item using excel VBA macro code.
    I was able to write the code to create an email item. But I have no clue of how i can take snapshot of the graphs in Analysis View using excel VBA
    Any help would be highly appreciated.
    Thanks in Advance
    Regards
    Amit

    useramit,
    You are in the consumer end products forum.  You will also want to ask your question over at the Enterprise Business Community.
    Click the plus sign (+) next to Discussion Boards to drop down all the options for servers, networking and any other professionally related problems.
    http://h30499.www3.hp.com/

  • I am trying to use generate code in signal express to import into labview.

    I get this error when i try to generate code in signal express to export to labview . I have tries the error suggestions but I am still having problems. any help would be appreciated
    The version of LabVIEW you are generating code into does not contain all the necessary SignalExpress support files. Make sure you launch the version of LabVIEW with SignalExpress support installed before generating code from SignalExpress. If you want to generate code into more than one version of LabVIEW, uninstall SignalExpress and all versions of LabVIEW except the earliest.  Install SignalExpress, then install any other versions of LabVIEW.  Copy the files from the vi.lib\express\SignalExpress directory of the earliest installed version of LabVIEW into the same sub-directory location of any other version of LabVIEW in which you want to include support for code generation.

    Typically, this problem is repaired by following the directions on the error message. Since it was not, can you please give us more information so we can start determining the cause?
    What version or versions of LabVIEW do you have installed? What version or versions of SignalExpress do you have installed? Could you post a file with a listing of the files in <vi.lib>\express\SignalExpress for the version of LabVIEW you are trying to use. You can either post a screenshot (in PNG or GIF format) of the directory dialog or use the command prompt to generate a list to a file (preferred). To generate a list with the command prompt, do the following:
    Launch the command prompt from the start menu — Start»Programs»Accessories»Command Prompt
    Navigate to the drive you have LabVIEW installed on ( usually C: ) — C:
    Change directory to the appropriate LabVIEW directory — cd "\Program Files\National Instruments\LabVIEW 8.2\vi.lib\express\SignalExpress". Change the LabVIEW version to the one you actually are using. Do a directory listing and redirect the output to a file — dir > filename.txt. You can use any full path for the filename.txt. If you specify a simple name, it will end up in the current directory.
    Please post your project. Verify that you are using the version of LabVIEW you think you are by launching it before you start code generation.
    Thanks for your patience.
    Message Edited by DFGray on 08-28-2008 08:23 AM
    Message Edited by DFGray on 08-28-2008 08:24 AM
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • Quote Generator Using Flash 8

    I am trying to build a Quote generator. The idea is that when
    consumers change their selection (from a check box or a Combo Box)
    the text in a Text field or Dynamic text box would change to
    reflect the updated price of the Job.
    I.E. SHIRTS Long sleeve=$10 Short Sleeve=$5 PANTS Jeans=$7
    Shorts=$3 If Shirts is set as Long sleeve and Pants are set as
    Jeans the Result box shows $17. If the Consumer selects Shorts
    instead of Jeans it automatically show $13 in the Result box.
    I am able to do addition with component values through action
    script and have them reflected in a Dynamic Text box, However when
    the selection in a combo box changes (thus their value should
    change) the content of the Dynamic Text box does not update. It
    always shows the initial sum of the values of the added component
    boxes.
    I have also come at this through component binding and
    schema. I can get the values of Combo boxes to be reflected in Text
    fields, and when the selection of the combo box changes the value
    shown in the Text field updates automatically. However I have not
    found a way to get the text field to show the SUM of two different
    component boxes. When I link two component boxes to the same text
    field the value shown in that text field is the value of whatever
    the most recently used combo box value is. (It over writes rather
    than adding).
    If any one could help me get this Quote engine working,
    through action script, or Bindings or Schemas, or a combination of
    both I would really appreciate it. If anyone could direct me to
    where I could find information on what I am trying to do I would
    really appreciate it.
    Action Script Version: Action Script 2
    Product version: Flash Professional 8
    Product: Flash
    Version: Professional 8
    Platform information: Mac
    Hardware: G4
    OS Version: Tiger
    RAM: 2G

    Eilmer,
    > Are you saying that I can have both Flash 8 and Flash
    CS3
    > installed, and then use the one I want?
    If you have a user license for both applications, then yes.
    > I was thinking I'd just use Flash 8 until this project
    was
    > over, and then replace it with Flash CS3.
    Either way would work. But again, make sure you're licensed
    to use both
    applications. If you paid the upgrade price, for example,
    then you might be
    obliged by the EULA to uninstall Flash 8. From a technical
    standpoint, you
    can install more than one version of the Flash IDE. From a
    licensing
    standpoint, your best bet is to give Adobe a quick phone
    call.
    David
    [email protected]

  • HowTo: Use package structure in generated code?

    Hi,
    I'm trying to find out if JCS is meeting my requirements for JSF development. So far it is pretty good, although the lack of support for new components is defeating the purpose of JSF for a great deal.
    One of the most terrible things I encountered so far is the fact that I've been unable to get JCS to create a package structure to contain the generated code. In other words, I want JSC to generate the code in "src/com.foo.bar.my.application" instead of just the root of "src/" (where src/ means the source-folder of my project).
    This is a real drawback.
    Maybe I'm wrong, but in that case it's a plain bug because I can't get it to work.
    Iwan

    Admitedly, Creator does not yet offer much flexibility in terms of user-defined package structure. I know you won't like this, but here's a workaround/hack that almost gets to where you want to be.
    First of all, the binding between jsp file and backing bean is defined by the relative positioning between the two files. A JSP file at the top level folder maps to a backing bean just under the assigned java package name (something like webapplicationxx). If you create a directory structure for your JSPs and create pages in them, Creator will create a corresponding package hierarchy for the backing beans.
    So, one way to contrive a java package structure such as com.foo.bar is as follows (best to start with a new project):
    1. Under the Web Pages folder, create a subfolder hierarchy "foo/bar".
    3. Under the Java Sources folder, rename the top level package to 'com'.
    4. You may now create Web pages in the foo/bar subfolder. You'll probably want to cut & paste the Resources directory into the foo/bar folder if you want to use stylesheets, etc. As the pages are created, notice that a com/foo/bar package structure is created under the Java Sources node where the backing beans are maintained.
    One final note, due to a bug in Creator, renaming the package in step 3 does not properly update references to the old pacakge in SessionBean1.java. These will have to be manually changed in the editor. Also note that the ApplicationBean1 and SessionBean1 files must remain at under to top-level package.
    We acknowledge this deficiency in Creator and are working to fix it in the next release.

  • Is there any way to use flash without all the bloated code?

    I  want to put a flash player on my site, however with dreamweaver the  "insert movie" option puts a ton code in my markup to the point where i  cant even tell what im looking at. Is there any way to use flash without  all the bloat?

    Yes and no.  Some bloat as you call it is necessary to support all browsers.  That said, this on-line tool takes your Flash code and converts it to valid XHTML Strict standards.  In the process, the code is minimized a bit.  Be sure to test in an XHTML Strict doc type page.
    http://www.validifier.com/
    Nancy O.
    Alt-Web Design & A
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Can we use flash lite 3.0 generated SWF in html as normal SWF?

    Hi all
    I would like to us the flash lite generated swf in a html page as normal flash file do.
    I would like to pass the flash vars to SWF(flash lite) and load the swf with the parameters
    is it necessary to have a flashlite 3 player in the mobile?
    any work around?
    thanks in advance.

    My problem is
    I have a html page which displays the list of videos when the user select the video from the mobile browser
    I need to load the SWF in the mobile with the selected video with options play and back
    as you said we cant pass FlashVars to SWF (not supported) is there any other option which full fill my requirement?
    thanks in advance.

  • How to video via email using flash media playback setup?

    How I can send video via email?  I send every week an email that contain a link to WMV file on our website.  I am trying to send the same thing using flash media player. Here the html generated via flash media playback setup and will not display in an email.  Any advise
    <object width="400" height="400"> <param name="movie" value="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf"></param><param name="flashvars" value="src=http%3A%2F%2Fwww.4GodIsLove.com%2F%2FTV%2FFlash%2FLydua_Fares_Elhaana.flv"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://fpdownload.adobe.com/strobe/FlashMediaPlayback.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true"  width="400" height="400" flashvars="src=http%3A%2F%2Fwww.4GodIsLove.com%2F%2FTV%2FFlash%2FLydua_Fares_Elhaana.flv"></embed></object>

    salma_salma wrote:
    Thanks Janaki but how can I add a new application? I tried to do it using Flash Media Administration Console but it doesn't work
    Hi Salma,
    To add an application to FMS follow the below steps
    1. Create a folder "my_app" under "$InstallRoot\applications" directory.
    2. For simple server side code... add "main.asc" file inside "$InstallRoot\applications\my_app" directory which has the content like
    application.onConnect = function(clientObj){
         trace('onConnect function");
         return true;
    3. To add streams to the application, creates 'streams' folder inside "$InstallRoot\applications\my_app" directory, within that create '_definst_' folder and then place your FMS supported streams within the directory. So your streams for the 'my_app' application will be at "$InstallRoot\applications\my_app\streams\_definst_\mystream.flv".
    You can connect to this application using the url "rtmp://your_server_name/my_app". To play the stream mystream.flv using video player, use the url "rtmp://your_server_name/my_app/mystream.flv".
    Regards,
    Janaki L

  • Need help with flashvars in cs5.5 html generated code

    how could use flashvars in cs5.5 html generated code, there are tutorial in net about flashvars but its all cs4 with javascript in it while cs5.5 html code doesn't have. here is the code for non-IE generated by cs5.5
    <!--[if !IE]>-->
    <object type="application/x-shockwave-flash" data="sample.swf" width="800" height="800">
    <param name="movie" value="sample.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#000000" />
    <param name="play" value="true" />
    <param name="loop" value="true" />
    <param name="wmode" value="window" />
    <param name="scale" value="showall" />
    <param name="menu" value="true" />
    <param name="devicefont" value="false" />
    <param name="salign" value="" />
    <param name="allowScriptAccess" value="sameDomain" />
    <!--<![endif]-->
    <a href="http://www.adobe.com/go/getflash">
    <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
    </a>
    <!--[if !IE]>-->
    how can I put flashvars in html and as3?

    <!--[if !IE]>-->
    <object type="application/x-shockwave-flash" data="sample.swf" width="800" height="800">
    <param name="movie" value="sample.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#000000" />
    <param name="play" value="true" />
    <param name="loop" value="true" />
    <param name="wmode" value="window" />
    <param name="scale" value="showall" />
    <param name="menu" value="true" />
    <param name="devicefont" value="false" />
    <param name="salign" value="" />
    <PARAM NAME=FlashVars VALUE="imageFilename=images%2Fimage1%2Ejpg">
    <param name="allowScriptAccess" value="sameDomain" />
    <!--<![endif]-->
    <a href="http://www.adobe.com/go/getflash">
    <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.g if" alt="Get Adobe Flash player" />
    </a>
    <!--[if !IE]>-->
    and you can read via flash AS3:
    http://www.permadi.com/tutorial/flashVars/indexAs3.html

  • Graphics using graphic API are drawn below the loaded content created using Flash authoring tool

    Here is my problem.
    I am developing a Analog Dial component. Here , I am
    extending UIComponent and loading a swf file generated using Flash
    CS3 authoring tool ( the swf basically has the circle and needle)
    and adding the loaded content as child of Dial class.
    Next I use Graphics API to draw the major and minor ticks on
    the dial.
    As mentioned in the curveTo method of flash.display.Graphics
    class documentation (
    http://livedocs.adobe.com/flex/201/langref/index.html),
    if you are using graphics api and also loading content created
    using the flash authoring environment the vector graphics will be
    drawn underneath the loaded content.
    Well , Is there any way to make the graphics appear on top of
    the loaded contents?

    It appears that this may be accomplished more easily if I do something similar to the StrobeMediaPlayback implementation. Looking at the StrobeMediaPlayback source code it looks like Adobe has done something a little different than their ControlBarPlugin, placing the controlbar and root media element inside separate MediaContainers and then adding those containers to the display list. Is this recommended over using the frameworks ParallelElements? If so, is communication between the control bar and root media element still a matter of just updating the target reference via metadata?

Maybe you are looking for

  • Missing Parameter Values in autoprinting

    I am not sure if this question was posted and answered already, so here goes... I created an equivalent of the Outgoing Payment PLD using Crystal Reports. There are quite a number of fields our users require to be printed out so we opted to have it v

  • Problems with Optimize Window Matte Color Picker

    Every time I try to open the Optimize Window's Matte Color Picker when the palette is docked to the right side of the screen, the color picker opens off screen so that I can't see it. I have to move the palette to the center on my monitor to see the

  • Do iMac (Intel) play blu-ray discs?

    before I back-up stuff from my DVD recorder onto blu-ray discs, will they play on my new iMac (Intel) ? Also, given the comparative lack of availability of blank blu-ray discs, does this mean people are favouring other means to back up material they

  • Use of PS-Module: Cost object discussion

    Hello, i have a question regarding the use of PS-Module. I would like to know if in your company you experienced any problem (in controlling or somewhere else) when posting to a variety of different cost objects. For example: wbs-element, sales order

  • SQLPlus COPY error: ORA-03114: not connected to ORACLE

    This is what I'm trying to do: I'm logged into an Oracle 8.1.6 database on a Windows 2000 Professional box and trying to copy data and tables from an Oracle 7.3.4 database on an HP/UX box. I log into my 8.1.6 SQLPlus as: scott/tiger@testdb Then I run