Please Help <pays $20 To Anyone Who Reads*>
Anyone with Frontpage know how to upload movies thru FP? I tried.. but cant seem to figure it out (using .swf) ANY help appreciated
*virtual, invisible cash*
FlashKit > Flash Help > Flash Newbies
Posted on: 11-12-2001, 11:08 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Scroll For Dynamic Text *urgent - Pays*
Ok,
Hello everyone..! i have this problem :
I have this site www.selgec.pt and in "Ofertas de Emprego" i have a dynamic text thingy which is basically a graphic with text from a data base in it, multiplied by the number of fields in it too. So far so good, everything works but as you can see.. it need a scroll ! Stupid problem.. but i don't know how to resolve it ! I use Flash CS3 in a iMac G5.
Can anyone help me with this ? It is *extremely* urgent, and i can pay to whoever helps me today. I need this *that*bad* ! eheh
Cheers
Expert Needed To Intergrate Ticker Swf Into Video Movie - Pays $50.
The specification for this change is;
1) it must be developed in Flash 4 (not MX and published in 4)
2) only shows scrolling text when mute is selected
3) If shown either background animation stopped or text shown as top layer - so animation does not obscure trying to read the writing
4) the quality of the letters must be a replication of the example
5) currently the ticker scrolls out one character at a time which is making it difficult to read. Could the words be spooled appropriate to the word length as opposed to each letter, as easier to read.
e.g. Current:123456789. . . New: 1(first block) 2( second block) . . .
____________Online re. . . . .Online____________recruiter . . .
(_=spaces)
6) if the movie is paused the text scroll should also pause (vise vera with play button)
Movie - Http:////www.vrec.co.uk/vrec_ban.fla (play vrec_ban.html)
Ticker - http://www.vrec.co.uk/text.fla (play .swf (play text.html)
Any takers?
I"m Looking For A Few Good Reads....
Hello,
My employer needs to finish spending the rest of the money in our university budget... so here I am looking for recommendations for good books, magazines, or training CD's that are flash,graphic arts, and or web design related.
If you know of items to avoid purchasing... I'm all ears.
Thanks a bunch,
Tom Phillips
(Sig-Ep JCU)
Function That Reads Different Arrays
Hi,
I build a function that reads from an array like this:
questionClip.vText = questionArray0[currentQuestion+1];
I have different arrays named:
questionArray0
questionArray1
questionArray2
questionArray3
questionArrayn
...
Now I've tried to change the code to:
questionClip.vText = questionArray+number[currentQuestion+1];
That doesn't work
Does anyone know how to pull something like this off?
LeadmaN
Actionscript Reads In What Priority
in this example, if both in and out are true, it seems like "in" wins (the nextFrame function kicks in) - why? what're the rules governing that sorta thing?
Code:
stop();
onEnterFrame = function () {
if (_root.in) {
nextFrame();
}
else {
prevFrame();
}
if (_root.out) {
prevFrame();
}
}
id like to not have either one 'win' - i want to say "if _root.in is true and _root.out is not true (as opposed to false), nextFrame, otherwise prevFrame" but maybe im scripting it badly cos neither of these funciton perfectly (all of them work ok, but not perfectly).
Code:
if (_root.in && !_root.out) {
nextFrame();
} else {
prevFrame();
}
Code:
if (_root.in && (!_root.out)) {
nextFrame();
} else {
prevFrame();
}
How Flash Reads Code
Is there a danger that the play head will move past a frame before flash has a chance to read/process all the code on that frame? Or is flash programmed to not move on until it has processed (and/or executed?) everything on a frame??
thanks in advance!
-ml
Cached File Reads
Hey,
I'm trying to open an XML file through flash. The trouble is that I open the same file a few times, and it contains different information each time. Flash seems to be caching the file after the first read, and then every time after that it only reads the cached old version of the file. Does anyone know a way around this?
[F8] Loading Swf That Reads Flv File Into Another Swf
Hello everyone,
I posted this in the general help but thought many it belongs here! I apologize.
I am trying to get an external swf to play in my movie but can't seem to get it going. I am using Flash 8.
I converted a .mov video into a flash file. Actually the converter created 1 swf file and 1 .flv file. This movie is called clouds_512K.swf and can be viewed at:
http://appliednetsec.net/flash/clouds_512K.swf
Basically clouds_512K.swf is 13 kb in size and grabbing the content from the .flv file in the same directory.
Now when I insert loadMovieNum("clouds_512K.swf", 0); into a MovieClip of ANOTHER swf called "test" the clouds movie no longer loads. You can view that at:
http://appliednetsec.net/flash/
So basically what it comes down to is I don't know the proper coding (I hope) but this is what has to happen.
SWF named "text" loads the movie titled "clouds_512K.swf"
The swf titled "clouds_512K.swf" loads the data (the movieg clouds) from the .flv file in the same directory.
How can I make this work?
Thank you,
Mark
Item In Array Reads Undefined-help
In the following code I load in video titles from a text file. There is a maximum of 5 titles that can be displayed on the stage. As long as I have the maximum all my titles show up in the stage, but if I have less then 5, I get a "undefined" on the stage were a video title would be. How can I check for this condition?
Code:
function info(myVar) {
//trace(myVar);
MyLoadVars = new LoadVars();
MyLoadVars.load("CdTypes/"+myVar+"VIDEO TESTIMONIAL.txt", "Videos");
MyLoadVars.onLoad = function(success) {
if (success) {
//////////////// show video choices in text boxes /////////////////////////////////////////
for (i=0; i<5; i++) {
_root.attachMovie("VideoText", "video_mc"+i, 60+i);
_root["video_mc"+i].v_text.html = true;
_root["video_mc"+i].v_text.htmlText = "<font face='Garamond' size='12' color='#000000'><u><b>"+this["video"+i]+"</b></font>";
_root["video_mc"+i]._x = 600;
_root["video_mc"+i]._y = 250+(i*20);
////////////////// on click play video /////////////////////////////////////
_root["video_mc"+i].onRelease = function() {
//trace(this.v_text.text);
//trace("videos/"+this.v_text.text+".flv")
_root.Big_videoText.name.text = this.v_text.text; // add text of selected item into text box above videos
_root.myMedia.play(0);
_root.myMedia.autoPlay = true;
_root.myMedia.activePlayControl = true;
_root.myMedia.controllerPolicy = 'on';
_root.myMedia.totalTime = 30;
_root.myMedia.setMedia("videos/"+this.v_text.text+".flv", "FLV");
///////// keep track of how long the video is playing /////////////
var myListener = new Object();
myListener.complete = function(eventObject) {
trace("media is Finished");
//gotoAndPlay("someframe")
};
myMedia.addEventListener("complete", myListener);
};
}
} else {
trace("not loaded");
}
};
}
How Refresh A Flash That Reads From A File
hi all,
i just want to know if there is a way to update a dynamic text that is gets its value from a text file. For example when the flash starts it reads the value 5 from the text but after that the value in the text changed and become 4.
how can i update the dynamic text file after updating the text without close the flash and reopen it again.
Thanks alot
How Do I Load A Movie On Another Domain That Reads XML?
How do I load a movie on another domain that reads XML?
I have a flash file: abc.swf.
This reads xyz.xml.
Both reside on: www.mywebsite.com.
I want to have a HTML file on: www.myotherwebsite.com that contains a link to www/mywebsite.com/abc/swf.
OK... I had no idea this isn't straight forward.
I've been looking a the following for some guidance:
http://www.moock.org/asdg/technotes/...inPolicyFiles/
But... I'm not getting anywhere.
I've created the crossdomain.xml file and stuck it on www.mywebsite.com.
This didn't work.
The instructions weren't clear at all.
So... I stuck it on www.myotherwebsite.com as well.
Still no luck.
Where am I going wrong?
Thanks.
OM
How Do I Load A Movie On Another Domain That Reads XML?
How do I load a movie on another domain that reads XML?
I have a flash file: abc.swf.
This reads xyz.xml.
Both reside on: www.mywebsite.com.
I want to have a HTML file on: www.myotherwebsite.com that contains a link to www/mywebsite.com/abc/swf.
OK... I had no idea this isn't straight forward.
I've been looking a the following for some guidance:
http://www.moock.org/asdg/technotes/...inPolicyFiles/
But... I'm not getting anywhere.
I've created the crossdomain.xml file and stuck it on www.mywebsite.com.
This didn't work.
The instructions weren't clear at all.
So... I stuck it on www.myotherwebsite.com as well.
Still no luck.
Where am I going wrong?
Thanks.
OM
HtmlText Still Reads Txt Break Lines?
I'm importing text from my movie from a txt, in the xtx there variables and some text's to be loaded, the fact is that Flash still want to read the txt break lines so a text like this:
hello<br>
My name is Lucas.
is rendered with all the spaces in the txt plus the space given by the <br>, is this normal?
Slideshow That Reads Pictures From The Directory
Hi,
Has anybody seen a Standalone Flash script - a slideshow, that reads
pictures from the directory,
and updates itself every time the new pictures are added to the directory?
Can anyone point to the direction where should I look for such a script?
Thanks in advance,
Bare
Function That Reads And Returns A Value From An XML File
Hi,
I've been able to read an XML file using the following code but the problem is that the function "clientInfo" always returns noting. The issue is that Flash doesn't wait until the XML load is done and continues executing the next line which in this case is the function return. Is there a way to create a function that reads a value from an XML file and returns it?
Thanks
Attach Code
function clientInfo(clientObj)
{
var theXML = new XML();
var clientName = "";
theXML.ignoreWhite = true;
theXML.onLoad = function()
{
var nodes = this.firstChild.childNodes;
if(this.firstChild.firstChild.nodeName != "exception")
{
clientName = nodes[0].childNodes[0].firstChild.nodeValue + " " + nodes[0].childNodes[1].firstChild.nodeValue;
}
}
theXML.load("client.xml");
return(clientName);
}
var clientObj:Object = new Object();
clientObj.clientID = "1152288648396";
trace("Return value: "+clientInfo(clientObj));
Php Generates Xml, Flash Reads Problem
hi everyone,
i'd like to know if this is possible:
currently i have a file menu.xml which contains menu information 2 levels deep (main menu, sub menus). this i am reading into flash and generating the menu.
i would like to change this process:
1. call a php script which creates the xml output and using headers sends that data back into flash. sending and loading vars is no problem.
2. use flash to generate the menu
question:
when i call the php script can i save the xml output into a string (within flash) and then use the string to create my xml object --
thisXML.load("submenus.xml"); --- can i replace submenus.xml with the string?
i really do not want to edit the way the menu info is being read -- what i mean is i want the data being passed to the menu generation in xml format and not rewrite it if i need to pass a string.
thanks for your help,
-chris
Menu That Reads Access Data
Hi everyone, this is my first post in Kirupa forums!
I need your help because I have a little thing to do and I don't know how (or even if it's possible).
I need to create a Flash menu that will receive the text for the various items from an Access database, the fields of an .mdb file to be exact. I know that integration between MySQL and Flash is possible but how about Access? I've done some searching but haven't been able to clear this out.
If anyone knows how to do this, I'd be very grateful. Thanks...
How Do I Load A Movie On Another Domain That Reads XML?
How do I load a movie on another domain that reads XML?
I have a flash file: abc.swf.
This reads xyz.xml.
Both reside on: www.mywebsite.com.
I want to have a HTML file on: www.myotherwebsite.com that contains a link to www/mywebsite.com/abc/swf.
OK... I had no idea this isn't straight forward.
I've been looking a the following for some guidance:
http://www.moock.org/asdg/technotes/...inPolicyFiles/
But... I'm not getting anywhere.
I've created the crossdomain.xml file and stuck it on www.mywebsite.com.
This didn't work.
The instructions weren't clear at all.
So... I stuck it on www.myotherwebsite.com as well.
Still no luck.
Where am I going wrong?
Thanks.
OM
Reads Package But Doesn't Add Child
Hi all,
I got some help here from Charleh here earlier but am syuck on another problem and have no idea why?
I have my main FLA with a doc class of Main. The following imports some nav sprites from the Main class and does load the MainText class (traces the 'done' at the end of it) but doesn't actually add the text - any help here would be much appreciated!
(happy weekend to you all!)
Main.as:
package {
import flash.display.Sprite;
import flash.display.MovieClip;
public class Main extends Sprite {
public function Main():void {
doBuild();
var mainText = new MainText();
}
public function doBuild():void {
var Navigation2:Sprite=new rightPanel2();
addChild(Navigation2);
var Navigation:Sprite=new rightPanel();
addChild(Navigation);
}
}
}
The MainText.as:
package {
import flash.display.MovieClip;
import flash.text.*;
public class MainText extends MovieClip {
public function MainText() {
var css:StyleSheet = new StyleSheet();
var body:Object = new Object();
body.fontFamily = "Verdana";
body.textIndent = 0;
var heading:Object = new Object();
heading.fontSize = 16;
heading.textIndent = 0;
heading.leading = 10;
heading.letterSpacing = 0;
heading.fontWeight = "bold";
heading.color = "#333333";
heading.textAlign = "center";
var byline:Object = new Object();
byline.fontSize = 14;
byline.leading = 20;
byline.fontStyle = "italic";
byline.textAlign = "right";
css.setStyle(".heading", heading);
css.setStyle(".byline", byline);
css.setStyle("body", body);
var txtFld:TextField = new TextField();
txtFld.x =830;
txtFld.y =10;
txtFld.width = 100;
txtFld.multiline = true;
txtFld.wordWrap = true;
txtFld.selectable = false;
txtFld.embedFonts = true;
txtFld.autoSize = TextFieldAutoSize.LEFT;
txtFld.styleSheet = css;
txtFld.htmlText = "<body>";
txtFld.htmlText += "<span class='heading'>Text</span>";
txtFld.htmlText += "</body>";
addChild(txtFld);
trace("done");
}
}
}
Creating A Condition In Actionscript That Reads Xml?
I've got a flash file that is reading content from an xml file. Everything is working great but I want to create a condition that says if there's no url defined in the xml file don't allow the flash to display a url when clicked. Here's my actionscript:
[i]Stage.scaleMode = "noscale";
/////////////////
// Loading XML //
/////////////////
myXML = new XML();
myXML.ignoreWhite = true;
myXML.load("retailer.xml");
myXML.onLoad = function(_status) {
if (_status) {
tempxml = myXML.firstChild.childNodes;
var space = 5; // Space between items you can increase this to whatever
for (var i = 0; i<tempxml.length; i++) {
var item = list_mc.attachMovie("clip", "clip"+i, i); // In the library, rightclick on item and choose linkage. You'll see that our items are represented in the code the "clip" name
item._y = (item._height+space)*i; // This places our items on y axis
item.title_txt.text = tempxml[i].attributes.title; // For i<total, attaches a title i to our item
item.date_txt.text = tempxml[i].attributes.date; // For i<total, attaches a title i to our item
item.descr_txt.text = tempxml[i].attributes.description; // This attaches a description i to our item
item.url_txt.text = tempxml[i].attributes.url; // And this one a url i to our item
item.thumbHolder.loadMovie(tempxml.firstChild); // Attaches thumbnails to each item
item.btn.id = i;
item._alpha=75; // Sets an alpha = 50 to our items. This can be increased or decreased. It serves for the fade in/fade out effect
item.onRollOver = function() {
this.alphaTo(100, 1, "easeOutExpo"); // When I rollOver each item, alpha goes smoothly to 100
};
item.onRollOut = function() {
this.alphaTo(75, 1, "easeOutExpo"); // When I rollOut alpha goes back to 50 as it was. This value should be the same with the one above
};
item.onRelease = function() {
item.btn.getURL(this.url_txt.text,"_blank"); // When I click on an item, it opens an url (wich I set in the xml for each button) in a blank window of my browser
};
}
delete myXML;
}
};
////////////////////////////
// Setting our scroll bar //
// We'll call it dragger ///
////////////////////////////
targY = 50;
abstandDragger = -190; // If you resize the items, or whatever you'll have to modify this value in order to have your dragger in the right x position
dragger._x = mask_mc._width+abstandDragger;
dragger.onRollOver = function (){
this.colorTo("0xFFFFFF", 1, "easeOutExpo"); // The color code from here makes our dragger green. Change this to modify color
};
dragger.onRollOut = function (){
this.colorTo("0xFF6306", 1, "easeOutExpo"); // The color code makes our dragger grey as it is in fact. This should be the same as dragger's color as shape
};
dragger.onPress = function() {
startDrag(this, false, this._x, 0, this._x, mask_mc._height-this._height); // Doesn't allow our dragger to get out of some coordinates
};
dragger.onRelease = dragger.onReleaseOutside=function () {
stopDrag(); // Stops the mouse drag action
};
list_mc.setMask(mask_mc);
list_mc.onEnterFrame = function() {
scrollAmount = (this._height-mask_mc._height)/(mask_mc._height-dragger._height);
targY = -dragger._y*scrollAmount;
this._y -= (this._y-targY)/10; // Scroll delay - Ease. Change this value to experiment
};
/////////////////////////////////////
// Setting the mouse wheel support //
/////////////////////////////////////
var dragger:Object = new Object();
dragger.onMouseWheel = function(delta) {
if(this._y >= 3)
{
this._y -= delta;
}else{
this._y = 3;
}
if(this._y <= mask_mc._height-this._height)
{
this._y -= delta;
}else{
this._y = (mask_mc._height-this._height);
}
}
Mouse.addListener(dragger);
/////////
// End //
/////////
stop();
Here's my xml code:
<?xml version="1.0" ?>
<items>
<pic title="It's blah blah!" date="07/15/08" url="http://www.msn.com" description="We’re thrilled to announce our new baby blah blah blah!"></pic>
<pic title="Coming Soon" date="" url="" description="blah blah blah blah."></pic>
</items>
Looking To Create Menu Which Reads XML Files And...
In short, I'm looking to create a menu which reads in from an XML file and will "track" where it is. For instance if you're on frame is on page1-2.html it will show in the menu Topic 1 (drop down) Page 2.
I'm not sure what to call this and I've been searching for various tutorials to find the right thing. If anyone has any insight for a tutorial or direction on what it's "officially" called, I'd be grateful. Thanks!
Projector Reads Directories Differently Than SWFs?
Hi,
I'm running into a weird problem where my projector file loads external swf files fine in the directory where it's created, however, once moved to a different folder/hard-drive, loadMovie doesn't seem to find the external swfs. But, if the projector is compiled as a swf, it will load external files fine.
my current path is
PHP Code:
var myPath = "SWF/"+myFile+".swf"; //I've also tried "/SWF/"+myFile+".swf";
holder.loadMovie(myPath);
Any thoughts?
Al
Urgent FLA Reads XML Yahoo Feeds In Flash But Not Outside Of
Is this cause of that
<cross-domain-policy>
<allow-access-from domain=”*.whatever.com” />
</cross-domain-policy>
garbage?
I'm linking to Yahoo!'s Weather RSS feed using LoadVars. It all works great in Flash, but when I try to embed it on a page, even with script access on, it doesn't work.
Why is this?
This is due in like 20 minutes. (for a client)
[F8] Create A Function That Reads An Imported File
I have a file with x,y coordinates that creates a square,circle, and triangle. All I need is to create a function that will take those coordinates,(without me punching in eachone) and create what is on that file. All these shapes are made by lines.
[CS3] Trying Make Flash Scroller That Reads From XML Work
I've attached the code for download.
Essentially what I am trying to create is a flash program that will read from an XML file AND automatically scroll downward. Once it hits the bottom it will repeat from the top of it seamlessly.
It does read the XML so YAY on that...
Updating An Image File After Flash Reads It
I have a Flash app that reads in an external image and displays it (through a standard use of a MovieClipLoader). In an external gobetween program, an update for this image will arrive every 5-10 seconds. This external driver passes the filename and some other information to Flash via an XML Socket. What I hoped to accomplish, is to:
1) Create an external image file - jpg (I'd really like to pass the actual image in via XML, but I don't think that's do-able - although I'd be happy if I'm wrong).
2) Send an XML Message to the Flash app to load the image, display, etc...
3) When the next image comes in, overwrite the same external image file
4) goto step 2 and repeat ad nauseum (or untill nauseous, whichever comes first).
Problem is, Flash doesn't "let go" of the image file when it loads it, so I can't update that one. Does anyone know how to "close" the file so other apps can access it, like you would in C, Java, etc..., or am I asking the impossible.
Thanks in advance,
Matt
A Banner (reads Images From XML And Special Effects)
Hello All
my name is Gadix
I am new to this forum, and new to Action Script
i have a programming background
please i need ur help to do the following as fast as possible
I need to make a banner with these specifications:
1- read the image path from XML file
2- display images in random sequences
3- add special effects to images and special effects when moving from one image to another
please i need this sample script very urgently
thank you very much for your help in advance
Dynamic Text: Reads Fine Until Previewed
Hey Everyone-
So im having this little problem with Dynamic text. I want to embed my normal text so it will read the correct font on other peoples computers. The about me, intro, etc... None of this is being animated by the way.
When i go to change it from static text to dynamic, it reads fine in flash, but when i go to preview it, it only reads the first line in any text box and the rest is missing.
These are my settings:
Dynamic Text
anti-alias for readabillity (it does the same with the animation option)
embeded for upper and lower case
If you have any ideas or solutions, i would really appreciate it!
Thanxs :)
-Liz
Need A Quick Fix With XML Listbox. When I Scroll, All Mc Text Reads Undefined?
Just take a look at this please (I don't know enough about XML to fix this....) It's ALMOST works properly.. so there has to be a simple error i'm over looking. All the text / links load in properly at first, but then when you try to scroll the list all the text / links change so they all read 'undefined'. I've tried changing when i load the XML as well as where i load it from in the flash file, thinking that somehow there may be a path issue or something of the sort.... but i can't tell..
Any help would be much appreciated. TIA
MX Stops Reading Variable When It Reads &'quot'; On External HTML Formatted TXT.
Hi guys,
My movie loads external txt (html formatted) in a preloader using:
myVars = new LoadVars();
myVars.load("http://127.0.0.1:8080/hl/v3/var.txt");
It works ok (finally) and i can display the text in my txtWindowsMC using this:
onClipEvent (load){
TheText = _level0.PreTxtSound1.myVars.varproposta;
TheTitle = _level0.PreTxtSound1.myVars.vartitprop;
InstanceName_0.html = true;
InstanceName_0.htmlText=this.TheText;
InstanceName_1.html = true;
InstanceName_1.htmlText=this.TheTitle;
}
Only problem is that i´m displaying html text in <b>portuguese</b> and it has lots of <b>"ç", "ã", """ and "í".</b>
Looks like Flash stops reading the variables on the txt file when it reaches a <b>'&'</b>...
For example, flash reads:
"Apresenta&'ccedil;'&'atilde;'o"
and display:
"<b>Apresenta</b>" instead of "<b>Apresentação</b>".
Is there any way to make MX understand this <b>&codes</b> ? When i was loading txt using loadVariablesNum() this was not happening.
Flash Button "get Url"works, But Address Bar Reads Incorrectly
Please can someone help. I have created a flash button which has a on click get url action, this link works and takes you to the correct page (page2.html), but the internet explorer address bar does not change its path. If you goto http://www.geocities.com/gavin_munday/ and click on the test button at the top of the page the page will change but the path name in the internet explorer address bar stays the same! Page2.html is in a directory /test so I would have thought it should read http://www.geocities.com/gavin_munday/test/page2.html. why is this? thanks for your help in advance.
Gavin.
DATE() Reads Date From Server Or User?
2 questions about DATE() function:
1º The value is taken from the date setted on the server or the user machine?
2º How do i break apart the value to check each value? I mean, day, month, etc.
Im working on a quiz that has to display a different question every 15 days. Im loading them from a TXT. I´m missing that part of the code.
Thanks for any help.
Dynamic Text Always Reads Text As Html?
I have an area where I want to show the text from a text file with some html, in one part I want the text to be read correctly and make the links (this works) in the other part I want the html to be shown in the dtext box. But even if the render text as html isnt checked and if you put
textbox.html = false
it still doesnt show the html
I mostly am just using links so in the text file it says
&membertext1= here is a link
<a href="www.adobe.com" target="_blank">click</a>&
One area should read - this works
here is a link click
in the other
here is a link <a href="www.adobe.com" target="_blank">click</a>
but it still reads like the one above.
Any ideas how to achieve this?
Always Reads Text Fields As HTML Text
I have an input field in my movie that I want to be able to type in a number, and use the number in actionscript.
If I set the variable with actionscript (count=60;) it works, but if I type a number into the textbox and trace the variable it will trace as
<p align="left"><font face="Arial_14pt_st" size="14" color="#000000" letterSpacing="0.000000" kerning="1">60</font></p>
HTML is OFF in the properties panel - also tried setting it to false in actionscript which made no difference.
|