Asp.net :: Best Way To Structure Of Remote Service?

Dec 8, 2009

I'm not sure if this is technically a web service or not but I have a Flash file that periodically needs to make a round trip to a DB. As it stands, AS3 uses the URLLoader class to exchange XML with an ASP.NET/VB file on the server. The aspx code then goes to the DB and returns whatever information is requested back to the Flash file.As my program grows and I need to execute a larger variety of tasks on the server, I'm wondering if I should just keep placing functions in that same aspx file and specify in AS3 which function I should load for any given task. OR, is it better to break up my functionality into several different aspx files and call the appropriate file for the task?Are there any obvious pros and cons to either method that I should consider?

View 1 Replies


Similar Posts:


Database :: Using Remote PHP Service With Flex AIR Application?

Feb 16, 2010

I'm developing a Adobe AIR application using Flash Builder 4. This app needs to access a remote PHP service which is being hosted on a remote web server. I am having troubles figuring out how to add a PHP data service which uses a remote service. I can add the PHP data service in Flash Builder as a service hosted on localhost, but given that this will not be feasible when the application is deployed, will not work. How to connect a Flash Builder (Flex) project to a remote PHP data service?

View 2 Replies

ActionScript 3.0 :: Remote Object Service Wrappers

Jan 22, 2010

I'd like to create a remote object service class such that I can encapsulate multiple service operations. These service calls get executed in many places and it would be nice to encapsulate their functionality. For example, something like

[Code]....

View 0 Replies

Flex :: Filling Datagrid From Remote Http Service?

Jul 21, 2009

I am trying my first flex application. And have a problems adding data from xml http service to datagid.

My xml file looks like this:

<players>
<player>
<name>test</name>

[Code]....

The problem is that nothing is shown in the datagrid

View 1 Replies

Actionscript 3 :: Flex Remote Service Verbose Mode?

Jul 31, 2009

Is there a way to display or log verbose communication DURING a remote service call with flex? In particular is there a way to get very detailed information about the service call while it is happening. Kind of like tracing HTTP headers from a command line. Basically, getting insight into the server transaction before the result or fault events occur?

I am assuming there must be a convenient way to expose stuff like IP addresses, DNS lookups, number of hops, latency, HTTP headers, AMF data as it is coming over the wire, etc.

View 2 Replies

Flex :: Pass Data Retrieved From A Remote Object Service To A Modules Interface?

Jun 9, 2010

I found at this Adobe tutorial a nice "RemoteService" class that creates a RemoteObject and contains the functions for handling the result and fault events. If I wanted to use this approach, how could I pass the data from the result handler to interfaces that modules from the main application could use?

I could put the RemoteService/RemoteObject in the modules, but (in my opinion- and I could be wrong) the best design seems to be using the remote calls in the main app and passing the data along to the modules.

View 1 Replies

Flash :: ActionScript 3 Package Structure And Directory Structure

Jan 23, 2011

I seem to run into compile issues in Flash Builder when I import 3rd-party libraries at the wrong level in the directory structure. For example, sometimes I'll import a library one level too deep into its directory tree, and the package explorer ends up excluding the prefix root-level package, usually "com." or "net.". Even though the content of the source itself doesn't change, this will cause compile errors.

Thus: Is it a 1) convention or 2) language requirement that a class's package structure (e.g., "foo.bar.Class") must match its path location (e.g., foo/bar/Class.as)?
If it's a language requirement, why is it a requirement? Wouldn't that overdetermine the package structure, since it is already specified in the source code and quite happily consuming the first three to eight columns of each line? If it's not a language requirement, are my compile errors just a result of Flash Builder enforcing the convention?

View 1 Replies

Php :: Flex Service - Bind A Service To A Button

Feb 2, 2011

I am experiencing a strange problem when I want to bind a service to a button or something else:

[Code]...

I can add the services to the Data Services panel but I have two strange things:

1) when I want to configure the return type he doesn't let me create a new ValueObject type, I only get the bottom datagrid which states: Properties returned by the operation: Property: country_Id, provence_Id, city_Id, id_cdpc, district_Id with the related values on the right side. Why can't I create a new data type on the top?

2) When I accept this and want to add the service call to a button (drag&drop) I get the following error: Error occurred while generating code. Make sure that there are no compiler eroors and try again after reopening the file. Componentn type services.cdpc.CDPC not found... (ps: When I perform a Test Operation everything seems to be ok, I get the expected output values)

View 1 Replies

ActionScript 3.0 :: Tag Driven XML Structure?

Dec 28, 2009

I have a XML file with images and tags which should be loaded into movieclips.The tags are separated in maintags and normal tags. Maintags are describing the image itself and "normal" tags are referring to other images. If you click on an image/movieclip its normal tags should be read and referring to other images' maintags which now should be loaded into the movieclips.Sounds complicated but actually it's easy. Theoretically I understand what to do, but I'm not able to express it in Actionscript.Here's my(rudimentary) code:

