Actionscript 2.0 :: Source Object Values Not Reading Correctly
Apr 16, 2009
Basically, when a small link is clicked, the big title is meant to swoop down and the new page title is meant to swoop up. This isn't working, other than when the page is first loaded. The actionscript I'm using (as2) is:[code]
View 6 Replies
Similar Posts:
Jun 3, 2009
I've got a function which is constantly running to see if a set of movie clips (ball0_mc, ball1_mc etc.) have been placed in a target zone. Once the ballPlaced[#] value is true for a partiuclar moive clip, the movie clip starts acting in different ways depending on which other balls have been placed in a target zone (i.e. their ballPlaced[#] value is also true).
The 'if' and 'else if' conditional statements are contained within the playVideo() function which is constantly running through the ENTER_FRAME event. [code]...
View 1 Replies
Jul 26, 2009
Here's my xml file
Code:
<?xml version="1.0" encoding="UTF-8"?>
<gameData>
<category id='1' >
<name>Keeping your Credit Clean</name>
[code]...
The only problem is the 1123) and 2123). It should be 1 and 2.
View 3 Replies
Aug 28, 2010
i am having a problem when reading text form an external txt file into a textbox, the problem is that when i test/ debug my movie on my local computer the text displays from the file but after i have uploaded to my server and try and view it via the internet no text appears
Code:
var urlhome:String = "homeText.txt";
var loadit:URLLoader = new URLLoader();
[code]....
View 4 Replies
Mar 12, 2010
Currently I am using SWFDOTNET libray for reading and writing swf file,which supports swf file from version 1 to 7.Is there any other open C# source lib for reading and writing swf flash which supports swf file version 8,9 and 10?
View 1 Replies
Sep 13, 2004
from this file i want to read the values from <model> tag using a for loop with code. i don't know xml well.
[code]...
View 2 Replies
Sep 13, 2004
from this file i want to read the values from <model> tag using a for loop. i don't know xml well.
- <cat-product-structure>
- <Product_Group>
<ProductGroup>DI</ProductGroup>
[Code].....
View 2 Replies
Oct 8, 2009
i also tried with leaving the == true off - adds to zero The code files are at [URL]
New Code
Code:
substance.text = myVars.substance;
sum.text= myVars.sum;
score.text = Score;
[Code].....
View 1 Replies
Oct 8, 2009
i also tried with leaving the == true off - adds to zero The code files are at [URL]
New Code
Code:
substance.text = myVars.substance;
sum.text= myVars.sum;
score.text = Score;
[Code].....
View 0 Replies
Feb 14, 2010
As I've searched a lot and couldn't find it I thought of asking it here. Is there any good package or tutorial on Audio Manipulation? With this I'm not talking about play/stop/volume etc, but more on bitrate/speed manipulation etc. Or reading values in the sound (like an EQ does basically).
View 2 Replies
Oct 18, 2010
Basically, the user clicks on a button in a Flash movie and the following code is run:
Actionscript Code:
var variables_to_send_out:URLVariables = new URLVariables();variables_to_send_out.test1 = "this is a test";var myURLRequest:URLRequest = new
[code]....
View 1 Replies
Dec 9, 2009
DISCLAIMER: relatively new to Flex/AS3, I might be missing something obvious. After doing some research it appears that using the for(var property:String in object) does not guarantee the enumeration order of properties, however it doesn't say anything about modifying the VALUE that property points to as changing the for...in loop.
[Code]...
As a solution I can create a temp object to store the data while doing the loop on the original object, and then replace the original object with the modified data, but I'd like to know what exactly is going on.
So my question is, does the value of object property modify the looping order of the for...in construct? And if so, should it or is this a bug?
View 3 Replies
Jan 29, 2009
I'm basically sending some variables to a php script from flash and then returning some values back to flash from the script. The problem is that the values returned to flash are appearing correctly but do not test correct. My actionscript and php scripts are below (just samples displaying the the mechanics of what i'm trying to do):
[Code]...
View 3 Replies
Apr 15, 2004
I've written some php (w/ help from hans and some others, thanks!) and loaded it into to flash to make a list of images to read into a photo gallery. Then I wrote the function in order to be able to change images:
Code:
function changeSlide(number) {
if (number>=0 && number<images.length-1) {
currentSlide = number;
loadMovie(images[number], "_root.placeholder");
}
}
The length-1 part has to do with an extra string once the php is split, so dont worry. The images change on clicking buttons, which have the following codes:
forward
Code:
on(release){
changeSlide(_root.currentSlide + 1);
}
[code]....
View 2 Replies
Apr 15, 2004
I've written some php and loaded it into to flash to make a list of images to read into a photo gallery. Then I wrote the function in order to be able to change images:[code]The length-1 part has to do with an extra string once the php is split, so dont worry. The images change on clicking buttons, which have the following codes:[code]
View 2 Replies
Oct 30, 2009
I was trying to obtain data I wrote using a sharedobject location from one application on another, but it didn't seem to work(used same machine). So I take it local stored data is only allowed to be accessed/manipulated from the application that initially wrote data to it?
Is this is for security reasons? Is there anyway around this, I want to have one application read variables from another...
View 1 Replies
Sep 15, 2008
reading the index from an array object?
if I have done something like this:
Code:
var array:Array = new Array;
array.push "moose";
var arrayObject = array[1];
trace (arrayObject.index) //this is the part i am curious about. Cause i have written another function where i need that kind of information.
View 13 Replies
Apr 4, 2011
I'm working with a web service and am returning an array to a field (that I set the data type as an Array). The result thus far is "[object Object]". How can I get the array values back out as a string?
View 0 Replies
Apr 7, 2011
I donwloaded this small sample for jquery [URL] it is a plugin for a webpage and it displays a flash player to capture a qr code through a webcam. It shows the flash player in firefox and chrome, but it doesn't show it in IE. I do have the flash player in IE because i tried the project in this webpage [URL] and it does display the qr code. A person told me to check if it was embeded using swfobject and I checked the .js file of the project and it is embedding it as an swfobject, this is part of the code in the jqery.webcamqrcode.js
[Code]...
View 2 Replies
Sep 28, 2009
I have simple slideshow set up where the user presses a button(forward or back) and the image changes. I used a sharedObject to save each frame, so when the page is refreshed/reloaded, the swf loads back to the image it left off on... thats the idea anyway.However, instead of just loading the previous frame when the page is refreshed, it loads frame 1, and i have to click my "next" button, which then jumps to the slide that should have loaded in the first place. I dont know why this is happening..I'm using Sothink SWF Quicker.. so heres the .sqf[URL]
View 1 Replies
Sep 21, 2009
Ok, I've written a simple class with some string/number variables and set/get functions (tested by creating static objects).
ActionScript Code:
import EventClass;
var aEvent = new EventClass();
[code].....
View 1 Replies
Jan 23, 2012
I noticed something dangerous while working with AS3 - some objects (namely DisplayObjects / MovieClips) tend to remain in the memory and even perform actions after all references to them have been removed.
I work with Flash CS 5.5 and Flash Builder 4.6.
After getting rid of all references (including removeChild(...) from the Document Class) some objects just seem to stay alive.
This question might come off as a bit broad - but what I am trying to understand is what can I do to MAKE SURE that an object is picked up by the Garbage Collector? More so, how can I get some sort of feedback from the GC that signifies that a certain object has been destroyed? (For example, a console message)
View 2 Replies
Apr 15, 2011
explain why the lines drawn between the circles in the code below are not aligned with the centre of the circles? It seems the x and y properties of the circles are not up to date with their actual positions but how can this be?
import flash.display.Sprite
import fl.transitions.*;
import fl.transitions.easing.*;
var mcs=[];
[Code]...
View 1 Replies
Jul 29, 2011
I'm trying to serialize and deserialize a byte array to a string using Base64 for as3.
Here is my code
public function Serialize(vector:Vector.<Action>):String
{
var bytes:ByteArray = new ByteArray();
var serialized:String = "";
[Code].....
is the error I get after calling deserializedObj = deserialized.readObject(); Should I be get that error if I'm just trying to put this into an object? I'm not trying to put it into an action class object yet, but if it is then the action it's getting doesn't have parameters that were originally inside.
View 2 Replies
Aug 26, 2009
Our flex project, which works fine in its current environment with coldfusion 7 single server. We moved this project to Coldfusion 8 multi server, and updated the remoteobject paths relative to the web root.
The error we now receive is
faultCode:Server.Processing faultString:'Unable to invoke CFC - Could not find the ColdFusion Component or Interface myProject.cf.main.' faultDetail:'For details, turn on Robust Exception Information in the ColdFusion Administrator'
The path to the cfc's from the webroot is is myProject/cf/main.cfc ...
View 1 Replies
May 18, 2010
I need to save email-id in my login form through the cookies. if I use shared object I am able to save but my requirement is need to save in cookies. How can I save? I got sample code from net. Attaching that code `package com {
import flash.external.ExternalInterface;
/**
* The Cookie class provides a simple way to create or access
* cookies in the embedding HTML document of the application.
[Code].....
View 1 Replies
Oct 24, 2011
I am changing the flashvars variables v1=value&v2=value ect then after the flash movie runs I am changing the variables externally by javascript, so far so good.when flash first loads it reads the vars correctly.when I try to read them ( after the change ) it keeps reading the old values.[code]everything works except I cannot seem to read the changed FlashVars.
View 1 Replies
Sep 20, 2009
From a component I am working with.....If the target object has a property called source, which is used to set the path and file name of the media file to be loaded, then the list component will automatically set that source property."I am a little confused by what this really means.
View 9 Replies
Aug 15, 2011
I need to be able to load up different flash files when users click an image in my gallary. My current solution works perfectly fine in Firefox, but Chrome and IE are not working and it isn't giving any error messages. I use jquery to change the embed source
$('#flash embed').attr('src', msg.d);
<object id="flash">
<embed src="" type="application/x-shockwave-flash" width="800" height="600">
</embed></object>
View 3 Replies
Jan 11, 2011
I have a problem showing up a SWF file (Flash) in an ASP MVC file.I have problems adjusting the height to 100%. If this is showed in Firefox or Opera the result is the picture you see below (everything works fine under Chrome and IE).[code]
View 1 Replies