Jump to content


Photo

Texto Dinamico Sem Identificar O Objeto


  • Faça o login para participar
9 replies to this topic

#1 ernestop

ernestop

    Novato no fórum

  • Usuários
  • 10 posts
  • Sexo:Masculino
  • Localidade:Rio de Janeiro

Posted 23/03/2010, 22:29

Olá Galera,

Bem sou programador de asp a alguns anos e estou começando a aprender AS e Flash... peguei um template e fiquei curioso demais para saber como que se faz isso... passar um texto/formatação para um objeto dentro do flash sem colocar o nome desse objet, somente colocando cada texto referente a uma variavel... nessa viajei legal... alguma boa alma pode me explicar ou exemplificar esse trem?

O código no html é esse abaixo... eu saquei que ele coloca cada conteudo numa variavel mas como passa isso dentro do flash para um determinado object sem declarar o nome no infeliz... essa eh a questão.


header1=<font color="#B24851"><b>newsletter 234</b></font> &header2=<font color="#798707"><b>ultimos projetos</b></font> 
&header3=<font color="#B24851"><b>on line solutions</b></font> 
&title1=please enter your email: &but1= Submit 
&txt1=Turpis. Integer rutrum ante lacus.Quisque nulla dolor sit Vestibulum libero nisl, porta vel, scelerisque eget. <b><u><a href="">more</a></u></b> 
&txt2=<b><a href="">1 </a></b> <b><a href="">2 </a></b> <b><a href="">3 </a></b> <b><a href="">4 </a></b> <b><a href="">5 </a></b> <b><a href="">6 </a></b> <b><a href="">7 </a></b> <b><a href="">8 </a></b> <b><a href="">9 </a></b> 

&txt3=<b>Aenean auctor wisi et urna.</b> Aliquam erat volutpat. Duis ac turpis. Integer rutrum ante eu acus.Quisque nulla. Vestibulum libero nisl, porta vel, scelerisque eget. Aliquam  eu acus.  <b><u><a href="">more</a></u></b>
<br><br><br><br>
<b>Donean auctor wisi et urna lorem. </b> Aliquam erat volutpat. Duis ac turpis. Integer rutrum ante eu acus.Quisque nulla. Vestibulum libero nisl, porta vel, scelerisque eget. Aliquam  eu acus trum ante eu acu    <b><u><a href="">more</a></u></b>
<br><br><br><br>
<b>Aenean auctor wisi et urna.</b> Aliquam erat volutpat. Duis ac turpis. Integer rutrum ante eu acus.Quisque nulla. Vestibulum libero nisl, porta vel, scelerisque eget. Aliquam  eu acus.  <b><u><a href="">more</a></u></b>


Como o arquivo é meio grandinho tah aki o link

Edição feita por: ernestop, 23/03/2010, 22:30.


#2 ninhovip

ninhovip

    Interspire.com.br

  • Banidos
  • PipPipPip
  • 212 posts
  • Sexo:Masculino
  • Localidade:Recife - PE
  • Interesses:PHP, MySQL, Web 2.0, jQuery, Flash/AS, Photoshop

Posted 05/07/2010, 01:53

Olá Galera,

Bem sou programador de asp a alguns anos e estou começando a aprender AS e Flash... peguei um template e fiquei curioso demais para saber como que se faz isso... passar um texto/formatação para um objeto dentro do flash sem colocar o nome desse objet, somente colocando cada texto referente a uma variavel... nessa viajei legal... alguma boa alma pode me explicar ou exemplificar esse trem?

O código no html é esse abaixo... eu saquei que ele coloca cada conteudo numa variavel mas como passa isso dentro do flash para um determinado object sem declarar o nome no infeliz... essa eh a questão.


header1=<font color="#B24851"><b>newsletter 234</b></font> &header2=<font color="#798707"><b>ultimos projetos</b></font> 
&header3=<font color="#B24851"><b>on line solutions</b></font> 
&title1=please enter your email: &but1= Submit 
&txt1=Turpis. Integer rutrum ante lacus.Quisque nulla dolor sit Vestibulum libero nisl, porta vel, scelerisque eget. <b><u><a href="">more</a></u></b> 
&txt2=<b><a href="">1 </a></b> <b><a href="">2 </a></b> <b><a href="">3 </a></b> <b><a href="">4 </a></b> <b><a href="">5 </a></b> <b><a href="">6 </a></b> <b><a href="">7 </a></b> <b><a href="">8 </a></b> <b><a href="">9 </a></b> 