PHP Code:
import flash.events.Event;
import flash.net.URLLoader;
import flash.net.URLRequest;[code]......

View 7 Replies

ActionScript 3.0 :: Editing The Structure Of The .fla?

Sep 28, 2010

I am editing a free template and I have a problem. The original free template (175 Photo Gallery by flashmo.com) has 6 frames; 3 galleries, 2 "text pages" and a contact us form. I want to have 5 galleries and the contact us form.I copy-paste the actions and structure of the galleries on the "text pages" and edit this 2 new actions to link to the new gallery file (in this case the number 4): Code:flashmo_gallery03.load_gallery("flashmo_175_photo_list_04.xml");The problem is, I assume you have seen it already, is that the action to gallery 4 is linked to gallery 3, since no gallery 4 and 5 exists in the structure of the site.I have noticed that the .as file that controls the frames is a "pagecontect_8.as" file (thx to Trillix decompiler) that I assume is internal. The original code is:

Code:
//class pagecontents_8
package flashmo_175_photo_gallery_fla

[code]......

View 4 Replies

ActionScript 3.0 :: What Is Xml Structure For Locale_en.xml

Dec 23, 2011

what is xml structure for locale_en.xml if i want to use Locale.addXMLPath("en", "locale/locale_en.xml");

View 1 Replies

IDE :: Convert One Text Structure To Another

Jul 19, 2009

I'm trying to convert this text structure:

[Code]....

How to do this? I know how to transpose the values, but I don't understand how to obtain the needed structure.

View 2 Replies

IDE :: Show Xml Structure Using Drawing API?

Feb 9, 2010

I want to show the structure of any xml document and use the drawing API to connect nodes so that is looks like a phylogenetic tree. Each node in the xml document could have any number of child nodes and sibling nodes that need to be arranged at run time so they don't overlap. I attached a sample image to show the idea of the phylogeny.

View 1 Replies

ActionScript 3.0 :: Convert One Text Structure Into Another

Aug 26, 2009

I'm trying to convert this text structure (data.txt in the attachment):

[Code]....

Let say I have one *.txt file (data.txt in the attachment). These data inside are exported from Excel as tab delimited.

Using the browse, I'm loading (opening) this file in already prepared textArea in Air and the result looks like in the first box (first txt structure).

Below this textArea, I have another one textArea where I want to see the converted (transposed) data from the above textArea (second txt structure in the first post) after pressing a button. As you can see above (second box), ("comp" 4) line must be added above every group.

View 2 Replies

ActionScript 3.0 :: Add Images From XML Into A Grid-like Structure

Aug 11, 2010

I'm trying to load and display images (read in dynamicaly with xml) into a rectangular grid format, say, 2 rows of 3 images.

I believe I understand the nuts and bolts about xml loaders, but my code is only showing what I think is the last image:

[Code]....

the trace command reveals that the coordinates are indeed right on where I expect them to be... only thing is on the stage, only one image shows up. The very last one.

View 4 Replies

ActionScript 3.0 :: Add Method To A Data Structure?

Jul 26, 2009

I want to add a method called max() to the array data type so that I can say[code]...

View 7 Replies

Flash :: Access PC's Folder Structure?

Mar 24, 2010

I dont know if its the right forum for my post or not. But I need to ask if there is anyway to show the folder structure of a clients PC in flash when the user clicks on a browse button in a web site just like the one below? I googled for a "Multiple File Uploader using flash" but what I found there is that an open file window opens and we are able to select multiple files from it. I could not found anything like below. So my question is that whether we will be able toshow all the folder structure or not?

View 2 Replies

ActionScript 3.0 :: Structure Its Script Layer?

Aug 19, 2010

I have an all Flash based website with a few sections and UILoaders for PopUps which open up from image buttons from Product section. (url...)

PROBLEM:  I have assigned labels to each section of the website. Each section has its own image buttons which open different PopUps. This is the part where the sections differ from one another and thus require its unique part of AS3. However there are main menu buttons present on every section of the site. This is where the sections are identical and require one uniformed AS3.

PRESENT SOLUTION:  I have segmented the AS3 layer by keyframes to match the keyframes of the labeled section. I put the code for all the main menu buttons on the first opening keyframe which plays the intro sequence and the stop(); code as well. Then I put stop(); in the beginning of every single section afterwards, I did not repeat the code for the buttons from the first keyframe but started to add the code required by corresponding section only (i.e. products section has only products relative code, application section has only application relative code, etc. and none of the main menu buttons code from the first opening keyframe, even though the main menu buttons are present on every section).

QUESTION: Should the AS3 layer be one uninterrupted layer with all AS3 code needed for all of the website elements on the timeline or should it be segmented by keyframes per corresponding sections of the webstie and repeat all the code from section to section if the elements and functionality repeat as well?

