ActionScript 2.0 :: XML Loads But Appears To Be Empty?

Nov 14, 2007

I'm building a portfolio section of our website where we have several sections for example: TVC, DigiFX, Audio, etc.I have one xml file controlling that part which works a treat. The script reads the xml and places (depending on how many nodes are in the xml) x number of tv screens in a carousel style layout where the user can select a category. Now this is where things go pearshaped... When a user selects a 'TV' a variable is set to tell which category was selected and loads the appropate xml for that section.

I have a few traces which gives me this output:

SelectedTV = _level0.TV0
Current XML playlist= portfolio/TVC_playlist.xml
videos Array =
videos Array 0 = undefined
flvTitle 0 = undefined

[code]....

...and I have 7 <video url="" flvtitle="" desc="" client=""/>

P.S. This was done with CS3 but using AS2, since i first started the project with F8 and don't have the time at the moment to convert it to AS3.

View 5 Replies


Similar Posts:


ActionScript 2.0 :: Navigation Bar Appears Behind Empty Mc?

Jun 26, 2009

Im really stumped here the test site is at[URL]..where when you go to services, then the second button in the dropdown when you click on it loads an empty movie clip, but then for the "services" dropdown its behind the empty clip now and I cannot access anything else within that dropdown.

I have everything on my index in layers with the navigation bar section on layer 3 then the picture with the bird on layer 2. The navigation bar(layer 3) is a set of dropdowns which are movie clips, "services, logistics, etc" with buttons within each for the dropdown selections. I have the actionscript for each dropdown on the 20th fram of the movie clip(it goes from frame 1 to frame 20 on rollover of each movie clip). The script then is this on frame 20

[Code]...

View 5 Replies

ActionScript 2.0 :: Empty Movieclip (content) That Loads An External Swf?

Dec 11, 2006

I'm trying to make an empty movieclip (content) that loads an external swf move above some other movieclips after is is fully loaded, and another movieclip (stage_mc) hits frame 25. It needs to load behind and the stage_mc, then move above it when stage_mc hits frame25. I tried this code on the main timeline, and the main timeline is one frame.

[Code]...

and it's not working. I've also tried it without the this.onEnterFrame, and another variation on the content mc.None of these things are working.

View 14 Replies

ActionScript 2.0 :: Preloading Content - Empty Movieclip That Loads The External Swf

Jan 8, 2004

i have this code on an empty movieclip that loads the external swf.

[Code]...

frame 38 has the empty movieclip hidden by another movieclip saying loading. frame 39 is where the loading movieclip disapeers. but its not working.

View 3 Replies

ActionScript 2.0 :: Building A Project That Loads 30 Images In To Empty Movie Clips?

Apr 20, 2005

I am building a project that loads 30 images in to empty movie clips. I want one of the images to apear on top randomly. What is happening now is that the first swf in my loop always shows up on top.Here is a link to waht i am doing:Here is some code i am working with:

