0

I am using Flex Builder 3 and visual studio 2010 I have created webService.asmx and default.aspx. I want to use this swf file in default.aspx. I want to pass web service url dynamically to my swf file. my mxml contains this code

    <mx:WebService id="webService" 
    wsdl=""
    useProxy="true"
    fault="Alert.show(event.fault.faultString), 'Error'">
        <mx:operation name="addData" 
            resultFormat="object"                
            result="AddRecord();" 
            />
</mx:WebService>

I want to pass wsdl dynamically i.e http://localhost:12345/flexProject/WebService.asmx?wsdl to my <mx:WebService wsdl="">

How can i achieve this ?

1 Answer 1

1

Use Flashvars.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.