Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1046519
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T16:09:32+00:00 2026-05-16T16:09:32+00:00

I want to call an App function inside a (I know about the Component

  • 0

I want to call an App function inside a (I know about the Component scope already).

What I mean is this:

<mx:Script>
    <![CDATA[
    public someFunction():void {
        // bla bla bla
    }
</mx:Script>

And:

<mx:Component>
    <mx:Label text="{data.something}" click="someFunction()" />
</mx:Component>

How can I do something like that? Is that possible first of all?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T16:09:32+00:00Added an answer on May 16, 2026 at 4:09 pm

    Is this within the same MXML file? If so, this should work just as you show it. If not, you’ll have to import the one containing the script into the file that is doing the calling. Usually you put separate script code into an ActionScript file rather then an MXML file when importing script though. Hope that helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my app I want to call to selected number. For this I have
I want to let my android app call a function written in javascript and
I want to call external urls using cron job of Google App Engine. And
I want my app to be able to tell whether a call was missed,
My app makes a call to an API that returns a dictionary. I want
I want to stop outgoing call and open the application. The app is able
There is a ASP.NET MVC 2 web app, lets call it myapp.com. I want
i would to know if there is a way to show(call) an iphone-uikeybord-like inside
I am planing to display Rss feed inside an Androind app I have this
I want to call a function in my ApplicationController from a rake task. I've

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.