View 1 Replies

Php :: Automating Folder Structure Dynamically?

Sep 2, 2009

I want to create a folder structure through Flex or AIR... is it possible? I mean the Flex or AIR will receive the inputs on what the folders and file names will be and when i press create, it should create a directory structure...

It is possible in PHP through fileSystem, but i am not sure whether it is possible in FLex or AIR....

View 1 Replies

Actionscript 3 :: Replacement For C Style Structure In OOP?

Feb 28, 2010

I am a student with a mainly electronics background getting into programing. The more I get into it, the more I realize how bad I am at it. I am trying to get better at OO design.One thing I have been reading about is the use of Getters and Setters.

[URL]

Now I can see the point they are making here but I am still unable to see away around some simple problems. And this brings me to my question (finally). I am setting up a simple tower defense game in AS3 as a learning exercise. I want enemies to follow way points so I was going to make an array of way points, and make that a property of a map object. And a way point was to be an object with an x and a y property (more like a struct).

View 4 Replies

Actionscript 3 :: Flex - Package Structure Isn't Right

Jul 15, 2010

My code is:

[Code]....

Taking the package name out lets it compile, but when it is in it tells me it the package structure isn't right, but I'm not sure what I'm doing wrong. Is it an error I made? Or possibly my version of mxmlc is corrupt? I compile it with

View 2 Replies

Figure Down The Class Structure Of Flex?

Jun 10, 2011

I want to figure down the class structure of flex. Where can i get the assumption diagram of Flex framework?

View 1 Replies

Actionscript 3 :: Play With The Structure Of An XML File?

Nov 15, 2011

I am trying to user Ravis lib for data visualization and the structure of the XML file that Ravis uses is different that what we use in our company. These are as follows:Ravis XML structure:

<Family>
<Node id="1" name="Father" desc="Head of the family" class="HOF"/>
<Node id="2" name="Mother" desc="Wife of Father" class="firstLady"/>

[code].....

View 2 Replies

ActionScript 2.0 :: Display XML Structure In Flash?

Feb 12, 2009

Is there a way for an XML file to be displayed in a textfield in Flash just like it's displayed in a text editor? I mean... displaying it and keeping the original XML text formatting (including white spaces, indents etc.)?

View 2 Replies

ActionScript 3.0 :: Convert One Text Structure Into Another?

Aug 16, 2009

I'm trying to convert this text structure (data.txt in the attachment)[code]...

Below this textArea, I have another one textArea where I want to see the converted (transposed) data from the above textArea (second txt structure in the first post) after pressing a button. As you can see above (second box), ("comp" 4) line must be added above every group.

View 4 Replies

ActionScript 2.0 :: Adjust The Structure In A XML File?

Nov 2, 2009

I have had to adjust the structure in a XML file and so am trying to adjust my AS accordingly so that it can read it.. but i'm having difficulty as my XML knowledge is only basic.

My new XML structure is:

Code:

<?xml version="1.0" encoding="utf-8"?>
<music>
<song>
<thumbPath>thumbs/image1.jpg</thumbPath>

[Code].....

View 1 Replies

ActionScript 2.0 :: Create A Structure Of Website

Nov 19, 2009

I'm kinda new to flash but i managed to create a structure of my website, do frame break ups, do layers and frames for content and so on.The thing is, when i create a text box, convert it to a button and, use a goto option and select the frame i want it to go to...nothing happens. Design view clearly shows that it's a button but when i played a test movie, buttons didn't work at all. I could highlight them but that's about it. Even when i click on them nothing happens.I tried publishing in HTML but no luck either.I use flash 10 with actionscript 2.0 in Adobe Flash CS4.[code]

View 0 Replies

ActionScript 2.0 :: Navigate Downwards Into A File Structure

Nov 21, 2009

I have a large project, and I need to have a complex folder structure separating all my classes, shared libraries, main swf's etc... I understand how to navigate downwards into a file structure for example: Classes.Buttons.ButtonMain How do I navigate upwards though? My shared library is in a seperate folder, so it needs to navigate up one folder, and over to the Classes folder to reference all the classes.

View 0 Replies

Basic Flash Website Structure?

Aug 31, 2009

What is a good structure for a complete Flash website. ex.

1) Index.swf ( which is just a container and loader for the actual SWF site content)

2) Main.swf (the main content of the site that gets loaded in by Index.swf)

Should the index.swf load in several SWF's , like navigation file , news reel file , etc....Also , if anyone know of a web site that has this information or knows of a book that covers this material ,

View 1 Replies

ActionScript 2.0 :: Possible To Call Each Function With Structure

Dec 3, 2005

I have defined 4 functions say func1,func2,func3 and func4.Is it possble to call each function with a structure similar to the following.This way I can decide at the last minute whether to use func1,2,3 or 4.[code]The above structure does not work. Should I be using prototypes maybe?

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved