Table Is Not Getting Updated
Mar 19, 2009I am trying to update a table in my database by sending the variables from actionscript to PHP,but the table is not getting updated.There are no errors at all.[code]...
View 1 RepliesI am trying to update a table in my database by sending the variables from actionscript to PHP,but the table is not getting updated.There are no errors at all.[code]...
View 1 RepliesHow to make a table in Flash and enable the column headers on the table to sort column on click?I have seen some tutorials with mySQL but I'd like to start with something basic. Is a sortable table possible using just Flash and AS 2.0?
View 1 RepliesI am drawing a cellular automaton simulation on a Flex Canvas. I alternate computing the state of the automaton with updating the graphics on the Panel. However, the updating of the Panel does not seem to be "keeping up" with the update of the CA state.
I'm wondering whether I am doing something wrong with my handling of the graphics code. The code is below. Sorry it's so lengthy, but I don't think the problem will happen with anything simpler (well, it probably will, but I'm not certain I want to take the time to find it).
[Code]...
does anybody maybe know how to track/trace the current position of a sound file while it is playing?
So that it is updated every frame or second?
I figured something with trace(sound.position) onEnterFrame, but didn't succeed in realizing this yet.
Right off the bat, with the few new things that I've messed around with so far, I haven't really run into much in FP 10.1 that's both interesting and working with my particular setup. Examples: Originally Posted by FP 10.1 Release Notes The Global error handler is disabled in the current build, but will be available in a future beta refresh of Flash Player 10.1 Gee, I guess I won't be testing that. The classes do exist in the player, but it looks like loaderInfo.uncaughtErrorEvents is null for the release that we got.
[Code]...
I am having trouble just getting started on a simple as3 image slider. I cannot figure out oop in flash.In my fla file I have:
[code]...
Also, why is my currentIndex not getting updated? I tried every combination of incrementing I could think of, but the output is the same.
i have this code:
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="cache-control" content="no-cahce">
[code].....
Does anyone have the Macromedia MX Documentation Updater or the updated help files or even a PDF? My help doesn't work properly in the browser. I can get to the Macromedia MX Documentation Updater page on the adobe site, but I can't get past the register and download page.
View 1 Repliesproblem-1:In php we can easily move one page to another and easily use different type of function from those pages.In flex3 how i can use different type of .mxml pag
View 2 RepliesIn the code below, the presentedAlbumIndex is used to control the selectedIndex of the TileList. Item "five" is initially selected. Whenever the button is pressed the first item in the array is deleted, and the presentedAlbumIndex is decremented.
In theory, the selected index should stay with "five" every time the button is clicked (until "five" is itself deleted). It works this way for the first button press. However, on the 2nd button press the highlighting changes to "six" for some reason. Also, the TileList selectedIndex is always one behind.
I tried looking into ListBase and monitoring selectedIndex. It looks like the selectedIndex is updated initially to the correct index, but then it reverts back at some point to the correct index+1. I do not know why it's setting back.
It seems it's due to the fact that I am doing a data provider delete and index change in the same operation.
Is there some function in TileList I could override to keep selectedIndex up to date?
Steve
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute"
[Code]....
Want to find out if facebook status can be updated through flex or air.
View 1 RepliesHow do I remake my swf for xml commands? "Remake" sounds silly, but I just want to have integer values updated by an XML file. This may be beyond my understanding. I'd like an example, a mash-up, or method I can work from.
myThoughts
- It needs to read XML "parse it etc"
- variables receive e:data instead "my struggle with passing values and function calls"
XML
//XML
<head>
<seq_no>text</seq_no>
</head>
[Code]....
I am trying to get the length of an array through mxml (not actionscript). I have the following:
<s:Application
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
[Code].....
Why does test2 show the correct array length but test1 is stale?
I have two tables: Person {pID, pName, deptID} and Departments {deptID,deptName}An SQL statement like this gets me the name of a person and the department name:
SELECT pName, departments.deptName FROM people INNER JOIN people.deptID = departments.deptID;
The above works fine. I have a Flex DropDownList that is populated with deptNames. When I click the submit button, I am able to obtain the ID of the selected department without problem:
protected function button_clickHandler(event:MouseEvent):void
{
person.pName=pNameTextInput.text;
person.deptID=pDepartmentDropDownList.selectedItem.deptID; //ID of selected department obtained correctly.
if (person.pID == 0)
[code]....
From the comment above, I see that adding person will indeed add the attributes of the person object to the datagrid, except that one attribute is a foreign ID (deptID) from departments.
I'm having a problem with getting a backend script to append an xml file after the client has uploaded a new image. A serate swf will read the xml to update banners
I got the image uploader to work but can't figure out the xml.
as3
Code:
// First thing is to set the flashing upload message clip to invisible
uploadMsg.visible = false;
// Set the URL for the PHP uploader script
[Code].....
I need to create a map of the U.S. that looks at a MySql database and highlights the states that have store locations and makes them buttons, and leaves the states that don't have store locations gray without button actions.
I understand how to create the individual states MCs with a gray state (no button) and a button state. I just need to know how to turn "on" the states from a MySql database.
I bought a Flash gallery recently which I'm trying to update but with no luck. I changed the stage size and published it with no problems but a pop-up MC is too big and controlled via the main.as. I modified the code like below and published the movie again but the pop-up remains the same size...
Code:
// a container store all the thumbnails
private var thumbnailContainer : Sprite = new Sprite();
// size of the thumbnail container
[code]....
I just discovered something funny I'd like to share with you. I'm making a background mc resize when a textfield gets input. In other words: the paper gets extended when you write close to its edge.The funny thing is that when I register a text input change and trace the content of the textfield, it doesn't show the new input yet. It's always one key behind
Code:
sometextfield.addEventListener(TextEvent.TEXT_INPUT, onTextEvent);
function onTextEvent(evt:TextEvent):void {
[code]......
I am using the scroll code from tutorials and it's working beautifully.
Except, scrollable content gets updated via XML and once that happens, viewable content location resets to the initial y position, which is the top of the content.
Since the height of the content movieclip changes - either reduce or increase - scroll function is called each time, but, it'd be desirable to leave the viewing location the way it was before update. So the user doesn't have to scroll back down to where they were. And update occurs every so often by a timer.
I have some code that will be generating data into a TextField. However I want to be able to monitor when the TextField is updated, a function is called.
Currently the onChanged command will only work when a user has entered information into the TextField and not when data is inserted via actionscript.
how I can monitor the change to the TextField when using actionscript to input data, but work the same as the onChanged command?
If I use an imported txt-file in my flash-move. Is it possible for flash to see if it has been uppdated ( last time saved ) the last five days?
View 2 RepliesThis seem like a silly question but as far as I've found: It's impossible to reload an xml file from a remote location while the SWF is running.
For example, I have a kiosk project that will run 24/7 (with a restart each night). I have an "calendar events" loading off an XML file that I want to keep on a webserver so I can update the kiosk by editing the XML file. However, the SWF caches the first XML file and keeps reusing it. I'm testing this by triggering a function that reloads the XML file with a button click.
I found trick that concats a unique ID to the file name which prevents using the old file but that means I'll have an ever growing list of XML files in the Temporary Internet Files folder.
I'm looking for information on how to best handle many sprites that are updated every frame. (A game with lots of characters and bullets) Is it better to:use one enter_Frame event and add a listener to all the objects that are updated every frame?give each sprite its own enterframe event? push all sprites into an array and iterate over them with the enter_frame function?
View 3 RepliesI have a multi-column DataGrid that I've populated only three of the seven columns with data. One of the columns are editable. The other three are not editable. What I intend to do is have the user enter data into the editable column. Once the data is entered, The other three empty non-editable columns will populate based on calculations done to the value in the editable column.The problem is that when I enter data into a row of the editable column, the data isn't being reflected as entered until I try to add a new row. Is there any way to get the value being entered into the cell right after it is entered without the user having to enter a new row?
View 1 RepliesI want to get the index of the image currently in the center of the carousel and then I want to use this index number in other classes but it has to stay updated each time.Isuccessfully managed to get the index of the image that is currently being clicked on (this image will then be moved to the center of the carousel so as long as one always clicks on an image at the start, my method will work ) but I dont know how to allow other classes to access this. I tried saving it as a static var and then trying to access it by using the following:
private var coverIndex : int = CoverFlow.selectedCoverIndex;
But I receive the error msg that selectedCoverIndex is not available to static class CoverFlow or something of that sort. This is what my CoverFlow code looks like (i.e. where I determine which image I want to position in the center):
public class CoverFlow extends Sprite {
public var covers : Vector.<DisplayObject>;
private var cover : DisplayObject;[code].............
I'm looking for a program that makes Flash slideshows without needing Flash experience, a nice drag-drop-like interface. The reason is I am making a website, where the top banner will be a rotating slideshow that the client will need to be able to update regularly. I've tried a variety of programs but run into the same issue: I need each slide in the show to have the photo on one side, with text on the other (much like the slideshow on [URL] page). But in most programs, the photo always takes up the entire slide and text can only go over the photo with very few formatting options.
View 1 RepliesI'm somewhat new to FMS. We're creating a chat application and using s remote SharedObject to keep everyone in sync about who is in the room. But despite the fact that I use the following:
_sharedObject.setProperty("groupList", groupList);_sharedObject.setDirty("groupList"); to force the shared object to update the list of who's in the room, for some reason it does not always update correctly when someone enters the room and adds themselves to the shared object. The problem seems to be that the SyncEvent.SYNC event does not always get sent all the time.
More troubling it that if the user closes the browser window or navigates to another page, NetStatusEvent NetGroup.Neighbor.Disconnect and NetGroup.MulticastStream.UnpublishNotify are not reliable to use to remove user's from the list. My assumption is that remote shared objects are just not that reliable in some cases. Should I use server side scripts to keep track of users and what groups they are in?
I recently updated a sound file in a flash movie. I had some aif files that I updated with a mp3 sound file. Within my movie there is a script for a replay button. It plays back fine when I play it, but when I press the replay button, it doesn't replay the sound, only the movie. Why I get no sound when I replay the movie?
View 12 Repliesi am working on an aplication using flex,adobe air...i have a datagrid with a XML as my dataprovider...during the execution of program my XML is updated....after XMl is updated and saved my datagrid should also get update..I have used Dataprovidername.refresh() method but it is not working.
View 4 RepliesI have a MovieClip which is just a progress bar animation with about 100 frames. Then I load a zip file using a URLStreamLoader and subscribe to the ProgressEvent.PROGRESS event. After loading starts I receive notifications correctly and I set the bar's corresponding frame using gotoAndStop(). Everything seems to work fine except for the animation not being visually updated.
It seems that the scene won't refresh until the zip file is fully loaded.