Goal: To build an Internet Mapping Site (IMS) using FlashScenario: Using Manifold GIS for the backend. It is a full scale GIS software which easily outputs data (geometry and tabular) into xml. It has built in IMS capabilities, but theWould like to build an IMS using Flash as the front end, and Manifold as backend. How would I set up something where the GUI and display were Flash, the user interacts with the Flash (Pan, Zoom, Selection, Query(SQL)), have Flash fetch that from Manifold via xml, and display the new extent, query results, etc.?
So there would need to be geometry data retrieval and display as well as tabular. For example the user should be able to use a "Zoom by Extent" feature where they draw a rectangle on the map, it returns the coordinates of the box to Manifold, Manifold returns it, etc. On the other hand they need to be able to query the datasets (simple sql queries).I hope this makes some sense. I'm a noob in many aspects to backend so I'm just trying to get a handle on whether this is possible, and what backend needs to be implemented in order to make this happen? Would you know of a possilble better method? Silverlight, etc?
We have implemented a Flash photo slideshow on our site and it works just fine for most of our users. Whenever the xml.load(success) returns false I have the Flash email me a debug report. For the life of me I can not find a common thread between all of these people having problems with the Flash. I don't think it's a cross-domain issue because it works for most people, and I have the crossdomain.xml files where they should be.
I have a need to build many Algebra and Geometry equations in Flash. I am looking for some kind of flash plugin that will typeset these equations so that I don't have to build them by hand. For instance, if I had a fraction 1/2 or 134/489 and I was stacking the numerator over the denominator, the fraction line would adjust to the length of the longest number.
I know that the InMath plugin works like this for InDesign, but the formatting breaks in the few file types that are able to be imported into Flash. Is anyone aware of such a plugin made specifically for flash?
import flash.geom.Point; I am trying to write a game using the new Vector class. Then Vector will be composed of flash.geom.Point (s). However, when I try to use the concat funtion to return another vector with a series of Points added to the end of the vector, I will get: TypeError: Error #1034: Type Coercion failed: cannot convert flash.geom::Point@bce8901 to __AS3__.vec.Vector.<*>. at Vector.<*>$/castToThisType() Action script is saying that I am trying to convert a vector to Point to a vector. I do not see how this is the case. In the example below, I have declared adjoiningPoints to be of:var adjoiningPoints:Vector.<Point>;
When I call path.concat( myNextPoint ); I get the above error. In order to troubleshoot the problem, added the additional lines declaring 'iAPath'. When I work with the arrays everything works fine. The arrays are entirely populated with points and there is no error.
I have a swf (swf#1) with links to another swf (swf #2). I would like use GET to pass data out of swf #1 to a PHP page that will be holding swf #2. I want swf #2 to start at a specific frame based on the data passed from swf #1.
So i a building a categorized menu of different foods. I have a class for "categories" (buttons) which essentially will return a string "salads", "drinks", etc. I now have another class "menuItems" for items within categories and this handles sizes such as "small", "med", "large", etc. My problem now is that when i return "salads", i want to invoke an array which contains all the elements of salads, send it to menuItems which will populate the menu. So far i have both the category objects and the menu object setup. I just cant seem to be able to send the data that the category object is returning and pass it to the menu object. Both of which are added to the stage as shown below:
If there was a way that i could say add all these classes to one class so that they can talk to each other that would be great but i dont know how to do this.
I had this problem (Error: addChild() is not available in this class. Instead, use addElement() or modify the skin, if you have one.) and I followed the recommended solution:
// container ( IVisualElement ) for DisplayObjects var container:UIComponent = new UIComponent(); addElement( container );
[Code].....
What I need to be able to do, is get the string Locale to be read by the Child swf.
I am working on creating a basic message board for my website and I am having difficulty getting things to pass from Flash to Database to Flash. I just checked out the tutorial on this site that shows how to go from Flash to Database. Which is awesome by the way. I was wondering if anyone could help me on how to get the database data back into flash and post in a message board style. In another related note. Through a form set
I'm building a Multimedia Player front end and we have some action features we'd like to include. Some of the features are like: add to favorites, bookmark and rating.
For rating and add to favorites I just need to some how send a variable with the value to the server. Do you have any tutorials and or suggestions to approach this?
I don't need to know how the back end works, i just need to know what to pass in the flash and how to send out the updated variable back to the server.
is it possible to pass a parameter to flash from html together with the call of the .swf file? In the .swf I play different slide shows. The paramter I need, to know which slide show to start. I know that I can load parameters from xml or text files, but not how to pass a parameter directly wiht the call of the .swf.
I find a lot of information to pass variable values i.e. fortext from asp to Flash, but what I need is to be able to change thecolour of items with a querystring. I have to handle the colour of35 items and additionally, I need to fill in text values into theseitems, meaning a pretty long querystring...THis was all working easily with SVG, but now it's time tomove on, sinve SVG has now its official death certificat
If I want to pass form data from html to flash, do I have to use a server side script from php, asp, cgi, etc?If so, what would go in the FORM action? (FORM action="??" id=form method=post name=form>)
I'm currently working on a flash combobox and text field passing data to php to display the input from flash. It require using query string method. I'm stuck on the query string code. My as3 has nothing wrong, I just don't know whats going on the php is not catching my data for display.
The php I'm targeting looks like this: <?php $current_page_num = 1; require_once 'dir/php.php'; $use_GET = $_GET[ 'use' ]; if ( $use_GET ) { $timestamp = $use_GET; [Code] .....
I'm trying to pass a string variable with custom event and having a problem retrieveing the string when the event is handled. The event fires OK, and I can trace the string in the Event, but it returns "undefined" in the event handler. I'm hoping it's just a typo or something, but it's got me stumped. Below is my Event code and the handler code. [code]
I'm working on an interactive quiz where the user's responses will be incremented to a poll in a CMS. I have a url that automatically increments the answer choice in a poll, so I would like to use sendToURL to call the url without actually passing any data or variables. It seems to work with navigateToURL, but that opens a blank window in the browser
Here is the navigateToURL code that increments the poll successfully, but opens the unwanted browser window
var url:String = "URL GOES HERE"; var request:URLRequest = new URLRequest(url); try {
[Code]....
I tried replacing "navigateToURL" in the first option to sendToURL and it wasn't incrementing the poll.
I'm trying to do a Christmas Calendar in Flash. I'm using buttons for the 24 days, that I want to activate depending on the date. Since I can't count on clientcomputers having the correct date set I want to use the date from the server and pass it into Flash. Now I found out on the Macromedia website, that you can use FlashVars as a ActiveX Parameter to pass values into Flash. So far so good. How do i address the variable in Flash then? Using a syntax like this PHPode:FlashVars="datum=DAY_OF_MONTH" //DAY_OF_MONTH holds the date I get from the serverin my html file, that's calling the .swf I should be able to simply use datum as a variable in Flash. However that doesn't seem to work
Im trying to use dynamic SQL tables on my PHP server so I need to pass the table name to the PHP script. I don't understand why the Data Management system that sets up CRUD won't allow this extra parameter. It says it can only have one input: item. I can get all records, but when I try to create, update, or delete I get an error.
Or is there another way I can pass the tablename variable to the php file before I call any functions?
I created a Contact Form with Flash 4 on a website: [URL]. When I fill out the form in the "Contatti" TAB (contacts) and click on "invia" (submit) the email browser opens correctly (Entourage) but the text in the site form does not appear in it.
I'm trying to take a variable from a php page and send it to flash to then use in a link.I'm having problems just selecting ONE variable from the print function, the code will help explain:
It collects all the data fine but it does not print it out correctly, it prints out all the variables in the php in one link. For example: If i click the facebook icon, i will be taken to http:[url].... This also happens with the other icons (Youtube and Twitter).
I'm able to record sound with a Flash application embedded in my website, this audio is saved to a ByteArray, which I need to pass to Javascript in order to post to my server along with other required data.
I know I can use AS3 ExternalInterface class to communicate with Flash from Javascript, but what would be the appropriate format or variable type in javascript to hold the ByteArray, and how can I ensure that I won't lose much audio data when doing so?
I have a SplitViewNavigator with two split views. In one of the views I have a list and in another one I have questions. User must solve the question and when user click send button, he will see another question.
But when user click to send button in one view, how can i know this in the other view? I'm a newbie in Flash Builder and I'm searching for this for hours.
I am currently creating a remake of the game Geometry Wars but in Flash using AS2 but the further you get through the game it seems the more lag builds up. And it is down to my computer (which does suck) but it's been tested on multiple pretty good PCs. It lags when a lot of enemies enter the screen but to be fair there isn't a lot. Here is my game which I am currently blogging to get feedback : geowarsbeta.tk <- with http at the start.
Stuff I am doing to prevent lag: -Enemies are not visible when offscreen. -Unwanted movieclips (like bullets) are deleted once offscreen. -Main ships 'onEnterFrame' is split up in to lot of small functions.
I'm doing an geometry object tranformations for a project. I need to have same rectangle across 4 parts in a screen. So when i change one rectangle others will be transformed like scaling or something.So i was able to do this with image, just giving "source" attribute. How to do with geometry objects?[code]
how to change the geometry to something exported from maya using collada but the problem lies when i rotate the object. the cube rotates just fine but any toher geometry that isnt a perfect square gets all fecked up when you rotate. as you can see from the shape i have currently the top and bottom rotate just fine. im guessing it has to do with the math.cos and math.sin but really not sure.
I think I could build some array that describe the geometry of each state for each piece of the mask, then use the Tween class to change them interactively, but I'd like to do it in a more simple way...
am pretty new to Kirupa and Flash. I have a little problem, concerning a character hitting a wall. What i have: a char that can jump and move around by the arrow keys. What i need: character shall stop movement if he hits a geometry. But being able to start movement again, besides through the geometry. I'd like to reach this with gskinners CheckForCollision class. Have a look here: [URl] But i didnt manage my code to get it work. So maybe you could leak me some information on how to get this done. Heres my code so far:
[Code]...
edit admits: so far i have a character mc called "player" and one called "level". i would apply the code to the player, and it would be cool to have the possibility to check collision of the player with multiple MCs, not only the level.