ActionScript 3.0 :: Quick About Loading From A Php File?

Oct 6, 2010

Here's my problem in a nutshell. I have a database (mysql), then i get data from an external php file that connects to the database. I use URLReqest and URLLoader to access the php file.

My question is, when i change data in my database, the change reflects in the php file. But when i access the php file from Flash, it doesn't refresh. I have to make a new php file, then access this new file to get the updated data.

[Code]..

View 2 Replies


Similar Posts:


ActionScript 2.0 :: Flash Not Loading Quick Enough

Mar 22, 2005

Ok, the WD who designed my site put a flash header at the top w/ my testimonials. Now I have another WD fixing stuff on my DW template & there seems to be a problem for me in Fire Fox. Whenever I go onto certain pages, the flash catches & doesn't load smoothly with the rest of the page or some times not at all. See page... [URL] (or any page in that test folder)

I'm about to launch the site & he says there is nothing wrong, but this didn't happen b4 & the last thing I want is for my beautiful site to show white space at the top LOL He had deleted the flash cards (is that what they are called?) saying the testimonials are in the flash file, but I still have them on my HD just in case. Can someone tell me what the problem is & how to fix it. This is my first time using flash & I want it to be a positive experience for all.

View 2 Replies

ActionScript 2.0 :: Flash - Not Loading Quick Enough?

Mar 22, 2005

Now I have another WD fixing stuff on my DW template & there seems to be a problem for me in Fire Fox.Whenever I go onto certain pages, the flash catches & doesn't load smoothly with the rest of the page or some times not at all. See page... I'm about to launch the site & he says there is nothing wrong, but this didn't happen b4 & the last thing I want is for my beautiful site to show white space at the top LOLHe had deleted the flash cards (is that what they are called?) saying the testimonials are in the flash file, but I still have them on my HD just in case.Can someone tell me what the problem is & how to fix it. This is my first time using flash & I want it to be a positive experience for all.

View 2 Replies

ActionScript 1/2 :: Generate Array Whose Elements Are Each Arrays To Make Quick Loading Database Of Sorts

Jul 7, 2009

I'm trying to figure out how to generate an array whose elements are each arrays to make a quick loading database of sorts.the main array could essentially be something like "employees" while each employee would have demographic data like age, salary, gender, etc.In some cases the information on some employees would be greater than others, and options created by "push" would imply the number of elements within each employee array would be variable until generated.[code]But I get the feeling this type of array as it is currently described doesn't lend itself well to adding new elements in the way I've described.My goal is once an employee's information has been entered and saved, I can call up their info by array number like aEmployee[2], and if employee 2's name is Bob, then Bob's name would appear in the text field, along with all the other fields related to Bob's array, such as being male, 42 years old, and living in Witchita Kansas.Would I modify a multidimensional array, or do I want an array within an array, and is there a way to add "arrays" as elements?

View 8 Replies

Professional :: Improve The Quality Of The Quick Time Movie File?

Apr 10, 2011

When I press command + option + enter, the graphics looks very good but when I look at the quick time mov I saved, its so bad. It's fine if I 'drag' the quick time window to the smallest but when I look at it in full screen mode, the picture is so bad... What can I do to improve the quality?

View 2 Replies

ActionScript 2.0 :: Quick Code Fix For Externally Loaded Flash File?

Feb 8, 2007

i have a test website here which has externally loaded files coming into the container on the main index page. the code on the buttons at the top right hand corner have this code on each of them for the externally loaded .swf files to come in:

on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "contact";
container.loadMovie("contact.swf");

[code].....

and that all works perfectly fine. what my problem is is when i click on the "contact" button and i'm on that page. on the left hand side column towards the bottom, i have a block of text with one red word. i want that word to bring in the f.a.q. page (and replace the contact page i'm currently looking at) which can also be accessed from the top nav. just a little thing, but i wanted to learn how to do it.

i've put the same code into the invisible button that says "faq" which is identical to the code listed above except i changed all instances of "_root" to "_parent" but that didn't do it. i think it's something like that that would have to do with the problem.

