Sorry for posting agan , i lost the previous emails due to a thunderbird
crash an im posting this again

*Okay look this is my code so far What am i doing wrong??

This is my hotjobs.as file*

        var hotjobs_service: String = "";
           function
        buildMyUrl(country:String,state:String,city:String,job:String) {
            hotjobs_service = "http://hotjobs.yahoo.com/rss/0/" +
        country + "/" + state + "/" + city + "/-/" + job + "";
         }


*then in my xml file this is the code relating to that*

        <!-- Action Script -->
         
        <mx:Script source="Imports/Scripts/hotjobs.as">
             
            </mx:Script>
         
         
            <!-- All Http Services -->
         
            <mx:HTTPService id="hotjobs_service_call"
        url="" useProxy="false">
             
            </mx:HTTPService>
            <!-- End Of http Services --> 


*then on my button in one of the states*

        <mx:SetEventHandler target="{search}" name="click">
                     
       
<mx:handler>buildMyUrl(input_country.text,input_state.text,input_city.text,input_job.text);currentState='Jobs_Results';hotjobs_service_call.send()</mx:handler>
                    </mx:SetEventHandler>

_*After all this it gives me an error*_!!



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to