&txt3=<b>Aenean auctor wisi et urna.</b> Aliquam erat volutpat. Duis ac turpis. Integer rutrum ante eu acus.Quisque nulla. Vestibulum libero nisl, porta vel, scelerisque eget. Aliquam eu acus. <b><u><a href="">more</a></u></b>
<br><br><br><br>
<b>Donean auctor wisi et urna lorem. </b> Aliquam erat volutpat. Duis ac turpis. Integer rutrum ante eu acus.Quisque nulla. Vestibulum libero nisl, porta vel, scelerisque eget. Aliquam eu acus trum ante eu acu <b><u><a href="">more</a></u></b>
<br><br><br><br>
<b>Aenean auctor wisi et urna.</b> Aliquam erat volutpat. Duis ac turpis. Integer rutrum ante eu acus.Quisque nulla. Vestibulum libero nisl, porta vel, scelerisque eget. Aliquam eu acus. <b><u><a href="">more</a></u></b>


Como o arquivo é meio grandinho tah aki o link



Ernesto, o AS trabalha com a classe LoadVars,
esse texto que você ver como: &title1=conteudo& é a variavel title1, porém eu não aconselho usar variável com numero no final , sempre dá erro.

Para ler esta variavel vc deve fazer o seguinte:


function Wmonline(){

campo_status.text="Carregando..."; //Coloca no campo de status carregando...

var ler = new LoadVars(); //criou o objeto

ler.load("arquivo.asp"); //iniciou carregamento do arquivo

ler.onLoad=function(ok){ //ao ler
if(ok){ //se ele existir

campo.text=ler.title1; //campo recebe o conteudo da variavel title1, tente mudar o nome da variavel

campo_status.text=""; //limpa o campo de status

}else{
campo_status.text="Arquivo não existe."; //o arquivo nao existe.
}
}

}

Wmonline(); //executando a funcao


os campos vc põe dinamic text, de preferencia no instance name coloque a extensao tipo campo_txt, mas no caso acima seria sem o _txt no instance name.

t+
Interspire Brasil
Tudo p/ Shopping Cart & E-mail Marketer BR
(usehost) Servidores VPS Cloud Computing
SMTP Dedicado | CPanel/WHM | WHMCS4
usehost.com.br | executtivo@msn.com | @filipemtro

#3 aSmeriaWer

aSmeriaWer

    Novato no fórum

  • Usuários
  • 4 posts
  • Sexo:Não informado
  • Localidade:Meu pc

Posted 08/08/2011, 20:56

These days every little thing calls for income and when we are small on funds it can depart us in a quite tough spot. When you are confronted with the tension of not becoming capable to meet your fiscal commitments then you may be left with little option but to technique cash advances a payday mortgage direct loan provider.

There are a big range of payday loan direct lender organizations all around these days and this is mostly simply because there is a considerable desire for these income loans. With far more and much more payday loan men and women experience the pressures of tough financial instances an rising number are needing some short phrase monetary relief with money advance loans.

Payday loan immediate loan company agencies have received a bit of a shake up not too long ago payday loan with new legislation currently being brought in to safeguard borrowers from those unscrupulous lenders who looked to consider benefit of borrowers and basically give the payday loan industry a negative identify. These new regulations, even though different from state to state, have established much better terms for customers payday loan and now imply that payday mortgage direct lender businesses are now restricted in regard to how considerably they can loan and how a lot they are able to charge their clients.

When people need cash in a hurry, in most situations a payday loan immediate payday loans loan company is their only alternative. Lender loans can take a extended time to method and generally these greater loan companies will not permit folks to borrow a little cash amount. There is also a substantial amount payday loans no credit check of documentation necessary in purchase to get a mortgage from a bank and applying for these loans can be a true trouble.

When you acquire dollars from a payday mortgage direct loan provider you will be granted almost instant approval and find the money from your income advance in your account inside of payday loans 24 hrs. Simply because the dollars improvements presented by a payday mortgage immediate lender demand only your paycheck as collateral, you will not be topic to rigorous credit checks or be necessary to submit a mountain of paperwork to assist your loan application.

To use for a mortgage via a payday loan immediate cash advances lender all you need to do is full a straightforward application type. These programs can be accomplished both on-line or in individual and will be accredited practically quickly. When you use for your cash advance by way of payday loans a payday loan direct loan provider you will will need to full a loan repayment type. This is simply because these loans generally require to be repaid in the month and so these repayment agreements authorize the loan company to right debit your exceptional mortgage payday loan stability from you bank account on the because of date. A lot of men and women discover this repayment strategy extremely convenient as they do not require to keep in mind when their repayments are due and as a result, will not chance any overdue costs that may possibly be related with these loans.

#4 HaroNism