View 4 Replies

Professional :: Way To Email Flash File To Large Group Of People For Quick Viewing

Dec 6, 2010

I'm trying to figure out the best way to email my flash file to a large group of people for quick viewing.There are people with all different kinds of software and computers, so I don't want to zip anything.The projector file I made is too big to send out.Does anybody have any suggestions on how to email flash files for quick, simple viewing?

View 4 Replies

ActionScript 2.0 :: CheckBox & XML Quick Bug?

Nov 6, 2007

I have a small big (well I hope it's small, that I can't see where I am goign wrong).

I have a check box and when the user selects that and then clicks a ok button then it should load some new XML into a textfield. The problem is it doesn't seem to want to get past the actual function. I know with the trace statement that it knows it's selected and the OK button has been clicked but it just won't go to the loadXML function. Can anyone see something I'm not?

[Code]...

View 2 Replies

ActionScript 2.0 :: Quick Falling Snow ?

Dec 1, 2005

is it possible to have the snow moving from right to left?someone had designed something completly sideways as they were rotating there monitor 90 degrees instead of buying a video card that would do it for them.

View 3 Replies

ActionScript 3.0 :: Quick ColorTransform Of Button Clicked

Apr 18, 2009

I wrote a simple class to tranform the color of the btn clicked to a random color everytime its clicked but my lack of understanding of AS3 is giving me deadends, I'm not sure how to set it up and my current set up its giving me the following error:
ReferenceError: Error #1069: Property event not found on flash.geom.Transform and there is no default value.
at colorChanger$iinit() at mainBeta2_fla::MainTimeline/setName()
 
