Skip to main content
September 16, 2014
Answered

Not sure how to insert call to an external python page

  • September 16, 2014
  • 1 reply
  • 788 views

Hi everybody,

I was just wondering if somebody could help me out(?)

I've got a flash powered card builder, basically an end user can upload an image of their choice, add some text (if they want), then have a custom card printed for them. Think of a customized Gift Card (i.e. McDonalds GC). The company I work for as decided they want to be able to externally control the file size of uploaded images. They want to be able to limit the minimum and maximum sizes of the uploaded image. This control is done externally, and the coding is already written (Python).

The Python developers have already supplied me with the location of the Python page, I just need to insert the call within the AS of the card builder. I have extremely limited experience with AS3, as a quick check of any of my posts will confirm. So I'm not at all sure how can I add this new call to the Python page. I say "new" because there is already a call to another Python page.

I'm hoping I explained myself correctly and you understand what I am looking for. If not please ask and I will be more then happy to elaborate further. I can also supply the pre-existing AS3 code if that helps. They are over 1000 lines of code, so I don't want to add them here and add to the length of this post, until it is absolutely necessary.

Any help is very greatly appreciated!!!

This topic has been closed for replies.
Correct answer kglad

use the urlloader class to call server-side executables.

1 reply

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
September 17, 2014

use the urlloader class to call server-side executables.

September 17, 2014

Hey kglad

I tried that and have sent the project off t the qa department for testing. Thanx for your advice

kglad
Community Expert
Community Expert
September 17, 2014

you're welcome.

(but it's going to be time-consuming if you have to send to someone else for testing..)