HaroNism

    Super Veterano

  • Usuários
  • 15385 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 15/09/2017, 17:30

Prednisone For Poison Ivy For Sale cialis Canadian Erectile Dysfunction Pills Cialis Per Donna Thecanadiandrugstore cialis price Dog Cephalexin Reaction
Want To Buy Dutasteride cialis Viagra Farmacia Costo
Propecia United Pharmacies
Fluconazole Without Prescription <a href=http://cialtobuy.com>cialis online</a> Kamagra Us Customs

#5 HaroNism

HaroNism

    Super Veterano

  • Usuários
  • 15385 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 03/10/2017, 04:06

Best Online Viagra Reviews Viagra Y Cialis Cual Es Mejor Cialis Online Fastest Delivery viagra Cialis Professional Belgique Libre Discount Isotretinoin In Usa Drugs With Free Shipping
Cialis Da 20 Mg Compra Cialis Generico En Espana viagra prescription Buy Isotretinoin Us Free Shipping Buy 25mg Viagra Online
Amoxicillin Allergy Diagnosis viagra Cialis Tadalafil Prix Du Tadalis Sx Get Progesterone Menopause

#6 RonsisM

RonsisM

    Super Veterano

  • Usuários
  • 15724 posts
  • Sexo:Masculino
  • Localidade:Plovdiv

Posted 03/10/2017, 05:52

Glucotrol Buy With Out 100 mg levitra Lipitor Cephalexin
Online Provera Ups Viagra Veloce Brand Pfizer Viagra Online levitra soft tabs Buy Alli Diet Pills Online Buy Viagra Dapoxetine Online Get A Lavitra Script

#7 HaroNism

HaroNism

    Super Veterano

  • Usuários
  • 15385 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 11/10/2017, 01:25

Compra Viagra Calidad Discount On Methylprednisolone 60 4 Mg viagra Cherche Viagra Ou Cialis Levitra Generico Farmacias Del Ahorro
How Does Amoxicillin Work Viagra Cialis Forum Cialis Generique Tadalafil 20 Mg cialis online How To Get Cialis Propecia Oily Skin
Kamagra 100 Mgs Buying Viagra In Canada Bentyl Dicyclomine No Doctors Consult viagra Cheapest Prices On Generic Cialis Comprar Cialis En Espana Sin Receta Real Cod Only Stendra No Prescription Medication

#8 HaroNism

HaroNism

    Super Veterano

  • Usuários
  • 15385 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 28/10/2017, 17:23

Viagra On Line Venta De Viagra Levitra Cialis levitra prices Como Comprar Cialis Sin Receta Posologia Viagra Generico
Order Fluoxetine Online No Prescription viagra Propecia Opinion 1 Mg Come Usare Dapoxetina Propecia Nioxin Follicle Booster
Amoxicillin On Empty Stomach I Want To Buy Amoxicillin buy levitra 10 mg Cialis 5 Quotidien Finasteride Nausea Propecia
In Half Amoxicillin Tadalis Sx Soft Viagra Cheap levitra coupon free trial Domperidone No Rx Levitra Billig 200 Mg Generic Viagra Pills
Cialis 800 Canadian Ed Selection Zithromax Muscle Weakness viagra Foro Cialis Viagra Metformin From Canqada Kamagra Flavoured Soft Tabs 100mg

#9 HaroNism

HaroNism

    Super Veterano

  • Usuários
  • 15385 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 13/11/2017, 06:10

Kamagra Generic Canada Cialis Farmacia Online Comprar Cialis Foro buy cialis Viagra Wirkt Nicht Mehr
Doxycycline No Prescription Us viagra online Prix Vente Xenical Pharmacie Progesterone Price

#10 HaroNism

HaroNism

    Super Veterano

  • Usuários
  • 15385 posts
  • Sexo:Masculino
  • Localidade:San Miguel de Tucuman

Posted 10/02/2023, 18:11

ivermectin human dosage Each patient received no more than two embryos at one time
Until real action is taken to show that a concern for humanity must be balanced with commerce, we don t want our music or the music we made together to be on the same platform generic cialis online europe com 20 E2 AD 90 20Viagra 20Barbati 20Emag 20 20Viagra 20Tablet 20Use 20In 20Hindi viagra barbati emag I thought it was a homer, Stanton said
The mechanism of chemotherapeutics is complex, including affecting the chemical structure of DNA, inhibiting nucleic acid synthesis, acting on nucleic acid transcription and DNA replication and interfering with mitotic tubulin synthesis Xu et al best site to buy priligy




1 user(s) are reading this topic

0 membro(s), 1 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq