Run the Flex application function in Flash swf

Hello

I have Flash Web site (embed) calls my flex swf built (some form of contact). When I click on the button "submit" in my Flex application, I need to perform a function that is written on the side of Flash. So I need access to Flash public service so a side event could be triggered.

Is this possible and how it's done.

Thnx in advance

Two options:

One is to use LocalConnection between two sovereign wealth funds.

Another is to use the external Interface of Flex to talk about javascript in the browser and then use javascript to describe the Flash swf file.

Tracy

Tags: Flex

Similar Questions

  • Flash call the flex application method

    In a flex application, I use the SWFLoader for loading a flash, the code:

    <? XML version = "1.0" encoding = "utf-8"? >
    "< mx:Application xmlns:mx ="http://www.adobe.com/2006/mxml"fontSize ="12">"
    < mx:Script >
    <! [CDATA]
    Import mx.controls.Alert;

    public function testResult (): void {}
    Alert.Show ("Hello World");
    }
    []] >
    < / mx:Script >
    < mx:SWFLoader id = 'flash' source="flash/test3.swf"/ >
    < / mx:Application >

    There is a button in the flash(flash/test3.swf) shipped,

    When I click on this button, how to call the method testResult to the flex application? Thank you!

    In your Action Script (flash/test3.swf) to make one:

    Import mx.core.Application;

    and then in your button:

    Kind regards

    SAM

  • Run the Air Application

    People,

    I'm new to Flex and decided to follow in the article of August EDGE "learn how to build your first application with Adobe Flex 3". I have a copy of Flex Builder 3 Professional (trial version not). The article comes to a point where it says to run the application. Be familiar with Eclipse, I guess that means that a click on the button to run. But nothing happens. I don't see any errors in the issues window pane so it should work fine? At some point I closed and he did it again and when you click on something he an indication, he was doing something, but she came back with a mistake on the Flash Player debug installed. (I remembered it recently, I installed Adobe Master Collection and thought that it may have replaced the version of debugger.) So, I went to Adobe and downloaded the debugger for my Mac to Intel processor and reinstalled. But when I click the icon run the Air application when main.mxml is selected, still nothing happens. I also noticed the clean option and ran that to rebuild things - but still no luck.

    Could someone please help to guide me in what I need to do to get my AIR application to compile and run in Flex Builder?

    Thanks in advance,
    Jack

    Check the config of .app file. Is set visible to true? What about width and height?

  • Problem running the sample Application after installation patch set 4.0.2.00.07

    We just applied the fix 4.0.2.00.07 on our environment to TEST APEX4.0.
    Now, I can not run the sample application. "When I run the application, log in using either the administrator or the user of demo with the #lower_case_workspace_name #", the browser generates the following error message:

    ORA-06550: line 2, column 8: PLS-00201: identifier 'CUSTOM_AUTH' must be declared ORA-06550: line 2, column 1: PL/SQL: statement ignored
    ERR-10460 error cannot perform the function of verification of the authentication credentials.

    The sample application works very well on our DEV APEX 4.0.0.00.46 environment * without * the patch set 4.0.2.00.07.

    Does anyone have an idea how to solve this problem
    Thank you

    Hello

    Ensure that the CUSTOM_AUTH & CUSTOM_HASH functions exist in the scheme of the analysis of the sample application.

    CITY

  • system is not able to run the Apple Application Support service

    I can't install itunes on windows 7 32 bit. Any suggestions on Apple Support do not work. The system is not able to run the Apple Application Support service. Any suggestiones?

    Can you post the error message you get when you try to install or launch iTunes?

    For general advice, see troubleshooting problems with iTunes for Windows updates.

    The steps described in the second case are a guide to remove everything related to iTunes and then rebuild what is often a good starting point, unless the symptoms indicate a more specific approach.

    Review the other boxes and other support documents list to the bottom of the page, in case one of them applies.

    The more information box has direct links with the current and recent if you have problems to download, must revert to an older version or want to try the version of iTunes for Windows (64-bit - for older video cards) as a workaround for problems with installation or operation, or compatibility with third-party software.

    Backups of your library and device should be affected by these measures but there are links to backup and recovery advice there.

    TT2

  • It turns out that - this Web page wants to run the following add-on: 'Adobe Flash Player' of "Adobe Systems Incorporated" what to do?

    It turns out that - this Web page wants to run the following add-on: 'Adobe Flash Player' of "Adobe Systems Incorporated".
    What to do? Thank you!

    It is not question of viruses and malware. Contact the Adobe.com Support for help. However, you can download Adobe Flash Player from here--> get.adobe.com/flashplayer

  • How to run the HTTPDemo application?

    I use JDE 4.7 and tries to run the HTTPDemo application in the samples.jdw, using the default Simulator 9530.  But I can't seem to access the https://www.blackberry.com/go/mobile/samplehttps.shtml.  What should I do to make this work?  I have to Setup Wap Options in the application?  appreciated your help

    PJ

    Heya,

    You must have the MDS Simulator running.

    For more information, go to the help in the Blackberry Simulator. Contains information on this right to the = high)

    ~ James

  • Error running the same application

    Hello
    I was able to run the same application in another machine in another place.

    But when I run the app even here now, by putting the following host name instead of the IP address (I used when I ran the same application in another place) in the connection string.

    String url = "jdbc:oracle:thin:@ibmpc_may:1521:xe";

    (I have no problem to connect to this DB XE by here)
    XE =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ibmpc_may) (PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = XE)
    )
    )

    But I had the problem below when you run the application itself.
    # Cannot run application app12 due to the deployment on IntegratedWebLogicServer error.
    [16: 09:42] # incomplete deployment. ####
    [16: 09:42] remote deployment failed
    [Application app12 interrupted and cancelled Server Instance IntegratedWebLogicServer]

    Either by the way, where is the log file? The host name that I used above may be the reason for the problem?

    Published by: user12233770 on May 10, 2011 16:23

    You can check with the removal of system folder?

    It will be in C:\Documents and Settings\utilisateur\Application Data\JDeveloper

  • Save the Flex application as a service

    Hello

    Is it possible to save Flex applications as services? And by here I mean--taking the example of Android - the app is closed, but still running in the background (not visible in the Task Manager).

    The reason why I ask, is that if for example I want to have notifications in real time, of events at certain times or things of the location function, I need the application to be "aware" all the time but taking place as few resources as possible.

    Also, it would have been nice setting to start at system startup and so on.

    Thank you.

    Well, he gives examples of what you can do with this thing, but you can do much more... On a native android app, you start a service at the launch of the system in the background to check what you want to check.

    In this example, we start a service when we start to demand... You can change to start the service at the launch of the system and start the main activity (to launch your swf) from the service!

  • Recover data from the flex application

    Hello

    We use html data in Flex via Flashvars, I want to use the HTML flex application data, how can I do?

    I know we use javascript for it functions, but I need an example.

    Kindly help.
    Mandeep

    You can see this FB 2.0.1 topic help (or via LiveDocs on the web):
    Access Flex from JavaScript

    -------------------------- MXML ---------------------------


    http://www.Adobe.com/2006/mxml"creationComplete =" initApp () ">"

    flash.external import. *;

    public function initApp (): void {}
    ExternalInterface.addCallback("IsStatic",IsStatic) ("myFlexFunction", myFunc);
    }

    public void myFunc(s:String):void {}
    S = L1.text;
    }

    ------------------------------- HTML ----------------------------

    wrapper/AddCallbackWrapper.html

    AddCallback Wrapper


    Enter a new title:






    http://download.Macromedia.com/pub/Shockwave/cabs/Flash/Swflash.cab#version=9, 0,0,0' height = "200" width = "400" >


    http://www.Macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash' height = 100% "width = 100% ' flashVars =" / > "

  • video recording on the camera application function does not

    My app windows photo 8 shows the video recording features, however nothing happens when I try to use it. I had no chance in the troubleshooting update and windows updates to fix this problem. How can I get the video camera recording function to work? Currently when I select the video mode, it absolutely nothing happens.

    Hello

    Are you able to take pictures using photo app?

    It seems that there is something wrong with the camera application.

    So, I suggest you follow these methods and check.

    Method 1:

    Run applications troubleshooting

    Download and run the troubleshooter modern UI App.

    http://download.Microsoft.com/download/F/2/4/F24D0C03-4181-4E5B-A23B-5C3A6B5974E3/apps.diagcab

    Method 2:

    I suggest you follow the steps in the article. Here is the link for your reference.

    What to do if you have problems with a soft

    http://Windows.Microsoft.com/en-GB/Windows-8/what-troubleshoot-problems-app

    For reference: app photo and webcams: FAQ

    http://Windows.Microsoft.com/en-in/Windows-8/camera-app-FAQ

    Please report if you are still having the problem. I will be happy to provide you with the additional options that you can use to get the problem resolved.

  • Dynamically change the title of the browser in the Flex application

    In order to make my Flex application more accessible to those who use screen reader software, I need to change the text of the title bar of the browser that the user selects different tabs. I thought I could use FlexGlobals.topLevelApplication.pageTitle = "xxx" to it or define a public function in the MXML application file and use topLevelApplication to call it.  However, this does not seem to work, the title bar is not changed. I wonder if this requires flex 4.6 (I currently use 4.5).  Any ideas on how I could do this would be appreciated.

    Hello

    BrowserManager allows to change title and browser header text.

    http://help.Adobe.com/en_US/Flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7cbb.html

  • How to run the PL SQL function on click of a button

    Hello

    I have problem with run SQL PS function on click of a button. I have create a new button and call the function STANJA.insert_into_log_fun1('cc'); "Value of the button application", a Type of Source select button request = 'SQL PL Expression or function.
    Problem is that this function is executed at the loading of the page, but not to the click. I don't want to perform this function on loading the page, only when I click the button.

    Does anyone have idea how can I solve this problem?
    Thank you very much.

    Alter this process > status > when you press the button > choose the button you want the pcoss to run on.

    RAL

  • where to find data to run the sample applications

    Hello

    I loaded the sample applications, but there is no data

    where is it possible to find a script for LOAS in demonstration base data

    FOR EXAMPLE: to use the sample application tree, we need data in EBA_DEMO_TREE_PROJECTS

    concerning

    user_fr_cg63 wrote:

    I loaded the sample applications, but there is no data

    where is it possible to find a script for LOAS in demonstration base data

    FOR EXAMPLE: to use the sample application tree, we need data in EBA_DEMO_TREE_PROJECTS

    Data should be created automatically on the installation of the application using the function to support objects .

    If I install the application of tree-sample on apex.oracle.com then 9 lines are created in EBA_DEMO_TREE_PROJECTS.

    Lack of data suggests that there was a problem during the installation. You can check this by clicking on the icon to support objects on the application home page, then install view summary in the taskbar on the right.

  • Publish everything in running the publishing application ATG - CRS Server. Unable to query the table 'das_id_generator '.

    Hello

    I use ATG version 10.2 and you have configured CRS application by IMC. All data import and deployments have been successful.

    Applications of short (MDEX 6.4.1, CASE 3.2.1 6.4.1.2, tools and Framework 3.1.2 platform services) are running: port 8006, 8500, race 8888.

    Now MY PROBLEM IS in TWO PARTS:

    PART 1)  Ran the store on jboss, has worked well, core application started without any error.  When trying to load the homepage, get following error message:

    16:42:25, 926 full repository INFO [SEORepository] SQL boot

    16:43:32, 653 ERROR [DynamoServlet]

    CAUGHT AT:

    Container: ATG.servlet.jsp.ContainerJspException: Cannot find the named component: / atg/registry/Slots/HomeTheme; Source: javax.servlet.ServletException: Cannot find the named component: / atg/registry/Slots/HomeTheme

    at atg.taglib.dspjsp.ParamTag.doStartTag(ParamTag.java:419)

    at org.apache.jsp.navigation.gadgets.homePagePromotions_jsp._jspx_meth_dsp_005fparam_005f0(homePagePromotions_jsp.java:1021)

    at org.apache.jsp.navigation.gadgets.homePagePromotions_jsp._jspService(homePagePromotions_jsp.java:219)

    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)

    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)

    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)

    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543)

    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480)

    at atg.servlet.WrappingRequestDispatcher.include(WrappingRequestDispatcher.java:123)

    at atg.taglib.dspjsp.IncludeTag.doEndTag(IncludeTag.java:883)

    at org.apache.jsp.index_jsp._jspx_meth_dsp_005finclude_005f1(index_jsp.java:633)

    to org.apache.jsp.index_jsp.access$ 1 (index_jsp.java:622)

    to org.apache.jsp.index_jsp$ Helper.invoke1 (index_jsp.java:685)

    to org.apache.jsp.index_jsp$ Helper.invoke (index_jsp.java:711)

    at org.apache.jsp.tag.web.store.pageContainer_tag._jspx_meth_c_005fwhen_005f1(pageContainer_tag.java:2757)

    at org.apache.jsp.tag.web.store.pageContainer_tag.doTag(pageContainer_tag.java:812)

    at org.apache.jsp.index_jsp._jspx_meth_crs_005fpageContainer_005f0(index_jsp.java:598)

    at org.apache.jsp.index_jsp._jspx_meth_dsp_005fpage_005f1(index_jsp.java:565)

    at org.apache.jsp.index_jsp._jspService(index_jsp.java:127)

    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

    ...........................

    ...........................

    ...........................

    ...........................

    At this point, the CRS page opens but no short content. Don't load no registration, no image on the home page does display, NO SEARCH BOX displayed in the header.

    PART 2)  On top of that when I try to run the server pubishing on JBOSS, start does'nt server and responds to error. If the das_id_generator table exists in DB for all 4 patterns.

    16:09:41, 082 INFO [ScreenLog] with logging of external for debug messages and trace kernel to avoid hidden kernel logging information. Set the property /atg/dynamo/service/logging/ScreenLog.useInfoForDebug to false nucleus to use external instead trace and debug logging.

    16:09:41, 199 INFO [Version] HV000001: Hibernate Validator 4.3.1.Final

    16:09:41, 748 Truncating WARN [ClusterBroadcaster] serviceProperties "commandLineModules" key value

    16:09:42, size INFO [STDOUT] 345 (ERR_QUERY_TABLE, das_id_generator

    16:09:42, 351 ERROR [IdGenerator]

    CAUGHT AT:

    Container: ATG.service.IdGen.IdGeneratorException; Source: Container: ATG.service.IdGen.IdGeneratorException: Cannot query the table 'das_id_generator '. Please make sure that the table exists and is accessible before you start this service. ; Source: Java.Sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist

    at atg.service.idgen.PersistentIdGenerator.initialize(PersistentIdGenerator.java:389)

    at atg.service.idgen.AbstractSequentialIdGenerator.doStartService(AbstractSequentialIdGenerator.java:643)

    at atg.nucleus.GenericService.startService(GenericService.java:561)

    at atg.nucleus.NucleusNameResolver.startService(NucleusNameResolver.java:1726)

    at atg.nucleus.NucleusNameResolver.configureAndStartService(NucleusNameResolver.java:1397)

    at atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:928)

    at atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:667)

    at atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:648)

    at atg.nucleus.NucleusNameResolver.resolveName(NucleusNameResolver.java:493)

    at atg.nucleus.ConfigurationRef.getValue(ConfigurationRef.java:119)

    at atg.nucleus.SimpleComponentState.setBeanProperty(SimpleComponentState.java:403)

    at atg.nucleus.SimpleConfigurationState.saveToBean(SimpleConfigurationState.java:240)

    at atg.nucleus.SimpleConfigurationState.configureBean(SimpleConfigurationState.java:263)

    at atg.nucleus.BeanConfigurator.configureBean(BeanConfigurator.java:297)

    at atg.nucleus.PropertyConfiguration.configureService(PropertyConfiguration.java:984)

    at atg.nucleus.SingleNucleusConfigurator.configureService(SingleNucleusConfigurator.java:84)

    at atg.nucleus.NucleusNameResolver.configureService(NucleusNameResolver.java:1643)

    at atg.nucleus.NucleusNameResolver.configureAndStartService(NucleusNameResolver.java:1368)

    ........................

    ........................

    ........................

    An early response would be really useful because we have demo in 10 days.

    Kind regards

    Ben Milot

    Thank you for this comment.

    I had created a fresh scheme for publication but the jboss was still pointing to the old.

    I've updated this pointers in file @ /server/ atg atg - ds - ds.xml. Worked like a charm!

    If 2nd EDITION solved.


    The QUESTION 1 depended on question 2. Once I ran publishing and completed the full deployment on ICC, 1st edition got resolved.

    Thanks to shaik and Grando

    Kind regards

    Ben Milot

Maybe you are looking for

  • Satellite L850-13D - the fan noise

    My l850-13d satellite fan still works when the laptop is connected in AC mode, but in MS mode the fan only works when the CPU temperature is greater than 50º Celsius. I would like to know if this is normal or not. Thank you.

  • Computer won't startup connection step and keeps restarting

    Wednesday, my brother came downstairs and said that his computer crashed while he was on the internet, (dirty Web sites, I think) and when he trys and in turn, it leaves him open a session. So I went to take a look, since I understand computers more

  • several recipes of emails sent emails

    Remember - this is a public forum so never post private information such as numbers of mail or telephone! When I send large emails they stay in my Outbox, but a number of recipients receives several times: like many =

  • Unhandled exception, installation on TMS 14.1 under WinServer 2008

    Hello IM installation TMS 14.1 on Windows Server 2008 and at a time of installation, I get the error of bellows and the installation will stop. "Unhandled exception". Error number: 0 x 80131501 Description: It was not possible to convert all or part

  • How to disable libraries in Win 7?

    Libraries are Unnessessery and do only anger