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 3998452
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T07:31:39+00:00 2026-05-20T07:31:39+00:00

I have a MS Access query ProductDetailsAll that is queried using an ASP.net web

  • 0

I have a MS Access query ProductDetailsAll that is queried using an ASP.net web service. The service simply fills a data table with query results.

How do I setup and pass parameters from Flash? I need to sear ProductDetailsAll for records having CategoryID 1 or 3 based on user selection. How is the CategoryID passed from Flash to the web service?

I have created rectangle objects in Flash. Each one must contain product name, description, price and the image from the ProductDetailsAll query. How do I pass the search phrase from Flash to the query? Do I use dynamic text boxes to house the returned values?

Thanks,
Sid

EDIT
To elaborate further:
I have a combo box cbRentalType with values 1 (Sale), 3 (Party) or All. I have a combo box cbCatSelect that needs to read the SubCategory from the database table. I have a textbox txtSearch that will house the product keyword and should be queried from the KeywordID field in the database table.

How do I set outbound variables in Actionscript equal to the values of the above objects?
How do I return query results matching these values and map them into Flash variables?
I have 16 rectangle objects on the movie clip. Each one will house one item from the query result with output of product image, product name, description and price. If the query returns more than 16 records, how do I populate another frame to contain the full query result?
Finally, I found a code sample that is used to setup the ASP.NET web service connection. The AS3 code is as follows:

package  {

import flash.display.MovieClip;
import flash.events.MouseEvent;
import mx.rpc.soap.*;
import mx.rpc.events.*;
import mx.rpc.AbstractOperation;
import flash.events.Event;

public class MainDocument extends MovieClip {

private var ProductWebService:WebService;
private var serviceOperation:AbstractOperation;

public function MainDocument() {
// constructor code
addEventListener(Event.ENTER_FRAME, SetupWebService);

}

function SetupWebService(event:Event):void
{
var url:String ="http://www.mydomain.com/WebService/completedb.asmx?WSDL";

ProductWebService = new WebService();
ProductWebService.loadWSDL(url);

ProductWebService.addEventListener(LoadEvent.LOAD,BuildServiceRequest);
}

function BuildServiceRequest(evt:LoadEvent)
{
serviceOperation=ProductWebService.getOperation("GetProducts");
serviceOperation.addEventListene
(FaultEvent.FAULT,DisplayError);
serviceOperation.addEventListener
(ResultEvent.RESULT,DisplayResult);
serviceOperation.send([GenerateRandomNumber(0,9)]);
}

function DisplayError(evt:FaultEvent)
{
trace("error");
}

function DisplayResult(evt:ResultEvent)
{
var productName:String = evt.result as String;
productText.Text=productName;
}

function GenerateRandomNumber(min:int,max:int):int
{
return Math.floor(Math.random()*(1+max-min))+min;
}
}

}
  • 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-20T07:31:39+00:00Added an answer on May 20, 2026 at 7:31 am

    The specific solution is difficult to see from an outside perspective, but it’s safe to say that you’ll need to work with the URLRequest class and the URLLoader class.

    The basic idea is that to communicate from flash to your server-side script (ASP), you want to POST data to that script by taking flash variables (strings, numbers) adding them to your URLRequest object’s .data property, and then using a URLLoader class to ‘send’ that data to your asp script.

    Here’s a tutorial that discusses this with PHP – the concepts remain the same in ASP:
    http://www.kirupa.com/forum/showpost.php?p=2373966&postcount=1

    To communicate from your script back to flash, you’ll want to use the same basic technique, but use the onComplete callback (described above) in flash to access your data.

    A common headache you might hit, should the flash & asp live on different servers, is a crossdomain security issue. You might need to set up the appropriate privileges via a crossdomain.xml file.

    …and Yes, you’ll want to use dynamic textfields and set their .text (or .htmlText) properties to the results of your ASP page, somewhere in your onComplete callback.

    Hope this helps – good luck

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

Sidebar

Related Questions

I have a ASP.Net page using ADO to query MS access database and as
I have a Microsoft Access database query that I'm trying to import into a
I have a query in MS Access which creates a table from two subqueries.
I have an access query which creates some output, 3 columns named e.g. A
I have an access database, with a query made. I need to automate it
I have a SQL query (MS Access) and I need to add two columns,
In MS Access, I have a query where I want to use a column
I have access to an Oracle server that has some databases that I would
I have an Access database (in Access 2003) with several tables, and data must
I have an Ms Access view(query) as following select * from employee Where EmployeeId=SomeID

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.