Code:
// Random range
function randRange(min:Number, max:Number):Number {

[code].....

View 2 Replies

ActionScript 3.0 :: Point Burst - Mc That Appears In Games When Click And +100 Appears?

Aug 10, 2011

Maybe the title is not self explanatory but in most  iphone games eg you click the correct example and you see a +100 points mc appear and rise and alpha out. I did this with a png done in photoshop BUT not all goes well - it doesn't work.

[Code]...

It seens perfct but I can't see it work. The funny thing is that the custom currentBubble - with a dot after you see the code hints but a dot after pb100 - you see no code hints. Well not normal.

View 2 Replies

ActionScript 2.0 :: Array With Empty File - Move The Empty Field Behind The Sorted Data In Every Sorting Behavior

Mar 3, 2009

I have a list of 99 item (something like a phone book) and I will like to sort them in different method. Part of the 99 item might be empty, so the requirement is to move the empty field behind the sorted data in every sorting behavior, here the code we have so far:

[Code]...

View 1 Replies

ActionScript 2.0 :: HTML Loads A Preloader That Then Loads The Actual Flash Movie?

Mar 28, 2009

Everything is embedded in an HTML site. The HTML loads a preloader that then loads the actual flash movie. Inside this movie I created a few buttons, inside a scroll bar movie clip. I want the buttons to load a whole new movie inside the same html. The code I'm using in the button is simply:

on(release) {
loadMovie("new_movie.swf", 0);
}

The problem is that it works beautifully in the Flash movie tester but doesn't do anything when tested inside the browser, embedded in the HTML. I think the problem is that the HTML embeds as an object the first movie, the preloader for the menu movie, not the menu movie itself.

View 3 Replies

ActionScript 2.0 :: When The Xml Menu Loads Swf File Its Structure Loads But Not Its Data?

Feb 23, 2010

have this flash xml menu that loads external swf files like this:

Code:
<item title="ABOUT"content_path="http://mysite.com/folder1/folder2/folder3/about.swf"target=""mouse_rollover_color="0xFFFFFF" mouse_rollout_color="0xDDDDDD" />

and I have this swf file with cms that I'd like for this menu to load. Currently the swf file load external text using this code:

Code:
if (contenturl1 ne "") {
loadVariablesNum(contenturl1 + "/" + userid + "/content.txt", 0);[code].....

but when the xml menu loads this swf file its structure loads but not its data.I tried using :

Code:
this._lockroot = true;

in the loading swf main time line but it did not work.I should also mention that the dynamic data that loads onto the swf that is to be loaded by the menu, resides not in it main time line but 4 movie clips deep .I don't know if that makes a difference or not.

View 1 Replies

Have An Animated Logo Swf File That Loads And Runs Once On The Home Page Every Time The Page Loads?

Jun 25, 2009

I have an animated logo swf file that loads and runs once on the home page every time the page loads. The logo has been updated to appear in three different colour schemes. I want one scheme to load and when the page is refreshed or revisited, one of the other colour schemes to load in its place. They can appear in any random order, just a different one to the one that played before reloading.Can someone point me to an answer or tell me how to do it? I have found a way in JavaScript but this only works on plain images, not swf files.

View 6 Replies

Actionscript 3 :: Check If A String Is Empty, Similar To String.Empty In .net?

Feb 18, 2012

Is there a static property in Action similar to that in the String object in .net to check if a string is empty, that is String.Empty.

View 2 Replies

ActionScript 2.0 :: Loads An External Swf That Loads 2 External Swf Files

Nov 21, 2005

the best way to do it but i have a preloader the loads an external swf that loads 2 external swf files. one on layer o and the other 1.it seems to load the swf on layer 1 twice.url...if i run the swf that loads the 2 external swf files by it's self and the same problem happens.mouse over the navagation button and then mouse over the close button and follow the animation down to were it turns back into the navagation button. sometimes the close stays up.if i run the swf file that just contains the navagation it dosen't happen.

View 2 Replies

Xml :: Record All Appears In Swf?

Jul 25, 2011

I am creating a card game and want to record all the movements of cards after login and choosing the seat.

this that how could i record all appears in swf??

View 2 Replies

Preloader Only Appears After 60%

Apr 3, 2009

I made a photo gallery website. Now I built a simple preloader in the first frame. When getBytesTotal=getBytesLoaded, then gotoAndPlay(2). There are NO library items exported in first frame (but there are items exported for Actionscript), BUT the preloader only appears when already 60% is loaded!Anyone any ideas what the MC does load before entering the first frame?

View 7 Replies

IDE :: Preloader Only Appears After 60%?

Apr 3, 2009

I added a simple preloader to my website in the 1st frame. When all is loaded, the movie continues to the 2nd frame. I had a few library items exported as actionscript and exported in first frame. I unchecked ALL export in first frame checkboxes. BUT (although my movie now misses a few MCs), my preloader still only appears when already over 60% of the movie is loaded. What is still being loaded before the movie enters 1st frame?

View 4 Replies

Flash - One Loader Appears In Two MC?

Jan 7, 2012

I've concluded that I have to use several Loaders. At first I was thinking "oh well I just use sixteen loaders", but do I have to? Maybe I should create only eigth of them? Then I found this tutorial. If I'm correct I just have to create eight Loaders, then addChild to correct img1/img2?

View 1 Replies

ActionScript 3.0 :: Error Appears In CS4 But Not CS5

Oct 17, 2011

So I created an animation with a preloader and a button. Whenever I view the animation in CS4, I get some null object reference errors- however, I couldn't for the life of me figure out why.

I decided to open the document in CS5.5 on my school computer- the animation worked perfectly! No errors anywhere. I exported the .swf file and opened it again on my laptop with CS4.

View 1 Replies

ActionScript 2.0 :: Why Its Only Appears 9 Images

Oct 27, 2004

I have a project of slideshow of images, it this with some defects, example, I have 10 pulled images being, but in the first time that I bring up to date one f5 in the HTML or Ctrl+enter in the flash, it alone he shows to 9 images it to me does not show the second image, and he finishes it is blank, does not appear nothing, but if I to leave it twirling, in the second time it shows the second image but he finishes it continues blank, acontence always, exactly if in param of the HTML I to only place 3 images, happens the same thing, follows the action.

imagem = new Array (_root.i1, _root.i2, _root.i3, _root.i4, _root.i5, _root.i6, _root.i7, _root.i8, _root.i9, _root.i10);
var QtdImagens = 0;

[Code]....

View 6 Replies

Text Appears As Mouse Is Dragged Around?

Jul 2, 2009

I'm just wondering if it's possible to have a page of text that is 'invisible' (for want of a better word) and when you move your mouse over the page, the text appears in a circle (of whatever radius) around the mouse point.The text would be clearest and darkest at the mouse point, and fade out towards the outer circle, and 'appear' smoothly as the mouse is dragged around the white page.

View 3 Replies

ActionScript 1/2 :: LoadMovie Not Working At All (nothing Appears)?

Aug 26, 2009

i know this is a basic procedure but im having problems with loadMovie. Heres my code
 
import mx.transitions.Tween;
import mx.transitions.easing.*; 
this.createEmptyMovieClip("holder_mc", "holder",0);
holder_mc._x = (Stage.width)/2;
holder_mc._y = (Stage.height)/2;

[Code]...
 
Im geussing its a problem with nesting movieclips with code and the solution is to do with something im un aware of because of my lack of experience,

View 7 Replies

What Appears To Be A Bogus Error Message

Sep 2, 2009

Any work-arounds to what appears to be a bogus error message?Multiple buttons to control a movie and one (defined with the exact same process/steps as the others) results in the 1120 error.[code]No syntax error, but test run results in 1120 error on the P_button event.Instances are established for both and the names are spelled correctly.  Is there some undocumented feature about what characters can't be used in instances and button/movie definitions?

View 2 Replies

ActionScript 1/2 :: Load Something When The Frame Appears?

Sep 6, 2010

i have a button load_swf that does that:

swf_path="sample.swf"
load_swf.onRelease = function() {
loadListener.onLoadProgress = function(target_mc:MovieClip, bytesLoaded:Number,

[code]....

View 1 Replies

Actionscript 3.0 :: When Define A Width, Nothing Appears

Dec 3, 2010

This works....

Code: Select allvar imgLd:Loader = new Loader();
imgLd.load(new URLRequest("multiply.jpg"));

[Code]....

but when I try do define a width, nothing appears

Code: Select allvar imgLd:Loader = new Loader();
imgLd.load(new URLRequest("multiply.jpg"));
imgLd.blendMode = "multiply";

[Code].....

View 1 Replies

ActionScript 3.0 :: Text Appears Doubled?

Apr 16, 2009

these are dynamic textfields, and everything is tweened from alpha 0 to 1 at inital loadand this screenshot is taken like one second before second one; look at the first picture, the text is all nice and crisp:now look at the second one, when it tweens to alpha 1, it looks like there is a "second pass" of text over the inital one it looks like it doubled itself:

View 2 Replies

ActionScript 2.0 :: MC Appears Randomly On The Stage After 1 Second?

Mar 25, 2002

i want that a MC appears randomly on the stage but with the time...like 1 second, and then after 1 second, it randomly appears somewhere else on the stage (800x600).

View 6 Replies

ActionScript 2.0 :: MC Appears At Random Times?

Feb 24, 2004

I am wondering how to make the MC "bonus" appear at random times onto the stage and stay until the MC has stopped playing or it has been clicked on.

I.e

- after 5 seconds, "bonus" appears on stage.

- the 20 frames inside the MC play and then it disappears.

View 2 Replies

ActionScript 2.0 :: SetDepth - Another Instance Appears?

Mar 24, 2004

When i use the command

menus.setDepth (2)

I get another instance of the same movie appearing over top of the original on the specified depth of 2. Both are visible.Is this the way its supposed to work or is there a way to get rid of the old instance on its original depth?

View 3 Replies

ActionScript 3.0 :: Having Flex To Do Function Everytime It Appears

May 6, 2009

I've noticed if I use initialize="myfunction()". Once "myfunction" has ran it will never be ran again if i use initialize. I need to reset a form basically. Or anything else I can use instead of initialize that will run the function every time.

View 1 Replies

ActionScript 2.0 :: MX Dynamic Text Appears And Sometimes Doesn't Appear?

Aug 14, 2009

I have a complex workflow movie that is almost entirely loaded with dynamic text populated by XML files. The problem is that when I view the movie the dynamic text doesn't always appear on some frames. If I click back out of the frame and then click back into it the dynamic text appears.

To simply what I am talking about:Frame 1 has a button on it that opens frame 2.The button on frame 1 is clicked and frame 2 opens however no text is displayed.The 'back' button on frame 2 is clicked returning the movie to frame 1The button on frame 1 is clicked and frame 2 opens again, but this time all the text displays as it should.The coder bangs his head on the table and exclaims 'WTF?'

View 6 Replies

ActionScript 2.0 :: MX Dynamic Text Sometimes Appears And Sometimes Doesn't

Nov 17, 2009

I have a complex workflow movie that is almost entirely loaded with dynamic text populated by XML files. The problem is that when I view the movie the dynamic text doesn't always appear on some frames. If I click back out of the frame and then click back into it the dynamic text appears.

To simply what I am talking about:Frame 1 has a button on it that opens frame 2.The button on frame 1 is clicked and frame 2 opens however no text is displayed.The 'back' button on frame 2 is clicked returning the movie to frame 1The button on frame 1 is clicked and frame 2 opens again, but this time all the text displays as it should.The coder bangs his head on the table and exclaims 'WTF?'

View 3 Replies







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