So this is my colour transform class:
package { import flash.display.MovieClip; import flash.events.*;
import flash.geom.*;
public class colorChanger extends Sprite {
// Not sure if I should put e:MouseEvent or a pass a variable to the function
public function colorChanger(colorPass) {
[Code] .....
I need the button to change to a random color everytime its clicked and I'm using a custom class because I have over a dozen buttons in one time line...

View 3 Replies

ActionScript 3.0 :: Super Quick Drawing Effect?

Apr 27, 2011

I want to end up with the following effect. Bitmap pencil quickly moves accross the canvas diagonally and reveals an image. The image itself is drawing so I kinda want to make the illusion that the pencil draws whatever is on it. I don't want the pencil to follow the actual line in the image just to ask like a mask and quickly reveal the picture. So I was wondering if there is any cleverer way to achieve this, instead of animating everything manually

View 1 Replies

ActionScript 2.0 :: Quick Mouse Take Off From Button OnRollOut?

Mar 20, 2012

I'm going to create simply menu in AS2 and everyting is ok except this onRollOut.

"on", "off", "start" = are labels

My code in first frame:

Code:
stop();
this.onRollOver = function() {

[Code].....

and problem is that when I quick take off mouse from button the efect is not disapear.

View 3 Replies

ActionScript 2.0 :: Frame Rate Quick Code?

Mar 12, 2005

this seems so simple but i cant figure out the logic or commands to do it.Q. How would i make a movieclip with a text box inside called FrameRate show the frame rate.To make it easy im just going to put the code on the movieclip itself.

View 3 Replies

ActionScript 2.0 :: Quick Troubleshoot: Preloader With External MP3?

Apr 27, 2005

I had a preloader that would load in some external SWF's... and now decided to also preload a sound I am importing using aSoundObject.load(). This is how I added the sound to the preloader:

Code:
mySound = new Sound();
mySound.loadSound("som/fundo.mp3", false);
bytes = myExternalSwfContainer.getBytesTotal() + mySound.getBytesTotal();
loadedBytes = myExternalSwfContainer.getBytesLoaded() + mySound.getBytesLoaded();

For some reason, whenever the preloader starts now... it'll start something around 70%, so I traced the loadedBytes and found out that it thinks its already loaded about 100Kb on the first loop through (even though it hasn't). So then, the preloader reaches 100%, calls the site, and the sound isn`t even loaded in completely yet.

View 4 Replies

ActionScript 2.0 :: Variables Passed In From HTML / Not Quick Enough?

Mar 11, 2008

I'm having a bit of a problem with external vars and timing.I'm building a custom FLV player. In the parent HTML I have some boolean variables that I'm passing to the SWf, stuff like autoStart and loopPlayback.[code]The problem is that line gets executed before the external var gets in, I think. If I place a dummy var at the top of the AS then everything works fine. And the external var is definitely getting passed in, I have setup a check for that.I would need something like loadVars.onData ...but I'm not using loadVars, I wnat the vars to come in from the SWFObject HTML, or maybe a query string.

View 2 Replies

ActionScript 2.0 :: Tapping Game - Quick Key Pressing

Oct 26, 2002

I have this tapping game where I need to quickly tap a key, but I don't know how to do it in Flash... All I know is on(KeyPress) but that allows me to simply hold down the key...How to increase a scale of something (lets say a bar) every time spacebar is pressed or released, but having to tap spacebar instead of holding it...

View 9 Replies

MX04 Quick Question About Dynamic Text Fields

Nov 29, 2009

I'm making a simple program in Flash MX 2004 and I can't figure out if what I'm trying to do is possible.I have an animation of a card flipping over. It's a movie clip with a dynamic text field placed on it.It animates fine, but the text only shows up when the animation stops, not while it's moving.Is it possible to have a dynamic text field actually move with the animation? (rotate, resize, etc...)

View 3 Replies

ActionScript 3.0 :: Quick Time Movies Not Playing Audio

Nov 12, 2009

Using Flash CS3, Actionscript3.0, Player Version 9.0

My video player plays H.264 videos.

But some of my Quick Time movies are not playing audio. Only video is working.

View 1 Replies

ActionScript 3.0 :: Create A Quick Access To An Object With A String ?

Sep 8, 2011

I'm trying to create a quick access to a object with a String as it's key, so I wrote:

"var map:Object = {};
map["key1"] = object1;
map["key2"] = object2;
..."

Is there any difference about the performance between long key and short key(the length of the String used as a key)? If the key contains many charactors, will it slow down when accessing that object?

View 3 Replies

Flash :: Function Calls In Quick Succession Fail

Jun 10, 2011

I'm implementing AMF service methods for an flash front-end. Normally things work fine, but we've found that if two methods are called one right after the other, the second call returns null to the flash front-end even though the method actually completes successfully on the PHP end (to verify this, I dump the return data to a file right before I return it).

View 3 Replies

ActionScript 3.0 :: Effective / Quick Management Of Elements On Webpage?

Jun 6, 2010

Just a question about a page im building.. it may not be the optimal method of doing it (and im open to other suggestions) but still would like an answer to if the below is possible... Every time I switch pages, the 'new elements specific to that page' are created with AS3, placed on the page, animated etc etc. On frame one I have attached to each button a 'check' for the destination when the button is clicked and based on where the user currently is, all elements from that section are removed from the stage.

My question... I am removing each element individually by its name.. and some sections are quite large and i plan to modify heavily continuously. Can I add them to an (invisible) container of sorts in each of their respective sections and then remove via some kind of '.childrenOf' method ?? eg. when user is in the 'about' section of the site and clicks to go 'home', all elements in 'about container' are removed via 'for all childrenOf about_container ?

View 0 Replies

ActionScript 3.0 :: Quick Memory - Use The Flash IDE To Create Sprites And MCs?

Jul 20, 2011

I use the Flash IDE to create Sprites and MCs really quickly, but is it better to create assets at run time using the graphics funcitons or to just instantiate things from the library?

View 2 Replies

ActionScript 2.0 :: Rollout Gets Stuck On Quick Mouse Movement?

Oct 18, 2005

The main FLA has buttons linked to external swf files that are nested in a layer inside an html file. When rollover occurs, it opens up corresponding swf file. Problem is that when a user moves mouse too quickly over the stage, the rollout gets stuck in the last button the mouse posssibly passed by.

View 4 Replies

ActionScript 3.0 :: Quick Calculation Based On The Mouse Position?

Jun 16, 2009

I have am wanting to do a quick calculation based on the mouse position.here is what I am trying to do.I have an item the site on the stage

stage.width = 400;
object.width = 900;
object.x needs to be at its most -900 and at its least -225.

and based on the mouse position on the stage object will scroll within these bounds.I have all the functional done but just need to know the basic equation to find these points.

View 3 Replies

ActionScript 3.0 :: Quick Method For Declaring Multiple Variables?

Apr 30, 2011

I am writing a program that requires the use of 36 boolean variables with different names (e.g. box1, box2...): does anyone know of a quick way to optimize this program.

View 5 Replies

Javascript :: Defer Loading Elements Until Flash Gallery Images From XML File Finish Loading?

Nov 15, 2010

How would you defer loading of other graphics on the page until after the images in a Flash gallery's images.xml file are finished loading?Is there any way to detect for this, or would I only be able to check if the flash swf object is finished loading? I'm pretty sure the swf object would be loaded/ready as with document.getElementById('flashobject').onload = function(){}; before the corresponding images have loaded though, instead of after.

View 1 Replies

Flash :: Professional - Export To Quick Time Movie (Ghosts)

Apr 1, 2011

I just exported a flash project to create a Quicktime Movie and there are artifacts in the Quick Time Movie which do NOT exist in the flash project or the SWF file. Would anyone be able to explain why the ghosting is appearing in the movie file?

View 4 Replies

ActionScript 3.0 :: Quick Shared Object To Tell How Long Had Been Viewing The Page

Jul 15, 2011

Was at a site the other day that used a shared oject to tell me how long I had been viewing the page. I left the page, came back and the counter restarted right where it was when I left. This is cool, but what if there are say 30 people viewing the same page at the same time? As I can't write the code "myObject = new sharedObject" to get a new instance of the shared object, how is this done? Or, when I use the "get local (remote) sharedObject" does that give me a new instance of the shared object? Or is there only ever 1 instance of a shared object?

The reason I ask is say I'm writing a multipalyer game, and I want to store user information in a shared object so it displays in everyones swf. Well If I have only 2 people playing the game, fine, that's 2 shared objects. But what if there are 100 people playing the game? Or am I looking at the shared object use all wrong in the first place? I only have a small pea sized man brain so the logic escapes me...

View 4 Replies

ActionScript 2.0 :: Quick Frame Animation - Reversing It Manually In The Timeline?

Sep 30, 2003

Was just wondering if its possible to somehow have some AS code, to play like 1-20 frames backwards, instead of copying it to like 21-40 and reversing it manually in the timeline

View 1 Replies

ActionScript 3.0 :: Detect Actual Mouse Position After Quick Motion?

Mar 9, 2007

I am replacing the mouse pointer with a custom graphic in an .swf that takes up part of a web page (.swf stage is about 350px wide, total layout is about 1000px). My code is all working fine, except that, if you move the mouse fairly quickly -- as you might do to get from a point on the .swf to the opposite side of a large monitor -- the .swf loses track of the mouse, and thinks that the ._xmouse/._ymouse values are still the same as the last point that that Flash saw the mouse, which is usually somewhere in the middle of the stage, thus "orphaning" the custom cursor. If I have a setInterval or something tracing the mouse position, the .swf still thinks that the mouse is sitting on top of it, even though the cursor is actually far away somewhere else. hitTest also still returns true as though the mouse was there (as you might expect, given that it's based on _xmouse/_ymouse).

The workaround/hack I have going now is that, once the pointer switches over to the custom cursor, it starts a setInterval, and then if the mouse appears not to move for a few seconds, it reverts back to the default cursor (i.e., Mouse.show). Obviously, this is not optimal, because that means that the custom cursor disappears if you don't move the mouse for a second or two, and it doesn't really solve the problem anyway because it still looks like the custom cursor gets stuck for a second when you move too fast.

[Code]...

View 4 Replies







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